Commit Graph

5335 Commits

Author SHA1 Message Date
Lovell Fuller
c8713a367c Prevent ~15KB leak for JPEG buffer output error 2017-12-18 19:34:28 +00:00
Dirk Lemstra
ccf894c738 Added quality option. 2017-12-17 11:59:57 +01:00
John Cupitt
424b359d33 bump wrapper script version
and add a test too

see https://github.com/jcupitt/libvips/issues/834
2017-12-17 10:50:57 +00:00
Dirk Lemstra
c7992bf6d9 Also inherit exception when writing. 2017-12-17 11:18:38 +01:00
Dirk Lemstra
8461a7e9c1 Added checks for the properties on the image. 2017-12-17 01:10:14 +01:00
Dirk Lemstra
c3f1000215 Added support for ImageMagick6. 2017-12-17 01:03:28 +01:00
Dirk Lemstra
7072c85e4e Added method to set the gif properties of the image. 2017-12-17 00:03:26 +01:00
Dirk Lemstra
8f4179f496 Added support for writing buffers with magicksave.
Added --format for the filename.
2017-12-16 23:10:23 +01:00
Dirk Lemstra
e22282a844 Start of support for writing files with ImageMagick. 2017-12-16 21:37:17 +01:00
John Cupitt
19e2e2e208 add credit to changelog 2017-12-16 10:01:04 +00:00
John Cupitt
76a6d59023
Merge pull request #832 from bmwiedemann/master
Use ChangeLog date instead of build date
2017-12-16 09:58:38 +00:00
Bernhard M. Wiedemann
0f69f0808e Use ChangeLog date instead of build date
in order to make builds reproducible.
See https://reproducible-builds.org/ for why this is good.

This date call works with GNU date and BSD date.
2017-12-16 07:10:09 +01:00
John Cupitt
1be4267492 make bandrank work with many input images
400+ tested and seems to work

see https://github.com/jcupitt/libvips/issues/822
2017-12-15 14:47:56 +00:00
John Cupitt
f4f9667406 remove the 64 image limit on bandary
any number of input images now

see https://github.com/jcupitt/libvips/issues/822
2017-12-15 14:21:31 +00:00
John Cupitt
94f458ed04 fix some compiler warnings 2017-12-13 15:49:12 +00:00
John Cupitt
c5a7db6eb6 tiny cleanup 2017-12-10 20:03:58 +00:00
John Cupitt
610a301d4e oop, forgot to free the windows 2017-12-10 17:54:50 +00:00
John Cupitt
3c0a2e4837 fix window cycling
we were repeatedly free-ing and new-ing input mmap windows ... this made
things like zoom out on large images in nip2 much slower than they
needed to be
2017-12-10 17:37:07 +00:00
John Cupitt
e9b7231ac0 add "extend" option to affine
so for upsizing with displacement (like resize) we can prevent dark
edges on bright images

see

https://github.com/jcupitt/php-vips/issues/61
2017-12-07 14:51:07 +00:00
John Cupitt
bc6fa2452b layout tweak 2017-12-07 08:00:19 +00:00
John Cupitt
b90f5852c9
Merge pull request #824 from lovell/debug-build
Allow compilation of debug build
2017-12-07 07:58:36 +00:00
Lovell Fuller
f0949fbfcb Allow -DDEBUG build to compile 2017-12-06 22:04:11 +00:00
John Cupitt
0ade2e972f reenable png interlace test
reenable png interlace test after the fix in

https://github.com/jcupitt/libvips/pull/821
2017-12-05 08:38:52 +00:00
John Cupitt
baab520c9c
Merge pull request #821 from lovell/png-start-read
libvips v8.6.0-beta: ensure interlaced PNG input works with libpng16
2017-12-05 08:26:29 +00:00
Lovell Fuller
8a34ba6e14 Ensure interlaced PNG input works with libpng16
Manually calling png_set_interlace_handling results in the internal
num_rows member of the opaque png_structp not being correctly set.

This appears to be a limitation of libpng so probably needs fixing
upstream before the png_set_interlace_handling call can be re-added.
2017-12-04 21:47:52 +00:00
John Cupitt
697c174bcd more doc fixes 2017-12-04 15:34:31 +00:00
John Cupitt
dcf8588b97 notes for blend mode members 2017-12-04 14:26:55 +00:00
John Cupitt
c5139a0e50 doc fixups
various small things; fix the docs for composite, reduceh and reducev
2017-12-04 13:42:31 +00:00
John Cupitt
0702a01e60 Merge branch 'master' of github.com:jcupitt/libvips 2017-12-04 12:01:08 +00:00
John Cupitt
b876f1d904 try to fix composite docs 2017-12-04 10:40:43 +00:00
John Cupitt
7182276c4d cite was in there twice 2017-12-02 13:06:17 +00:00
John Cupitt
c8abaf4f80 update py notes in README 2017-12-01 15:57:26 +00:00
John Cupitt
60bd5f6512 add composite2 to notes 2017-12-01 13:37:15 +00:00
John Cupitt
0fb6e5a711 Merge branch 'add-extra-dzsave-tiles' 2017-12-01 13:36:12 +00:00
John Cupitt
13a693c8bc Merge branch 'master' into add-extra-dzsave-tiles 2017-12-01 13:33:54 +00:00
John Cupitt
14fd2af396 add composite2 class
so we have a nice CLI interface to the new operator
2017-11-30 12:47:56 +00:00
John Cupitt
df28948b9d typo 2017-11-29 12:51:07 +00:00
John Cupitt
9c8790b40a setting EXIF data blocks sets other tags too
calling vips_image_set() to set the EXIF data block VIPS_META_EXIF_NAME
will automaticaly set other tags, like orientation etc.
2017-11-27 15:15:21 +00:00
John Cupitt
6013962288 better exif write
only remove exif fields not on the image if we made the exif from the saved exif data on the image
2017-11-27 05:54:10 +00:00
John Cupitt
de7636c66b remove "throw" from c++ autogen tools
and output
2017-11-26 17:55:50 +00:00
John Cupitt
10eef89a7f update c++ bindings 2017-11-26 17:45:04 +00:00
John Cupitt
955a5a97cc sRGB2scRGB uses the colour luts directly
rather than going via a function that clips ... about 2x faster
2017-11-26 16:47:24 +00:00
John Cupitt
406e228c9b vips_resize() is always centre convention
it was corner for downsize, but should be centre to match imagemagick
2017-11-26 15:24:40 +00:00
John Cupitt
3754ddb947 remove centre from resize in thumbnail
thanks kleis
2017-11-26 12:01:30 +00:00
John Cupitt
0363ac6ab9 fix indexed hist combine mode
it now tracks which bins have been inited, so min works
2017-11-25 21:23:10 +00:00
John Cupitt
ee4186ae8f revise resize docs 2017-11-25 15:13:20 +00:00
John Cupitt
7db13412e5 deprecate centre option to resize
it's now centre on upsize, corner on downsize

see https://github.com/jcupitt/libvips/issues/705
2017-11-25 14:22:20 +00:00
John Cupitt
cb128eb258 apply --centre to upsize as well as down
we were just using the --centre flag in resize to influence downsize
behaviour -- use it to set upsize as well

see https://github.com/jcupitt/libvips/issues/705
2017-11-25 12:09:01 +00:00
John Cupitt
bb81113312 add credits 2017-11-24 22:12:41 +00:00
John Cupitt
bb0772da51
Merge pull request #815 from lovell/premultiply-match-types
(Un)premultiply: ~10-15% speedup by matching clipped alpha type with IN/OUT
2017-11-24 22:08:50 +00:00