DarthSim
7d92cdd66d
Correct image extending
2019-06-17 16:13:34 +06:00
DarthSim
0bf35d5524
Add ffmpeg libs to test Dockerfile
2019-06-14 17:02:43 +06:00
DarthSim
4609785f6c
Update vips versions in CircleCI
2019-06-13 19:20:01 +06:00
DarthSim
ddcbd63932
Missing names for CircleCI steps
2019-06-13 18:23:51 +06:00
DarthSim
ab41e78064
Fix CircleCI config
2019-06-13 18:18:07 +06:00
DarthSim
b734bdc6f4
Reorganize CircleCI config
2019-06-13 18:09:57 +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
c6d4a681be
Update docs
2019-06-13 14:20:11 +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
6f889a14da
Fix segfault on watermark applying
2019-06-11 17:11:14 +06:00
DarthSim
75aae2f569
typo
2019-06-10 20:23:05 +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
518607f259
Require pprof build tag to enable net/pprof
2019-06-06 19:39:16 +06:00
DarthSim
3ae859162f
Get rid of init() in config.go
2019-06-06 19:26:00 +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
71e720c625
Ignore .tmp
2019-06-04 19:30:46 +06:00
DarthSim
69594894a0
Fix lint issues
2019-06-04 17:03:03 +06:00
DarthSim
a9244a7063
Extract processing handler and imageType functions from server.go
2019-06-03 23:02:46 +06:00
DarthSim
86c883f04b
HEIC images support
2019-06-03 22:07:03 +06:00
DarthSim
fee210fb1b
Remove unneeded code
2019-06-03 21:27:46 +06:00
DarthSim
ab9363e989
Simple http router for better looking server code
2019-06-03 21:16:54 +06:00
DarthSim
2a7715540b
Allow query params for health endpoint; Log health response
2019-06-03 17:06:13 +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
e93daf979a
Fix some processing options checking
2019-05-28 17:39:20 +06:00
DarthSim
ab36da55f8
Don't set default false in boolEnvConfig
2019-05-28 17:38:05 +06:00
DarthSim
9e0a563d81
Remove falsey params from config init since they are false by default; Move presets initialization to config init
2019-05-16 17:44:38 +06:00
DarthSim
a16a1e3141
Update presets-only mode docs
2019-05-16 17:15:57 +06:00
Carlos Brando
e071396fd6
Adds an option to allows only presets in the URL. ( #156 )
...
* Adds an option to allows only presets in the URL. If it's enabled, only presets can be used, and all other URL formats are disabled. You can allow it to with an env var.
If it's enabled, only presets can be used, and all other URL formats are disabled. You can allow it to with an env var.
* Add parsePathPresets function
Following DarthSim suggestion, I added a parsePathPresets function and remove the code inside parseURLOptions.
2019-05-16 16:24:41 +06:00
DarthSim
c6145a8e69
Check source content length before getting download buffer
2019-05-08 21:00:54 +06:00
DarthSim
a03d74288f
Fix height option check
2019-05-08 20:51:52 +06:00
DarthSim
bd95447ca5
Add development errors mode
2019-05-08 20:51:39 +06:00
DarthSim
023dcadc34
Better stacktrace of processing errorf
2019-05-08 20:37:26 +06:00
DarthSim
3d13e6afb2
Back to net/http
...
Month of testing and profiling show that fasthttp doesn't gives us significatnt profit in memory and performance while being incompatible with many third-side packages and http/2
2019-05-08 17:42:48 +06:00
DarthSim
c5263b1752
Add benchmark results
2019-05-08 16:45:47 +06:00
DarthSim
710032e522
Bump version; Update changelog
2019-05-07 17:55:15 +06:00
DarthSim
0687ee24a4
Fix C99 warning
2019-05-07 17:23:38 +06:00
DarthSim
9aa5e20b3f
Fix tests
2019-05-07 17:21:27 +06:00
DarthSim
c0c471ac99
Don't fail on recursive preset usage, just ignore used preset and log warning
2019-05-07 15:19:23 +06:00
DarthSim
0cfeab65db
Add CGO_LDFLAGS_ALLOW to the installation guide
2019-05-07 15:03:06 +06:00
DarthSim
0346b6b45e
Typo
2019-05-06 16:57:44 +06:00
DarthSim
afe1557057
Send and receive X-Reqiest-ID header
2019-05-06 14:42:30 +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
75e0f1d917
Don't import common sRGB IEC61966-2.1 ICC profile
2019-04-30 02:37:07 +06:00
DarthSim
dbbdf5a997
Better shrink-on-load
2019-04-24 19:55:23 +06:00