Commit graph

69 commits

Author SHA1 Message Date
Adam Scarr
dc3286965b Use vips reduce when downscaling 2017-07-04 11:33:13 +10: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
c19a86e12a Change for older LIBVIPS versions. vips_bandjoin_const1 is added in libvips 8.2. 2017-04-05 16:34:31 +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
dcd91c85e0
Adding support for TIFF save.
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2016-12-14 08:01:40 +01:00
James Schofield
a1b9efdb97 Cleaner fix 2016-11-10 17:34:40 -05:00
James Schofield
31a54299fb Handle 16-bit PNGs 2016-11-10 15:11:54 -05: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
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
8d4a850475 merge(master) 2016-09-27 15:35:52 +01:00
Jibin George
7c042eba31 Fixes issue with typecast from GType to int 2016-09-13 17:16:24 +05:30
Nicolae Vartolomei
21a7c308a6 fix(flatten): fix flattening with background for 16bit transparent pngs 2016-09-12 13:56:35 +03:00
Yoan Blanc
6b76a33673
Adding GIF, PDF and SVG support (libvips 8.3) 2016-08-31 09:38:01 +02:00
Yoan Blanc
00fee003f7
Add support for 45° rotation. 2016-08-25 15:38:21 +02:00
Chuck Neerdaels
99abaf0752 Added interface and test for sharpen 2015-11-16 15:46:08 -08:00
Tomas Aparicio
c22442428c refactor(vips): define constant 2015-10-16 14:25:32 +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
bfe0c7949f vips_gaussblur: remove dependency on libmath
remove ceil() on call to vips_gaussblur, simply cast to int
2015-09-15 12:24:38 +02:00
Thomas Meson
5667ecda25 vips__gaussblur: renamed to vips_gaussblur_bridge 2015-09-15 12:23:05 +02:00
Thomas Meson
6968a8a453 vips__gaussblur: add the missing sentinel 2015-09-14 18:16:03 +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
31422b4c7f merge(zllak-debian) 2015-09-08 22:54:32 +02:00
Thomas Meson
0e5ba53847 vips.h: problem with vips_init()
For version prior 7.41, vips_init() is a macro to VIPS_INIT().
VIPS_INIT() should be called, but as it is a macro, cgo could not
determine the return type, hence making the build fail.
So, we undef vips_init(), and define the vips_init() method.
2015-09-08 14:31:54 +02:00
Thomas Meson
ae4046b5a5 vips.h: fail to build on Debian Jessie
Debian Jessie has libvips 7.40.6.
Problem is that before 7.41, VIPS_ANGLE_DXX did not exists.
So we need to define properly the macro in order to build
for libvips < 7.41
2015-09-08 14:31:12 +02:00
Tomas Aparicio
801615d05f refactor(vips): free watermark cache. refactor vips.h 2015-09-07 20:46:38 +02:00
Tomas Aparicio
c1e0c73d50 feat(#49) 2015-07-28 21:29:47 +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
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
7be9d7bad5 fix(#42): change interlace type. fix C bindings 2015-06-12 10:28:37 +01:00
Tomas Aparicio
a29fa25dfc refactor(vips) 2015-05-05 20:28:39 +02:00
Tomas Aparicio
720c2bcf94 fix(#35): save webp 2015-04-26 20:07:47 +02:00
Tomas Aparicio
e111d875e7 fix(#30): one concurrent thread by default 2015-04-15 02:25:57 +02:00
Tomas Aparicio
6142436743 fix(vips): panic error on exif orientation 2015-04-12 17:03:52 +02:00
Tomas Aparicio
2bc5756fad feat(test): better coverage for vips interface 2015-04-11 14:19:15 +02:00
Tomas Aparicio
b065e902ed refactor(vips.h): watermark replicate 2015-04-11 12:58:15 +02:00
Tomas Aparicio
51c320fab7 refactor: vips.h, fix(docs): 2015-04-11 12:12:29 +02:00
Tomas Aparicio
b55834edf2 refactor(vips.h) 2015-04-11 03:12:49 +02:00
Tomas Aparicio
210c7b4bdc refactor: remove colorspace feature 2015-04-11 03:01:22 +02:00
Tomas Aparicio
074a236dc3 feat(#15): more benchmarks 2015-04-11 02:56:59 +02:00
Tomas Aparicio
cc2290cb45 feat(#27, #25): new features 2015-04-11 02:49:11 +02:00