Commit graph

99 commits

Author SHA1 Message Date
evanoberholster
599dc0ba03
Merge branch 'master' into master 2019-10-01 23:59:30 +08:00
Tomás Aparicio
7f4a97c0ef
Merge pull request #242 from acaloiaro/documentation-url-updates
Libvips documentation URL and README copy updates
2018-12-05 13:09:56 +01:00
Evan Oberholster
d883bb6fee Update Transform ICC Profiles with Input Profile
Support for input profile when there is none embbeded in image.
2018-11-04 22:04:19 +02:00
Dan Persa
98902da9c7 Make it compatible with the latest vips. Fixes #255 2018-10-19 16:28:19 +02:00
Adriano
70672d35e3 Libvips documentation URL and README copy updates 2018-05-19 10:36:06 -04:00
Tomás
cd21e84c71
Merge pull request #216 from Bynder/master
Remove go-debug usage
2017-12-22 19:55:16 +01: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
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
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
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