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

23 Commits

Author SHA1 Message Date
DarthSim
45229596e0 Decouple optopns parser from options 2025-09-25 23:37:28 +06:00
DarthSim
0426e97e3f Universal options 2025-09-24 00:41:12 +06:00
DarthSim
a0942b2368 Define processing.CalcCropSize globally 2025-09-23 19:07:40 +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
a63778e3cf Add a huge comment on DPR compenation in calcScale 2025-09-20 00:27:01 +03:00
DarthSim
5ac82cec34 Fix enlarge protection when image data is not provided 2025-09-19 23:07:02 +03:00
Viktor Sokolov
833f2bb082 pipeline context changes, Runner 2025-09-18 23:24:23 +06:00
DarthSim
e5c72270bb Don't check dimensions for vector formats; Simplify guard scale of vector images 2025-08-16 19:54:50 +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
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
a5a587eb39 Add IMGPROXY_MAX_RESULT_DIMENSION config and max_result_dimension processing option 2025-06-06 19:29:39 +03:00
DarthSim
810cad5d26 Calculate all sizes at the start of processing pipeline 2025-06-05 20:28:09 +03:00
DarthSim
08150dcc16 Add a comment about dprScale for future historians 2025-06-04 19:37:41 +03:00
DarthSim
b90f73c4b5 Typo 2023-11-17 16:43:24 +03:00
DarthSim
890b4e3f7d Limit vector image sizes to IMGPROXY_MAX_SRC_RESOLUTION 2023-09-05 21:10:28 +03:00
DarthSim
9b65b7257d Apply dprScale after min width/height 2023-04-18 18:52:20 +03:00
DarthSim
2c28252966 Fix the way the dpr processing option affects offsets and paddings 2023-04-16 20:56:17 +03:00
DarthSim
fff164f45a Add zoom option 2022-01-18 16:16:14 +06:00
DarthSim
7a968d5fed Crop between scale-on-load and scale 2022-01-17 18:39:59 +06:00
DarthSim
b27f0d5712 DPR does not enlarge image unless enlarge is true 2021-10-12 16:56:03 +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