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