1
0
mirror of https://github.com/imgproxy/imgproxy.git synced 2025-12-23 22:11:10 +02:00
Commit Graph

1878 Commits

Author SHA1 Message Date
Viktor Sokolov
5db788f2b1 ierrors -> wraperr 2025-08-03 03:31:23 +02:00
Victor Sokolov
3d14c85de3 IMG-13: http.Header, *ImageData -> ImageData (#1473)
* ImageData.Headers()

* *ImageData -> ImageData

* withmatt -> httpheaders of our own

* .Clone() headers, nil

* NewFromBytesWithFormat -> nil

* svg.go -> do not Clone()
2025-08-01 15:44:21 +02:00
DarthSim
e40851e460 Merge branch 'master' into version/4 2025-07-31 23:08:52 +03:00
DarthSim
8967bf7f82 Fix Vary header when JPEG XL supoprt detection is enabled 2025-07-31 23:08:01 +03:00
DarthSim
86b727b706 Update changelog 2025-07-31 23:04:43 +03:00
DarthSim
80fe152509 Replace imgagedata.ImageData.meta with format; Add imagedata.NewFromBytesWithFormat 2025-07-31 19:59:22 +03:00
Viktor Sokolov
c59ef97a2a Remove head filter 2025-07-31 22:30:18 +06:00
Victor Sokolov
efbea5fde5 New imagedata interface (#1471) 2025-07-31 18:18:13 +02:00
Victor Sokolov
dd3b430f87 transport isolated, imagefetcher introduced (#1465) 2025-07-25 12:26:21 +02:00
Victor Sokolov
0e0714b5a1 async reader + test (#1464) 2025-07-25 11:29:53 +02:00
Viktor Sokolov
a95c0bcd66 Use clang-format-20 on CI 2025-07-24 13:21:21 +02:00
Victor Sokolov
aa91342686 IMG-33: adds simple integration tests for image.Load() (#1462)
* Load() integration test

* Added test-images as submodule
2025-07-23 19:09:49 +02:00
Viktor Sokolov
676cd7088c Removed ico.go and bmp.go 2025-07-23 19:47:22 +06:00
Victor Sokolov
01439f43b0 IMG-37: improve OSS .devcontainer (#1460)
* OSS .devcontainer with all the tools

* .air.toml

* BASE_IMAGE arg

* Go with unzip test-images

* Removed unused commit
2025-07-23 19:42:38 +06:00
DarthSim
81257bcaad Update changelog 2025-07-17 16:29:29 +03:00
DarthSim
4d487c2503 Update base Docker image 2025-07-17 16:26:26 +03:00
DarthSim
08678c8d49 Add real check for icoload_source 2025-07-11 22:25:32 +03:00
Victor Sokolov
b18b678df2 IMG-25: load ICO files (#1458)
* disk_sink + fixes

* Always 4 bands for v3+ bmp on save

* bmpsave fixed (w/o orientation)

* fixed ico for target save

* icosave.c

* Removed leftover comments

* icoload.c

* Row buffer (skripatch) is not needed anymore

* Minor fixes for icoload/save

* Use wips_image_write instead of vips_copy

* Forgotten &

* Check resulting dimensions

* -debug printf
2025-07-12 00:00:08 +06:00
Victor Sokolov
0567655437 IMG-29: Save ICO using target (#1453)
* disk_sink + fixes

* Always 4 bands for v3+ bmp on save

* bmpsave fixed (w/o orientation)

* fixed ico for target save

* icosave.c

* Resolved conflicts

* Removed leftover comments

* Correct data_size
2025-07-11 22:39:12 +06:00
DarthSim
07b5842191 Bump version v3.29.1 2025-07-11 18:30:24 +03:00
Victor Sokolov
90376b7261 IMG-28: Save bmp via target (#1452)
* RLE fixes

* disk_sink + fixes

* Always 4 bands for v3+ bmp on save

* bmpsave fixed (w/o orientation)

* fixed ico for target save

* cancel() comment

* No orientation anymore

* No orientation

* Fixed non-alpha save bug

* Fixed rebase artifact

* Fixed condition
2025-07-11 19:07:39 +06:00
Viktor Sokolov
762177b63c vips_source_read leftovers 2025-07-11 15:21:14 +03:00
Victor Sokolov
61f08c20ac Fix: 24 bit image with non-zero alpha mask treated fine (#1457)
* bytes per pixel

* Fix alpha condition

* has_alpha logic

* Fixes condition bpp

* Minor
2025-07-11 18:08:56 +06:00
DarthSim
c3eb1b9633 Optimize loading bottom-up BMPs 2025-07-11 17:11:11 +06:00
DarthSim
165915a79f Freeze github.com/tdewolff/parse 2025-07-11 11:43:29 +03:00
Victor Sokolov
b5242725d5 IMG-24: load BMP via source (#1451)
* bmpload.c

* #ifdef VIPS_META_PALETTE

* int32 height/width

* Separate #ifdef for VIPS_META_BITS_PER_SAMPLE

* RLE fixes

* bufsize

* += fix

* Move rel to x

* Allocate load buffer in load()
2025-07-09 22:26:55 +06:00
Sergei Aleksandrovich
c0e61be05d Merge pull request #1441 from imgproxy/img-12-experiment-close-callback
img-12: load JPEG from source (bytes.Reader) instead of memory
2025-07-08 19:40:56 +06:00
DarthSim
a833c01444 Bump version v3.29.0 2025-07-08 15:48:53 +03:00
DarthSim
7e66b63f35 Set GOFLAGS: -buildvcs=false for lint in CI 2025-07-07 20:26:12 +03:00
DarthSim
ebc4b6af1f Update deps 2025-07-07 20:07:48 +03:00
DarthSim
f3c78a028a Remove forgotten debug log 2025-07-05 20:56:32 +03:00
DarthSim
1799ac7eb7 Add support for %current_version variable in IMGPROXY_USER_AGENT 2025-07-05 20:53:17 +03:00
DarthSim
3178e2b21d VIPS_CEIL => ceil 2025-07-02 20:02:44 +03:00
Viktor Sokolov
f971fb428a %v 2025-07-02 12:11:36 +02:00
Viktor Sokolov
22778f020d varargs for vipsError 2025-07-02 11:59:49 +02:00
Viktor Sokolov
99cdb54411 vipsError 2025-07-02 11:48:53 +02:00
Viktor Sokolov
7561b1bb51 vips_error_go 2025-07-02 11:22:47 +02:00
DarthSim
7884425810 Update changelog 2025-06-30 18:50:43 +03:00
DarthSim
7948ffa31b Fix "Webp effort can't be greater than..." error 2025-06-30 18:35:43 +03:00
DarthSim
91abc6f385 Merge branch 'feature/webp-effort-preset' 2025-06-30 18:31:19 +03:00
DarthSim
92a281f834 Simplify WebP preset config 2025-06-30 18:28:31 +03:00
Viktor Sokolov
2fcf9ff0cc AsyncSource -> ImgproxySource 2025-06-30 15:35:20 +02:00
Viktor Sokolov
27e867141e All methods replaced with source load 2025-06-27 17:09:14 +02:00
Viktor Sokolov
55d5113c56 Extracted everything to source.* 2025-06-27 16:49:57 +02:00
Viktor Sokolov
ec5e4b2aae Load JPEG from source instead of memory 2025-06-27 13:21:45 +02:00
Sergei Aleksandrovich
22305da24e Merge pull request #1440 from imgproxy/img-9-update-dd
dd-trace-go -> v2
2025-06-24 22:16:27 +06:00
DarthSim
3207dd6099 Disable Datadog startup logs by default 2025-06-24 19:04:19 +03:00
Viktor Sokolov
56f3600e7c dd-trace-go -> v2 2025-06-24 15:38:31 +02:00
DarthSim
c3c560c1e4 Update golangci-lint to 2.1.6 in CI 2025-06-11 16:53:34 +03:00
DarthSim
3c4a75a709 Remove the IMGPROXY_SVG_FIX_UNSUPPORTED config. The problem it was solving is now fixed in librsvg 2025-06-11 16:45:25 +03:00