Dan Persa
98902da9c7
Make it compatible with the latest vips. Fixes #255
2018-10-19 16:28:19 +02: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
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
Yoan Blanc
896c479f95
Fix typo and small cleanup.
...
- it addresses the comments for ab4ef56bab
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2017-09-11 10:00:06 -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
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
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