Commit Graph

46 Commits

Author SHA1 Message Date
DarthSim
14bb84fa1f Merge branch 'master' into version/4 2025-08-20 16:40:29 +03:00
DarthSim
e1764ad580 Rename processing steps: importColorProfile -> colorspaceToProcessing, exportColorProfile -> colorspaceToResult 2025-08-20 16:35:37 +03:00
Victor Sokolov
15bd00b221 IMG-51: router -> server ns, handlers ns, added error to handler ret val (#1494)
* Introduced server, handlers, error ret in handlerfn

* Server struct with tests

* replace checkErr with return
2025-08-20 14:31:11 +02:00
DarthSim
e5c72270bb Don't check dimensions for vector formats; Simplify guard scale of vector images 2025-08-16 19:54:50 +03:00
DarthSim
cac693c2db Merge branch 'master' into version/4 2025-08-16 18:14:41 +03:00
DarthSim
7bdae0fb0a Fix X-Result-Height debug header for animated images 2025-08-16 18:12:05 +03:00
DarthSim
6d36ccba6d Fix getImageSize for animated images 2025-08-16 18:06:16 +03:00
Victor Sokolov
d47eeee6ad IMG-44: move skip to processing, remove imath.Min/Max (#1485)
* Removed imath.Min/Max

* Skip goes to processing

* no svg_processing error category

* should report SVG
2025-08-15 12:38:16 +02:00
Victor Sokolov
09a25f8966 IMG-23: Replace imagemeta with imagedetect (#1483)
* Replace imagemeta with imagedetect

* Removed imagemeta package

* 1 page in the check
2025-08-13 11:49:48 +02:00
Victor Sokolov
f7a13c99de IMG-13: separate http.Headers from ImageData (#1475)
* Separate headers from ImageData

* processing.Result
2025-08-06 16:46:35 +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
Victor Sokolov
efbea5fde5 New imagedata interface (#1471) 2025-07-31 18:18:13 +02:00
DarthSim
3550042a16 Apply new errors processing to more code parts 2025-02-18 17:35:13 +03:00
DarthSim
d9abf2d3d7 Fix animated JPEG XL support 2024-12-08 21:07:36 +03:00
DarthSim
3f4edb91f7 JPEG XL (JXL) support 2024-12-08 19:02:08 +03:00
DarthSim
09e542517a Extract finalizing to a separate pipeline; Fix watermark colors on non-sRGB images 2024-04-18 19:51:40 +03:00
DarthSim
59ca483aa7 Remove LineCache diring animation images processing (issue is fixed in vips 8.15.2) 2024-03-22 17:01:29 +03:00
DarthSim
880d16f457 Reduce memory usage when scaling down animated images 2024-01-27 18:34:21 +03:00
DarthSim
22e16ebe56 Fix loading animated images with a huge number of frames 2023-12-20 19:34:29 +03:00
DarthSim
707a24e59d HEIC saving support 2023-11-18 21:03:17 +03:00
DarthSim
756958d2ca Fix crashes during processing of large animated WebPs 2023-09-08 17:07:09 +03:00
DarthSim
1da86887d4 Fix max_bytes option 2023-04-19 17:20:32 +03:00
DarthSim
4fae754071 Fix crashes in cases where the max_bytes processing option was used and image saving failed 2023-04-19 17:04:36 +03:00
DarthSim
2c28252966 Fix the way the dpr processing option affects offsets and paddings 2023-04-16 20:56:17 +03:00
DarthSim
26cd81dcf3 Fix max_animation_frames option 2023-02-23 21:26:39 +03:00
DarthSim
9416168575 Security processing options 2023-02-23 21:11:44 +03:00
DarthSim
4bf1a27abd Add extend_aspect_ratio processing option 2023-02-19 18:58:30 +03:00
DarthSim
ca9fb6c586 Optimize memory usage in some scenarios 2023-01-04 00:23:06 +03:00
DarthSim
1ededbb11f Add IMGPROXY_MAX_ANIMATION_FRAME_RESOLUTION config 2022-11-29 18:25:38 +06:00
DarthSim
20039f49a5 Better error metrics 2022-07-20 16:09:07 +06:00
DarthSim
067481dc6b Softer preferred formats check 2022-07-18 19:45:01 +06:00
DarthSim
97e15c717d Fix sizes of GIF and ICO before save 2022-07-18 18:49:58 +06:00
DarthSim
f368ed13e9 IMGPROXY_PREFERRED_FORMATS config 2022-07-18 17:58:59 +06:00
DarthSim
a44e8dc94b Check timeout automatically 2022-06-23 17:23:04 +06:00
DarthSim
8f91fa5bd4 Don't fail if can't load thumbnail 2022-06-10 16:52:35 +06:00
DarthSim
8a536d69a3 Better animation detection 2022-06-10 15:27:25 +06:00
DarthSim
bab2dbe4b9 Fix lint errors 2022-05-20 22:33:21 +06:00
DarthSim
13c14c25e9 Fallback from AVIF to JPEG/PNG if one of the result dimensions is smaller than 16px 2022-05-20 21:18:07 +06:00
DarthSim
91a3671f9d Add X-Result-Width and X-Result-Height to debug headers 2022-04-18 16:45:34 +06:00
DarthSim
e1a69c5d95 IMGPROXY_ENFORCE_THUMBNAIL config & enforce_thumbnail option 2022-04-14 22:33:09 +06:00
DarthSim
7a968d5fed Crop between scale-on-load and scale 2022-01-17 18:39:59 +06:00
DarthSim
cf884f860c Improved ICC profiles handling 2021-12-07 14:50:38 +06:00
DarthSim
a55776e561 Min libvips version is 8.10 2021-11-23 18:27:26 +06:00
DarthSim
38ca14230d Add origin width & height to debug headers 2021-10-12 16:56:04 +06:00
DarthSim
7709b74a5e Bump version 2021-09-30 20:23:30 +06:00
DarthSim
2ea1466d96 Global refactoring 2021-05-07 17:10:21 +06:00