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
DarthSim
dbad387eef
Crop processing oprion; Resize type crop
is deprecated
2019-06-08 00:14:41 +06:00
DarthSim
fa224981af
Extract Vips stuff into vips.go and CString stuff into c_strings.go
2019-06-06 16:51:29 +06:00
DarthSim
69594894a0
Fix lint issues
2019-06-04 17:03:03 +06:00
DarthSim
86c883f04b
HEIC images support
2019-06-03 22:07:03 +06:00
DarthSim
f515623f3a
Animated WebP support
2019-06-03 16:53:47 +06:00
DarthSim
3fb3a327a3
Better scale-on-load for WebP with libvips 8.8
2019-05-30 18:58:55 +06:00
DarthSim
eb60f0567c
Better work with ICC profiles; Usage of vips 8.8 bbuilt-in cmyk profile
2019-05-30 18:33:33 +06:00
DarthSim
023dcadc34
Better stacktrace of processing errorf
2019-05-08 20:37:26 +06:00
DarthSim
95877bbaa8
Optimized ICC profile check; Always import ICC when linear colorspace is used
2019-05-06 13:09:12 +06:00
DarthSim
dbbdf5a997
Better shrink-on-load
2019-04-24 19:55:23 +06:00
DarthSim
253eae70ab
Don't fail if ICC profile import failed
2019-04-11 21:12:15 +06:00
DarthSim
ac4f0e5dae
Import ICC after resize if linear colorspace was not used
2019-04-08 18:49:14 +06:00