Commit Graph

14 Commits

Author SHA1 Message Date
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