Commit Graph

5335 Commits

Author SHA1 Message Date
John Cupitt
43e2f2bf9a Merge branch 'master' of github.com:jcupitt/libvips 2018-01-27 11:43:31 +00:00
John Cupitt
e0fd75266c update opens-files chapter 2018-01-27 11:43:03 +00:00
John Cupitt
c8afbb92e2 update doc 2018-01-26 15:34:52 +00:00
John Cupitt
97a4ed2ca9 fix a c++ warning
see https://github.com/jcupitt/libvips/pull/864
2018-01-26 07:56:43 +00:00
John Cupitt
2cd606bdb2
Merge pull request #864 from lovell/missing-sentinel-composite
composite.cpp: silence 'missing sentinel' warnings in GCC v6+
2018-01-26 07:37:17 +00:00
Lovell Fuller
89d8fb3380 Silence 'missing sentinel' warnings in GCC v6+ 2018-01-25 23:18:28 +00:00
John Cupitt
799b1e4910 fix --without-magick
it didn't interact well with the new magickload/magicksave flags, thanks
Alex

see https://github.com/jcupitt/libvips/issues/862
2018-01-24 09:28:02 +00:00
John Cupitt
67bacdb118 add note on cmyk profiles
to the vipsthumbnail docs, see

https://github.com/jcupitt/libvips/issues/861
2018-01-23 13:09:51 +00:00
John Cupitt
39406877a2 Merge branch '8.6' 2018-01-12 17:23:24 +00:00
John Cupitt
94daa18884 fix read of plane-separate, large-strip tiff
TIFFReadScanline() is too fiddly to use on plane-separate, large-strip
images ... ban it!

see https://github.com/jcupitt/libvips/issues/855
2018-01-12 17:04:47 +00:00
John Cupitt
18f530c724 Merge branch '8.6' 2018-01-12 12:02:41 +00:00
John Cupitt
24c07cfde2 revert an accidental ABI break
the new window manager code in 8.6.1 changed the prototype of an internal
function which was visible in the public API

this patch renames the function, adds it to an internal header instead,
and adds a stub for the old prototype

see https://github.com/jcupitt/libvips/issues/854
2018-01-12 11:56:17 +00:00
John Cupitt
25ff103408 fix build without magicksave
an ifdef was in the wrong place
2018-01-12 11:28:34 +00:00
John Cupitt
f27b5a81f7 register magicksave for gif and bmp 2018-01-10 08:30:52 +00:00
John Cupitt
c9b87ce4f5 fix a thread leak in sink_screen
we were not joining the bg render thread when it exited

instead, keep the thread around with a semaphore for it to wait on
2018-01-08 11:47:47 +00:00
John Cupitt
3fde3cf4ba better thread leak reporting 2018-01-07 11:45:12 +00:00
John Cupitt
925667f8d3 Merge branch '8.6' 2018-01-05 16:29:56 +00:00
John Cupitt
1b89d62eb5 fix a race associated with sink_screen
sink_screen was not keeping a ref to its input, so in rare conditions
it could try to make a region on a dead image
2018-01-05 16:27:44 +00:00
John Cupitt
3dfd6b8643 missed another vips-8.5 reference 2018-01-03 10:39:44 +00:00
John Cupitt
68e0067840 note rgb->g improvement 2018-01-03 08:34:15 +00:00
John Cupitt
917d61e785
Merge pull request #842 from lovell/perf-scRGB2BW
Perf: ~15% improvement in conversion to greyscale
2018-01-03 08:27:40 +00:00
Lovell Fuller
768ab7fa8f Improve greyscale perf by using isinf/isnan after calc 2018-01-02 20:36:14 +00:00
John Cupitt
da7b62680d simpler profile handling for thumbnail
use the fallback handling logic in vips_icc_*() instead of having our own
2018-01-01 18:52:54 +00:00
John Cupitt
4c2434ab67 fix memleak in dzsave
tree elements were not being freed, thanks lovell

