Mircea Cosbuc
ae46b2282a
Remove go-debug usage
2017-12-22 16:31:43 +01:00
Tomas Aparicio
90e5ea5d3a
fix(options): use float64 type in Options.Threshold
2017-11-23 16:20:12 +01:00
Tomás
03f7d1fe04
Merge pull request #206 from tstm/add-trim-options
...
Add the option to use background and threshold options on trim
2017-11-23 09:03:45 +01:00
Martti Leppänen
58bc9312b6
Add the option to use background and threshold options on trim
2017-11-09 15:32:58 -05:00
Janis Meybohm
c520b9c136
Fix memory leak on icc_transform
...
This was introduced with #168
2017-11-01 14:20:29 +01: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
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