DarthSim
399995deea
Downscale requested WebP dimensions when one of them exceeds WebP limit
2020-07-07 15:45:31 +06:00
DarthSim
73a5d794f3
Process animated images singlethreaded
2020-07-01 19:47:05 +06:00
John Koehl
616ec996b3
Implements #421 processing option to control meta stripping ( #422 )
...
* Implements processing option to control meta stripping
* Update based on code review comments
Change name of option to "stripmeta" and change how we handle config vs request setting logic
* Fix indentation style typo
* Fix indentation style typo
* Use full metadata naming for config and variables
Co-authored-by: John Koehl <johnk@zillowgroup.com>
Co-authored-by: John Koehl <jkoehl>
2020-07-01 19:45:33 +06:00
DarthSim
721c3a8b2c
Fix and optimize processing of animated images
2020-05-06 21:58:28 +06:00
DarthSim
a18dbf76f0
Optimize memory usage
2020-04-22 19:20:35 +06:00
DarthSim
13546aa405
Fix unhandled panics during animated images processing
2020-04-22 19:19:12 +06:00
ILYA
12b415c9bd
Implement padding option ( #358 )
...
* Implement padding option
* Move padding `embed` to the right place
* Move padding `embed` to the right place
* Use general background option instead of specific padding's one
* Make padding options css-like and fully optional
* Add docs for new padding option
* Return error if padding embed fails
* Make padding outbounds and apply dpr for it
Co-authored-by: Ilya Melnitskiy <melnitskiy_i_m@onyx-team.com>
2020-04-09 15:43:56 +06:00
ILYA
4bd745f764
Improve trim method to accept color to be cut off and hor/ver alignment options ( #357 )
...
* Improve trim method to accept color to be cut off and hor/ver alignment options
* Make color and equality args truly optional
* Add docs for new trim params
Co-authored-by: Ilya Melnitskiy <melnitskiy_i_m@onyx-team.com>
2020-04-07 18:06:28 +06:00
DarthSim
6c60fb804f
Remove HEIC saving; Remove JBIG from docker; Replace imagequant with quantizr in docker
2020-03-12 20:03:29 +06:00
DarthSim
06c7df1e14
Properly name go module & update docs
2020-02-27 22:30:31 +06:00
DarthSim
1d1caeb06a
Fix loadind BMP stored in ICO
2020-02-14 19:33:14 +06:00
DarthSim
94626f0861
Remove Stripmetadata from processing options
2020-01-30 22:04:55 +06:00
sauerbraten
89f8a4e11c
Add option to keep metadata/tags in output image ( #329 )
...
* add env var to disable stripping metadata
by default, all metadata will be stripped (as before)
* always strip orientation tags when rotating the image
in case IMGPROXY_STRIP_METADATA is false
* document IMGPROXY_STRIP_METADATA env var
* remove ICC profile after importing it
needed, in case metadata aren't stripped from the output image
2020-01-30 21:43:08 +06:00
DarthSim
03bc5c820c
Don't scale X/Y for focus point gravity
2020-01-30 20:41:28 +06:00
DarthSim
ee450bec46
Trim processing option
2020-01-17 15:54:50 +06:00
DarthSim
1cd9a92582
Don't combine crops
2020-01-15 18:25:14 +06:00
realsim
f83b73ab38
Use image height to calculate watermark top offset ( #313 )
2019-12-27 12:19:14 +06:00
DarthSim
05cd1286a4
Add gravity to extend option
2019-12-25 17:04:16 +06:00
DarthSim
7c7ac56a48
Refactor subpackages
2019-12-25 15:18:51 +06:00
DarthSim
25a6c9ba39
Minor fixes in max_bytes docs & code
2019-11-29 18:40:01 +06:00
Dmitry Zuev
d74c402066
Implement Max Bytes Filter ( #275 )
...
* Implement Max Bytes Filter
* Update according to code review comments
* Refactor according to code review comments
2019-11-29 18:27:35 +06:00
DarthSim
a96e25a442
Fix segfaults on watermarking in somme cases
2019-11-14 18:48:26 +06:00
DarthSim
0d5d2f5ec2
po.Resize => po.ResizingType
2019-10-11 17:05:20 +06:00
DarthSim
aac9997387
Fix lint errors
2019-10-10 19:20:25 +06:00
DarthSim
a35b7a99c4
Convert image to RGB before watermarking
2019-10-10 19:18:45 +06:00
DarthSim
a3d894a697
Load ICO without imagemagick
2019-10-03 21:43:33 +06:00
DarthSim
72049f3b88
Fix SVG loading support check
2019-10-01 18:21:31 +06:00
DarthSim
1274010010
Save BMP as JPEG by default
2019-10-01 18:12:14 +06:00
DarthSim
aa5ce8be8d
Add SVG pasthrough
2019-10-01 18:08:30 +06:00
DarthSim
5e18d59f80
TIFF support
2019-09-30 16:05:47 +06:00
DarthSim
f7ca800b36
Refactored image downloading and watermark preparation
2019-09-20 17:01:00 +06:00
DarthSim
40fe09b15e
More accurate scale calculation
2019-09-16 23:09:28 +06:00
DarthSim
53805e482a
DRY some calculations
2019-09-11 16:45:26 +06:00
DarthSim
e3c461bc8a
Watermarking with vips_composite
2019-09-11 15:49:58 +06:00
DarthSim
aa2e8bd90e
Better linter settings + linting errors fix
2019-09-11 14:42:36 +06:00
DarthSim
8cef2ee3b2
Better watermarking
2019-08-28 18:45:16 +06:00
DarthSim
435e5d4063
dpr always enlarges smaller images
2019-06-26 14:37:08 +06:00
DarthSim
327429a1e5
Improve handling of non-sRGB images
2019-06-26 13:07:19 +06:00
DarthSim
4a59e3d625
Save HEIC to JPEG by default
2019-06-25 15:28:34 +06:00
DarthSim
7e979a9024
Move WebP enforcement/preference to processing
2019-06-25 15:19:15 +06:00
DarthSim
c2ce5c5850
Auto resizing type
2019-06-24 18:50:17 +06:00
DarthSim
e894afec13
Crop offsets
2019-06-20 18:49:25 +06:00
DarthSim
116ccc29e8
expand => extend
2019-06-17 16:15:10 +06:00
DarthSim
7d92cdd66d
Correct image extending
2019-06-17 16:13:34 +06:00
DarthSim
2eaace700e
Don't do scale on load of animated image if we need to crop
2019-06-13 15:15:52 +06:00
DarthSim
5553cee501
MaxGifFrames => MaxAnimationFrames
2019-06-13 14:06:12 +06:00
DarthSim
e4b8332752
Don't fail if smart crop is not supported but requested
2019-06-11 19:31:18 +06:00
DarthSim
a08a5d41d9
Refactor colorspace code
2019-06-10 20:15:49 +06:00
DarthSim
e5e3736d29
Fix lint errors
2019-06-08 00:27:34 +06:00
DarthSim
b2c5e9c4ab
Round sizes for more accurate calculations
2019-06-08 00:24:48 +06:00