1
0
mirror of https://github.com/imgproxy/imgproxy.git synced 2025-01-08 10:45:04 +02:00
Commit Graph

69 Commits

Author SHA1 Message Date
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