Commit graph

133 commits

Author SHA1 Message Date
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
Yoan Blanc
d80a894873
Check the length before jumping into buffer.
Closes #170

Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2017-07-18 10:06:50 +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
Adam Scarr
dc3286965b Use vips reduce when downscaling 2017-07-04 11:33:13 +10:00
Henry
ff43c3d806 Expose vips cache memory management functions. 2017-06-16 01:26:01 +00: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
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
6524efa800 Fix the unref of images, when image isn't transparent 2017-03-31 20:31:17 +02: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
Yoan Blanc
a2ba03da29
Refactoring IsTypeSupport to deal with save.
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2016-12-14 08:01:40 +01:00
Yoan Blanc
dcd91c85e0
Adding support for TIFF save.
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2016-12-14 08:01:40 +01:00
Yoan Blanc
190fe92e28
Saving to TIFF should also fail
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2016-12-14 08:01:26 +01:00
Yoan Blanc
5dd8611579
Raise an error when trying to save as MAGICK type
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2016-11-13 15:48:36 +01:00
Yoan Blanc
e7dcc5a653
Do not free a pointer you don't own 2016-11-11 08:30:27 +01:00
Tomas Aparicio
522cf71c73 feat(#92): support Extend param with optional background 2016-09-30 22:56:59 +01:00
Tomas Aparicio
8e0592bb9a fix(vips): check magick type support 2016-09-29 20:49:34 +01:00
Tomas Aparicio
5ca57a1e68 fix(background): pass proper background RGB color 2016-09-28 00:14:29 +01:00
Tomas Aparicio
bffc7652bb feat(types): infer types in runtime 2016-09-27 23:56:18 +01:00
Tomas Aparicio
5e79759297 refactor(types): do proper image typ casting 2016-09-27 21:31:44 +01:00
Tomas Aparicio
21d5f4a515 feat(#95): support multiple formats 2016-09-27 15:27:13 +01:00
Tomas Aparicio
489fbc8a00 fix(tests) 2016-09-27 15:12:41 +01:00
Yoan Blanc
6b76a33673
Adding GIF, PDF and SVG support (libvips 8.3) 2016-08-31 09:38:01 +02:00
Tomas Aparicio
3c3d721bd2 chore(version): bump to 1.0.1 2016-06-22 10:11:32 +01:00
Aarti Parikh
db78c9b75e Take care to not dereference the original image a second time 2016-06-21 17:47:08 -07:00
Henry
5f7342a9aa Fix formatting 2016-05-14 01:35:27 +00:00
Henry
7170832f93 Check if there is an alpha channel before flattening 2016-05-14 01:32:59 +00: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
a7706b6033 feat(travis): add GO 1.5 2016-01-30 16:34:24 +00:00
Chuck Neerdaels
99abaf0752 Added interface and test for sharpen 2015-11-16 15:46:08 -08: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
8fdf28fe5e fix(#56) 2015-09-29 23:37:42 +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
5667ecda25 vips__gaussblur: renamed to vips_gaussblur_bridge 2015-09-15 12:23:05 +02:00
Thomas Meson
404cbf902f vips: add a vips__gaussblur method
handle both < 7.41 and higher.
Prior 7.41, vips_gaussblur took only a int param, the radius.
The radius was then divided by 2.0 (min_ampl) in vips_gaussblur.
After, you can now parameter the min_ampl and radius became sigma (and
passed from an integer to a double).
2015-09-14 17:48:57 +02:00
Tomas Aparicio
1c2f37648c refactor(vips): use shortcut to VipsImage C type 2015-09-07 20:33:21 +02:00
Tomas Aparicio
c1e0c73d50 feat(#49) 2015-07-28 21:29:47 +01:00
Tomas Aparicio
851e65e71e refactor(colourspace) 2015-07-11 20:16:39 +01: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
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
941b15cd9a feat: save a RGB colorspace 2015-06-13 20:16:28 +01:00
Tomas Aparicio
5d3a306adc fix(#43) 2015-06-13 17:39:25 +01:00