Patrick Zhang
ba2a6715ee
Add min dimension logic to smartcrop
...
The pre-crop operations will sometime yield
an image that is already the correct size or
1 pixel smaller (due to rounding error). Currently,
bimg will try to smart crop anyways and yield a
"bad extract area" error.
2019-02-22 13:42:35 -08:00
Mark van der Velden
da064bf399
Adding a test case that verifies #250
2018-12-19 09:53:09 +01:00
Tomás Aparicio
d67c48e6f2
Merge pull request #224 from kishorgandham/patch-1
...
Fix image crop during embed
2018-12-05 13:18:10 +01:00
Andrey Kirillov
e3e4ba395e
Fix AreaWidth calculation
2018-07-31 14:50:43 +03:00
Scott Kidder
23863c348e
Fixes #225 by correcting the flip and flop directions
2018-01-17 15:10:19 -08:00
Kishor Gandham
cf75e90e48
Fix image crop during embed
2018-01-17 11:52:57 +05:30
Tomás
cd21e84c71
Merge pull request #216 from Bynder/master
...
Remove go-debug usage
2017-12-22 19:55:16 +01:00
Tomás
262d0f82b7
Merge pull request #208 from mikestead/feature/webp-lossless
...
Add lossless option for saving webp
2017-12-22 19:51:54 +01:00
Mircea Cosbuc
ae46b2282a
Remove go-debug usage
2017-12-22 16:31:43 +01:00
Mike Stead
ce5ae9c7fe
Add lossless option for saving webp
2017-11-11 14:56:12 +11:00
Martti Leppänen
58bc9312b6
Add the option to use background and threshold options on trim
2017-11-09 15:32:58 -05:00
Yoan Blanc
e7d6d147ee
Add shrink-on-load for webp.
...
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2017-10-01 12:48:39 -04:00
Yoan Blanc
c1f2667c0f
Adding trim operation.
...
Closes #22
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2017-09-12 14:22:55 -04:00
Tomas Aparicio
bd028cd5da
fix(reduce): resolve conflicts with master
2017-09-10 20:30:24 +02:00
Tomas Aparicio
ab4ef56bab
feat( #189 ): allow strip image metadata via bimg.Options.StripMetadata = bool
2017-09-10 17:16:31 +02:00
Tomas Aparicio
71054aaa89
fix( #162 ): garbage collection fix. split Resize() implementation for Go runtime specific
2017-09-07 10:41:10 +02:00