see https://github.com/jcupitt/libvips/issues/837
2018-01-01 11:40:04 +00:00
John Cupitt
6f2861df5b move META_SEQ support into foreign load
simplifies loaders a bit
2018-01-01 11:14:27 +00:00
John Cupitt
86e07236b9 Merge branch '8.6' 2017-12-31 13:52:08 +00:00
John Cupitt
faeb68e993 improve seq fix
simpler logic, more reliable unset
2017-12-31 13:51:29 +00:00
John Cupitt
39ab05469f Merge branch '8.6' 2017-12-31 12:57:57 +00:00
John Cupitt
9febc3ac3e seq could be set on small random images
images under the disc threshold opened in random access mode from
sequential loaders would have the seq tag set on them, causing
performance problems with vips_resize()

see https://github.com/jcupitt/libvips/issues/840
2017-12-31 12:56:11 +00:00
John Cupitt
a128149009 Merge branch '8.6' 2017-12-31 10:39:36 +00:00
John Cupitt
83e36880da more compat for older IPCT code
add IPTC data under the name "ipct-data" as well
2017-12-31 10:38:35 +00:00
John Cupitt
77287a938f fix misspelling of IPTC as IPCT
the letters have been accidentally swapped for years

add a compat macro so older code still works
2017-12-31 10:23:27 +00:00
John Cupitt
1b3329acc4 add C API wrappers for magicksave 2017-12-23 17:27:26 +00:00
John Cupitt
8d08255ff7 rename HAVE_MAGICK as HAVE_MAGICK6
clearer meaning
2017-12-23 17:13:44 +00:00
John Cupitt
585469b192 add configure flags for magick load and save
so you can turn load and save on and off independently
2017-12-23 16:57:36 +00:00
John Cupitt
140a3b3ed0 try to improve error handling in magicksave 2017-12-23 14:53:15 +00:00
John Cupitt
af51114352 remove duplicate jpeg suffs definition 2017-12-23 14:27:56 +00:00
John Cupitt
e830ca7776 fix greyscale magicksave write
credit kleisauke
2017-12-23 14:16:29 +00:00
John Cupitt
43c3db76c2 bump version in wrapper script
fixes make check
2017-12-23 14:14:10 +00:00
John Cupitt
e12df167e6 Merge branch 'magicksave' of https://github.com/dlemstra/libvips into dlemstra-magicksave 2017-12-23 12:39:50 +00:00
John Cupitt
7ab77d66c3 move magicksave write struct into class
magicksave used to have its own Write struct to track write state.
Instead, keep the write state in the save class.

break the magick6/magick7 compat wrappers out into a separete file so they
can be shared with the loaders.

small style changes.
2017-12-23 12:12:11 +00:00
Dirk Lemstra
6b0f676a5e Fixed issue with grayscale images. 2017-12-22 22:06:11 +01:00
John Cupitt
19bc20f14d Merge branch 'magicksave' of https://github.com/dlemstra/libvips into dlemstra-magicksave 2017-12-22 15:53:25 +00:00
Dirk Lemstra
e8df2aa190 Added extra check to fix issue with zero height. 2017-12-22 02:09:45 +01:00
Dirk Lemstra
90167902b9 Added define for loading with ImageMagick. 2017-12-22 01:59:56 +01:00
Dirk Lemstra
383125a031 Moved code to magicksave.c and added extra define to enable only saving with ImageMagick. 2017-12-22 01:52:17 +01:00
John Cupitt
1feaeb230e
Merge pull request #836 from ThatOdieGuy/patch-1
Fixing links for Build for Windows & OS X.
2017-12-19 09:02:11 +00:00
John Cupitt
eea8b61f3f tiny cleanup
make the code for error during jpeg buffer write a little cleaner --
rather than calling the jpeg term method ourselves, have a separate
destroy function for the write buffer
2017-12-19 08:56:51 +00:00
John Cupitt
ce2ec4cf01
Merge pull request #835 from lovell/fix-jpegsave-buffer-error-leak
Prevent ~15KB leak for JPEG buffer output error
2017-12-19 08:26:55 +00:00
Mike Odom
a410fef94c
Fixing links for Build for Windows & OS X. 2017-12-18 13:38:01 -08:00