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
Viktor Sokolov
8bc70491fb
processing_handler.go -> handlers/processing
2025-09-05 00:46:25 +06:00
DarthSim
d38720a0b8
Wrap asyncbuffer and imageDataAsyncBuffer errors
2025-08-21 21:27:45 +06: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
e14e054471
DownloadSync/DownloadAsync ( #1480 )
...
* DownloadSync/DownloadAsync
* No bufpool in svg
* Added ImageData.Error()
* Header ordering in respondWithImage
* Check originData.Error only if processing failed
---------
Co-authored-by: DarthSim <darthsim@gmail.com >
2025-08-11 20:09:54 +06: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
DarthSim
80fe152509
Replace imgagedata.ImageData.meta with format; Add imagedata.NewFromBytesWithFormat
2025-07-31 19:59:22 +03:00
Victor Sokolov
efbea5fde5
New imagedata interface ( #1471 )
2025-07-31 18:18:13 +02:00
DarthSim
528ece8da1
Revised errors for better error reporting
2025-02-17 22:11:40 +03:00
DarthSim
24f4d43a0f
use "clean" HTTP transport; Use context for downloading timeout control
2023-03-21 20:58:16 +03:00
DarthSim
aa80dc022f
Move download options to imagedata.DownloadOptions
2023-02-23 21:39:52 +03:00
DarthSim
9416168575
Security processing options
2023-02-23 21:11:44 +03:00
dcanob
f37d027f4f
add config fallback ttl to avoid default ttl when fallback response ( #818 )
...
* add config fallback ttl to avoid default ttl when fallback response
* Update docs/configuration.md
Co-authored-by: Sergey Alexandrovich <DarthSim@users.noreply.github.com >
* move FallbackTTL to loadFallbackImage
* rewrite ifelse
* Update imagedata/image_data.go
don't use config.FallbackTTL on header to get TTL on the response
Co-authored-by: Sergey Alexandrovich <DarthSim@users.noreply.github.com >
* Update processing_handler.go
don't use config.FallbackTTL on header to get TTL on the response
Co-authored-by: Sergey Alexandrovich <DarthSim@users.noreply.github.com >
* rename FallbackTTL to FallbackImageTTL
* Update processing_handler.go
* Fix linter errors
Co-authored-by: Sergey Alexandrovich <DarthSim@users.noreply.github.com >
2022-03-31 13:36:13 +06:00
Walter Doerwald
abbfb61ce6
Add option to pass through incoming cookies in the image request.
2021-11-09 12:14:05 +01:00
DarthSim
80331cd94e
Add cache control headers to 304 response
2021-10-13 17:59:46 +06:00
DarthSim
7709b74a5e
Bump version
2021-09-30 20:23:30 +06:00
DarthSim
57c314b1f5
Etag passthough
2021-09-29 16:23:54 +06:00
DarthSim
2ea1466d96
Global refactoring
2021-05-07 17:10:21 +06:00