Commit graph

75 commits

Author SHA1 Message Date
Skylar Lee
d939e12181 fix build tag 2017-10-29 21:13:52 -07:00
Tomas Aparicio
d31288c3c8 fix(resize): code format issue 2017-09-10 17:07:29 +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
Yoan Blanc
b752fe8ea6
Proper handling of the EXIF cases.
Kudos to
https://www.daveperrett.com/articles/2012/07/28/exif-orientation-handling-is-a-ghetto/

Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2017-08-26 08:26:10 -04:00
Tomas Aparicio
bac8e42eae fix(resize): runtime.KeepAlive is only Go 2017-08-03 20:40:56 +02:00
Tomas Aparicio
98c931eb89 fix(#159): prevent buf to be freed by the GC before resize function exits 2017-08-03 12:48:30 +02:00
Janis Meybohm
767bfdac74 Add option to convert embedded ICC profiles
Set an bimg.Options OutputICC to an absolute path to the desired output ICC profile. If an embedded ICC profile is found in VipsImage, it is converted to the output ICC profile.
Fixes #50
2017-07-07 16:24:19 +02:00
Tomás Aparicio
93ce8ef143 Merge pull request #156 from Dynom/SmartCropToGravity
Replacing SmartCrop with a Gravity option
2017-05-25 14:13:35 +01:00
Mark van der Velden
33bf9bdff6 Adding a test, verifying both ways of enabling SmartCrop work 2017-05-25 09:38:39 +02:00
Tomás Aparicio
2394a2d77e Merge pull request #149 from waldophotos/master
Add backwards compatibility code for older `libvips` versions.
2017-05-24 20:48:33 +01:00
Mark van der Velden
855de7ca55 Replacing SmartCrop with a Gravity option 2017-05-24 14:20:54 +02:00
Yoan Blanc
9c914467b3
Adding basic smartcrop support.
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2017-05-17 22:34:14 +02:00
Albert-Jan de Vries
6ca6dd12de Second try, watermarking memory issue fix 2017-04-05 16:33:34 +02:00
Tomás Aparicio
cd2e0bb57d Revert "Fix for memory issue when watermarking images" 2017-04-05 09:58:54 +01:00
Albert-Jan de Vries
ff7970929b Fix for memory issue when watermarking images 2017-03-31 09:28:55 +02:00
Jaume Pinyol
1a661e4e52 Add support for image watermarks 2017-01-24 20:07:59 +01:00
Dan Persa
9b6989c3ce Fix: Crop is doing resize. Closes #128 2017-01-13 16:13:51 +01:00
Tomas Aparicio
e6b50ded02 refactor(resize): use not equal operator (again) 2016-09-30 23:15:18 +01:00
Tomas Aparicio
3c158381b0 fix(#106): allow custom area extraction without x/y axis 2016-09-30 23:12:01 +01:00
Tomas Aparicio
522cf71c73 feat(#92): support Extend param with optional background 2016-09-30 22:56:59 +01:00
Tomas Aparicio
5ca57a1e68 fix(background): pass proper background RGB color 2016-09-28 00:14:29 +01:00
Tomas Aparicio
5e79759297 refactor(types): do proper image typ casting 2016-09-27 21:31:44 +01:00
Tomas Aparicio
68bbcee69b fix(lint): fix code style 2016-09-27 15:57:27 +01:00
Mike Pulaski
552db7d3b5 Auto-width and height calculations now round instead of floor. 2016-09-26 20:25:30 +02:00
Tomas Aparicio
c57a8c1320 feat(version): v1 release. see history for details 2016-04-21 16:44:50 +01:00
Tomas Aparicio
edeb809cc1 fix(resize): auto rotate image before resize calculus 2016-02-09 21:37:08 +00:00
Tomas Aparicio
cc455d8f48 fix(rotation) 2016-02-05 15:19:32 +00:00
Tomas Aparicio
b198ea2ecc fix(rotate): pre-rotate image based on EXIT orientation 2016-01-30 16:27:27 +00:00
Chuck Neerdaels
99abaf0752 Added interface and test for sharpen 2015-11-16 15:46:08 -08:00
Tomas Aparicio
13ef72dc03 refactor(resize): clone options by value 2015-11-03 07:54:40 +00:00
Tomás Aparicio
6ee9b69627 refactor(resize): simplify code 2015-11-03 07:49:05 +00:00
Tomas Aparicio
b7eaa00f10 feat(#60): support zero top and left params in extract operation 2015-10-12 21:36:37 +01:00
Tomas Aparicio
174de89a40 refactor(#55): minor changes, use proper declarations, unref image 2015-09-29 08:45:02 +01:00
Clement DAL PALU
e83c80c93c - Adding a Background option when flattening out a transparent PNG 2015-09-28 17:33:38 -07:00
Thomas Meson
b74cbd5173 resize: move effects to more explicit methods
add method shouldApplyEffects and applyEffects
2015-09-15 11:28:05 +02:00
Thomas Meson
4cc9e0dde1 transformImage: apply gaussian blur if needed 2015-09-14 17:58:24 +02:00
Tomas Aparicio
1c2f37648c refactor(vips): use shortcut to VipsImage C type 2015-09-07 20:33:21 +02:00
Tomas Aparicio
0bff28381f fix(#46): transform to proper image size 2015-07-11 19:45:10 +01:00
Tomas Aparicio
ed4faadba6 refactor(#47): minor refactors, code normalization and test coverage 2015-07-11 16:50:25 +01:00
Yoan Blanc
8a2b991ce8 Add support for colourspace (fix #45) 2015-07-11 09:18:30 +02:00
Tomas Aparicio
5874efef3e fix(resize): default options 2015-07-09 23:35:04 +01:00
Tomas Aparicio
a45e277f68 refactor(resize) 2015-07-09 23:31:51 +01:00
Tomas Aparicio
9db6f2a0ea fix(#46): infer resize operation 2015-07-09 23:30:08 +01:00
Tomas Aparicio
5d322714ec feat: allow to remove ICC profile metadata 2015-06-13 22:11:54 +01:00
Tomas Aparicio
5d3a306adc fix(#43) 2015-06-13 17:39:25 +01:00
Brant Fitzsimmons
0019d370e9 Added progressive jpeg functionality. 2015-06-10 18:55:58 -04:00
Tomas Aparicio
a29fa25dfc refactor(vips) 2015-05-05 20:28:39 +02:00
Tomas Aparicio
81bb4bcdac fix(#32): bad crop 2015-04-25 19:56:50 +02:00
Tomas Aparicio
67221723ca fix(#33): bad auto rotatino 2015-04-25 18:42:35 +02:00
Tomas Aparicio
c2a502a611 fix(#31) 2015-04-16 02:24:44 +02:00