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

37 Commits

Author SHA1 Message Date
DarthSim
6c884f42f1 Standartize loading functions; Refactor processing.scaleOnLoad 2025-09-29 17:00:37 +06:00
DarthSim
45229596e0 Decouple optopns parser from options 2025-09-25 23:37:28 +06:00
DarthSim
af63aba7a4 Fix watermarks 2025-09-25 15:47:00 +03: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
7ebf913f98 Expose runner from pipeline context 2025-09-18 20:48:22 +03:00
DarthSim
b5d2cce37a Fix cyrillic C 2025-09-18 20:32:35 +03:00
Viktor Sokolov
833f2bb082 pipeline context changes, Runner 2025-09-18 23:24:23 +06:00
Victor Sokolov
4b05e87274 IMG-57: introduce processing options factory (#1526)
* Intoduced options.Factory

* ProcessingOptionsFactory in processing and watermark

* Clone with testutil.Helper
2025-09-16 17:04:21 +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
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
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
750fdddc72 Clenup some smell 2024-11-22 01:36:58 +03:00
DarthSim
e7e7a43bb6 Refactor gravity a bit 2024-11-20 19:43:57 +03:00
DarthSim
b43c6a7db7 Fix watermark replication across animation frames 2024-04-24 21:55:16 +03:00
DarthSim
97217949a7 Fix watermarks overlapping animation frames in some cases 2024-04-24 21:42:29 +03:00
DarthSim
df75177481 Replace WatermarkOptions.Gravity with GravityReplicate 2024-04-24 19:35:16 +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
8cb93f8915 Fix relative watermark offsets when watermark is replicated 2023-12-02 22:23:19 +03:00
DarthSim
07528dbecf Use palette-bit-depth for palette bitdepth instead of VIPS_META_BITS_PER_SAMPLE 2023-11-13 20:26:58 +03:00
DarthSim
157843ccb3 Use VIPS_META_BITS_PER_SAMPLE image header instead of palette-bit-depth when available 2023-05-23 19:08:35 +03:00
DarthSim
85f790fb4b Optimize watermark application 2023-05-10 17:46:41 +03:00
DarthSim
723666ea1a Strip watermark meta and remove its palette depth 2023-04-26 18:24:20 +03:00
DarthSim
7d1f7c903a Use RoundToEven when calculating offsets and watermark size 2023-04-16 21:09:48 +03:00
DarthSim
2c28252966 Fix the way the dpr processing option affects offsets and paddings 2023-04-16 20:56:17 +03:00
DarthSim
8bd3d5d472 Fix applying replicated PNG watermarks 2023-01-16 20:31:11 +03:00
DarthSim
ca9fb6c586 Optimize memory usage in some scenarios 2023-01-04 00:23:06 +03:00
DarthSim
3e87bd683c Offsets for replicated watermarks 2021-12-07 19:07:56 +06:00
DarthSim
cf884f860c Improved ICC profiles handling 2021-12-07 14:50:38 +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