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

62 Commits

Author SHA1 Message Date
DarthSim
3f2b019721 Get rid of security.Options. Use security.Checker directly with options.Options 2025-11-14 14:09:43 +06:00
Victor Sokolov
ce2bc83ce7 SVG instance (#1551) 2025-10-03 16:48:37 +02:00
DarthSim
6c884f42f1 Standartize loading functions; Refactor processing.scaleOnLoad 2025-09-29 17:00:37 +06:00
DarthSim
cc535a5214 Standartize saving functions 2025-09-29 17:00:37 +06:00
DarthSim
0426e97e3f Universal options 2025-09-24 00:41:12 +06:00
DarthSim
b9cbc0f97b Don't rely on global config in processing 2025-09-23 19:07:08 +03:00
Victor Sokolov
ba73b16c39 IMG-59: processing instance (#1533)
* lazy processing test

* Processor instance

* Fixes to prepare.go
2025-09-23 15:55:04 +02:00
DarthSim
89821daa9f Migrate from logrus to log/slog 2025-09-21 20:13:27 +06:00
DarthSim
7ebf913f98 Expose runner from pipeline context 2025-09-18 20:48:22 +03:00
Viktor Sokolov
833f2bb082 pipeline context changes, Runner 2025-09-18 23:24:23 +06:00
Victor Sokolov
355e3c506e IMG-56: Security instance (#1524)
* Security instance

* Security -> Checker
2025-09-12 13:52:47 +02:00
Victor Sokolov
01327c1cce integration.Suite (#1518) 2025-09-09 16:25:45 +02:00
DarthSim
11a17aea33 Provide actual ctx and processing options to watermark.Get in applyWatermark 2025-09-05 18:22:56 +03:00
Victor Sokolov
37a6ea2bf7 IMG-49: Get rid of global watermark image and fetcher (#1515)
* Get rid of global watermark image

* imagedata.Factory, removed global Fetcher
2025-09-05 16:22:57 +02:00
DarthSim
7aec46f146 processing.transformAnimated doesn't need imgdata 2025-09-02 19:39:18 +03:00
DarthSim
ac48257772 Refine processing.ProcessImage 2025-09-02 19:52:56 +06:00
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