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
DarthSim
4ba970bdf6
PNG quantization
2019-04-05 16:30:16 +06:00
DarthSim
e99241aea0
Disable processing in linear colorspace by default
2019-04-04 21:57:44 +06:00
DarthSim
081a400872
Fix processing images with embedded profiles
2019-04-02 02:32:44 +06:00
DarthSim
c864f801d0
Add IMGPROXY_DISABLE_SHRINK_ON_LOAD config
2019-04-01 21:30:53 +06:00
DarthSim
550b9edb20
Resize images in linear colorspace
2019-04-01 21:30:24 +06:00
DarthSim
79af765015
Fix color management
2019-03-22 21:07:39 +06:00
DarthSim
d2d305a41f
Don't initialize pages in vipsLoadImage if image is not gif
2019-03-22 21:07:39 +06:00
DarthSim
d7a1e8615c
Add -O3 to CFLAGS
2019-03-22 21:07:39 +06:00
DarthSim
5040ba7d61
extend option
2019-02-21 22:20:56 +06:00
DarthSim
f43fd6eec0
Collect vips memory metrics
2019-02-21 22:20:56 +06:00
DarthSim
4d174e51cf
Move c code to vips.c; Move complex vips operations to C
2019-02-11 14:57:04 +06:00
DarthSim
1bbe300ae4
struct__VipsImage => VipsImage
2019-02-08 13:42:30 +06:00
DarthSim
c6838e5857
Fix C strings caching
2019-02-04 20:06:46 +06:00
DarthSim
dd28028710
Fix typos and linter warnings
2019-02-01 17:53:46 +06:00
DarthSim
20d6c2778a
Try to free resulting image data on error
2019-01-28 22:21:26 +06:00
DarthSim
0b5c85f644
Cache commonly used C strings
2019-01-28 22:20:54 +06:00
DarthSim
6c73c58ea3
Try to clear resulting image data even if wasn't successfully saved
2019-01-17 18:53:02 +06:00
DarthSim
f4f746489c
Optimized memory usage; Reducing memory fragmentation
2019-01-17 14:51:26 +06:00
DarthSim
165ae18d87
Rename color to rgbColor to not conflict with image/color
2019-01-14 16:50:59 +06:00
DarthSim
ed795675be
Refactored logging; Syslog support
2019-01-14 16:50:59 +06:00
DarthSim
e453d9db51
Some optimizations
2019-01-09 18:41:00 +06:00
DarthSim
f679a7ddec
Fix not animated gifs support
2018-12-21 02:09:58 +06:00
DarthSim
5501c3cff7
SVG sources support
2018-12-21 01:58:39 +06:00
DarthSim
4549089183
ICO support
2018-12-02 19:06:16 +06:00
DarthSim
bb4f4602c3
Fallback to no profile while saving PNG if profile is invalid
2018-11-29 16:30:59 +06:00
DarthSim
e8845f671b
Limit GIF frames to being processed
2018-11-15 20:04:12 +06:00
DarthSim
c3852d683d
Optimal and correct DPR support
2018-11-15 17:19:27 +06:00
Marius Cristea
8b5f620ac3
adds dpr transformation ( #104 )
...
* adds dpr transformation.
* adds dpr transformation.
* fix conflict.
2018-11-14 19:46:59 +06:00
DarthSim
7ac390621d
Flatten image with alpha when saving to jpeg; Make white default background
2018-11-14 17:06:52 +06:00
DarthSim
da1a802632
Use source image format as resulting one dy default
2018-11-14 00:50:38 +06:00
DarthSim
2c0b538eb5
GIF output support
2018-11-13 18:32:47 +06:00
DarthSim
e6a7c480b1
Plain source URLs support
2018-11-02 21:35:21 +06:00
DarthSim
c043716ac1
Quality processing option
2018-10-30 18:20:02 +06:00
DarthSim
dd85087e6a
Prometheus metrics
2018-10-29 18:04:47 +06:00
DarthSim
8e2bf527e4
Fix scaling to <1px
2018-10-28 18:20:58 +06:00
DarthSim
c049fb8a28
Watermark scale
2018-10-28 18:05:57 +06:00
DarthSim
c2395ef5af
Merge branch 'master' into version/2.1
2018-10-25 22:49:14 +06:00
DarthSim
e163400864
Fix smart crop + brur/sharpen SIGSEGV on Alpine
2018-10-25 20:22:58 +06:00
DarthSim
0f92ff2532
New Relic support
2018-10-25 19:34:16 +06:00
DarthSim
3d98a943a4
Watermark
2018-10-19 15:47:11 +06:00
DarthSim
7b9a32d700
Typo
2018-10-06 03:01:54 +06:00
DarthSim
776f57d003
Predefine static errors
2018-10-06 02:29:55 +06:00
DarthSim
2f8d7b8ad6
return ETag support
2018-10-05 22:20:29 +06:00
DarthSim
34a61d287f
fasthttp; Optimized memory allocation
2018-10-05 21:17:36 +06:00
DarthSim
9ca64ce25a
Remove randomAccessRequired
2018-10-04 18:54:57 +06:00
DarthSim
8efe48e4be
Remove forgotten debug
2018-10-03 21:50:01 +06:00
DarthSim
2840994719
Background option
2018-10-02 18:20:23 +06:00
DarthSim
b51e5ca25e
Fix calcShrink 🤦
2018-10-02 17:31:51 +06:00
DarthSim
27c1ef068a
Go <1.10 doesn't have math.Round, ook
2018-10-02 17:31:51 +06:00
DarthSim
8c4a561b9e
Focus point gravity
2018-10-02 17:31:51 +06:00
DarthSim
9efba7bf55
Add image type check to calcShrink
2018-10-02 17:30:20 +06:00
DarthSim
9f0a2a4939
Auto-calc width or height if some of them is 0
2018-10-02 17:30:20 +06:00
DarthSim
7d7bbe3649
Add blur and sharpening
2018-10-02 17:30:20 +06:00
DarthSim
c5adf1b3a5
Rename processing options constants and move them to processing_options.go
2018-10-02 17:30:20 +06:00
DarthSim
5dcad5430a
Advanced url format
2018-10-02 17:30:20 +06:00
DarthSim
530964c30f
Disable libvips cache
2018-10-01 21:00:33 +06:00
DarthSim
83948d0126
Drop Go <1.8 support
2018-09-10 12:17:04 +06:00
DarthSim
c3d39b2b42
Progressive JPEG & interlaced PNG support
2018-07-16 21:14:24 +06:00
DarthSim
8556be3426
Fixed autorotation when image is not resized
2018-05-25 16:25:48 +06:00
Ilja Hämäläinen
178cd5de55
Add support of ETag caching ( #47 )
...
* Add ETag caching support
* Update the readme file
* Typo
* Calculate ETag before image processing, rename Env Var
* Make PO struct field public
* Generate random value on server startup to be used in ETag calculation
* Minor refactoring
* Adjust boolean value parsing as discussed in GitHub PR page
* Move random value generation to the config
* Update README
* Revert changes
* Use footprint to calculate the hash of an image
2018-02-26 11:45:52 +03:00
DarthSim
070346d155
Fix processing of CMYK without embedded profile
2018-01-10 16:10:20 +06:00
DarthSim
c052b1f2ae
Fix build with vips < 8.5.0
2017-10-19 22:38:09 +06:00
DarthSim
fcf964f74e
Premultiply alpha channel on resize
2017-10-19 21:51:44 +06:00
DarthSim
796addcfe8
Return all logic to go code
2017-10-18 04:23:41 +06:00
DarthSim
8c4755d9e0
Shrink on load for jpg and webp
2017-10-18 03:12:58 +06:00
DarthSim
b8d655e1ba
Graceful shut down server and vips
2017-10-17 18:23:48 +06:00
DarthSim
50e68556d0
Rotate after resize; Use most vips functions directly
2017-10-16 17:45:10 +06:00
DarthSim
f1c2bfa6a6
Vips leak checking
2017-10-07 03:20:42 +06:00
DarthSim
c72c86a921
Precheck vips image types support
2017-10-07 02:54:24 +06:00
DarthSim
e41a4ab13e
Fix memory leak
2017-10-05 05:59:35 +06:00
DarthSim
55b972106c
Fair timeout; Better errors handling
2017-10-05 05:59:35 +06:00
DarthSim
aa4e6731dc
Optimize memory usage
2017-09-28 23:18:01 +06:00
DarthSim
6d840c7cb6
Optimize memory usage
2017-09-28 19:46:38 +06:00
DarthSim
02a9ed4210
Add vips debug flag
2017-09-28 19:43:43 +06:00
DarthSim
7e1b9408a4
Tune up processing
2017-09-28 01:17:17 +06:00
DarthSim
708b2751ed
CGO LDFLAGS
2017-09-27 23:22:55 +06:00
DarthSim
c85534110f
Fix build on go < 1.7
2017-09-27 23:22:13 +06:00
DarthSim
51a57d43d0
Drop bimb dependency
2017-09-27 14:42:49 +06:00
DarthSim
4292266e82
WebP support
2017-07-06 03:01:35 +06:00
DarthSim
63eecd3bd3
Add config checking; Remove compression config
2017-06-27 11:52:54 +03:00
Sergey Alexandrovich
0c006ce61e
Initial commit
2017-06-20 17:00:17 +03:00