John Cupitt
37613c196d
fix jpeg xmp read/write
...
it was not removing/reattaching the magic XMP URL
see https://github.com/libvips/libvips/issues/1229
2019-02-11 18:16:20 +00:00
John Cupitt
72f6f667c9
make C# binding clearer
2019-02-10 05:31:33 +00:00
John Cupitt
2968bee3fa
add n-pages metadata to gifload
...
gifload was not setting the n-pages metadata item.
n-pages is supposed to be the number of pages in the original file (not
the number of pages libvips loaded), but we don't always know this for
gif, since you have to decode the entire file to count the pages.
As a compromise, set it to the page number of the final page we read.
See https://github.com/lovell/sharp/issues/1566
2019-02-08 10:53:57 +00:00
John Cupitt
06d71f6df3
raise magicksave threshold
2019-02-07 18:51:57 +00:00
John Cupitt
931b661d2b
fix up and test with im6/im7/gm
...
seems to work! phew
2019-02-07 18:35:51 +00:00
John Cupitt
90fef08ee0
start adding xmp/icc/exif/etc. for IM
...
needs to work for im6, im7 and gm, and it's not quite there yet :(
2019-02-06 16:39:14 +00:00
John Cupitt
10b3000581
reorganise magicksave a little
2019-02-06 10:24:11 +00:00
John Cupitt
71664346c0
Merge pull request #1224 from DarthSim/feature/gm_magicksave
...
vips_magicksave for GraphicsMagick
2019-02-06 09:44:31 +00:00
DarthSim
cd1560c1cb
vips_magicksave for GraphicsMagick
2019-02-06 00:07:30 +06:00
John Cupitt
8d5af9fe8a
add xmp/ipct/icc etc. to magickload
...
ImageMagick supports binary metadata with `ResetImageProfileIterator()`
etc.
Implementing support gives us xmp / ipct / icc support, plus perhaps
some others.
2019-02-04 17:54:57 +00:00
John Cupitt
38bd4f1be4
break lines at 80 cols in gen-operators
...
plus tiny cleanups
2019-02-03 13:18:22 +00:00
John Cupitt
96cc19b5e9
Merge pull request #1220 from kleisauke/generate-cpp-pyvips
...
Use pyvips to generate the C++ binding
2019-02-03 12:46:03 +00:00
John Cupitt
f23d0fd754
note new option_string param in changelog
2019-02-03 12:27:58 +00:00
John Cupitt
06a1eae3b6
Merge pull request #1221 from kleisauke/thumbnail_buffer_options
...
vips_thumbnail_buffer: add optional option_string argument (#1147 )
2019-02-03 12:13:52 +00:00
kleisauke
f40062c495
s/open_args/option_string/g
2019-02-03 12:29:54 +01:00
kleisauke
241f52fb54
Fix compatibility with Makefile
...
+ all operations are now provided with a C++ style comment block.
2019-02-03 12:13:04 +01:00
kleisauke
05c459cc28
vips_thumbnail_buffer: add optional open_args argument ( #1147 )
2019-02-02 09:26:12 +01:00
kleisauke
de27688eea
Use pyvips to generate the C++ binding
2019-02-01 21:45:12 +01:00
John Cupitt
097bb815b7
pdfium load as well
2019-01-30 20:59:40 +00:00
John Cupitt
671b3e76f5
set page-height more often in pdfload
2019-01-30 20:58:47 +00:00
John Cupitt
2ff6786a4c
nudge travis
2019-01-25 16:20:39 +00:00
John Cupitt
40e272ce99
Merge pull request #1218 from lovell/profile-load-leaks
...
profile_load: ensure once-ness, prevent profile use-after-free (master)
2019-01-25 12:51:38 +00:00
Lovell Fuller
97a98bcb7d
Ensure once is invoked once, prevent profile use-after-free
2019-01-25 11:33:40 +00:00
John Cupitt
2835948070
fix typo in docs
2019-01-25 05:04:24 +00:00
John Cupitt
dcba364efa
Merge branch 'zero-mem-on-malloc'
2019-01-18 11:31:11 +00:00
John Cupitt
4cbc280c8a
fix cmyk test with lcms2
...
we were using a dark region of the test image
2019-01-18 10:22:19 +00:00
John Cupitt
00622428bd
zero memory on malloc
...
to prevent write of uninit memory under some error conditions
thanks Balint
2019-01-18 10:10:43 +00:00
John Cupitt
00dfb70801
Merge branch 'master' of github.com:libvips/libvips
2019-01-18 09:48:54 +00:00
John Cupitt
c24e47e3a8
fix profile attach on colour output
...
some dead code needed removing
https://github.com/libvips/libvips/issues/1194#issuecomment-455164899
2019-01-17 16:36:25 +00:00
John Cupitt
f51a93515e
beef up the cmyk tests
2019-01-17 09:06:22 +00:00
John Cupitt
1824c64c06
break >80 char line
2019-01-17 08:59:14 +00:00
John Cupitt
d33227b3c4
Merge pull request #1214 from lovell/profile-load-build-leak
...
Ensure ICC profile data is freed after use (master)
2019-01-16 22:33:53 +00:00
Lovell Fuller
a264f812ac
Ensure ICC profile data is freed after use
2019-01-16 21:49:47 +00:00
John Cupitt
a7122d7a85
revise XYZ2CMYK fallback path
...
better epsilon detect, add a test
2019-01-16 21:02:01 +00:00
John Cupitt
a67f92b8d9
reformat in vips style
2019-01-16 20:18:09 +00:00
John Cupitt
d3c73b4d39
Merge pull request #1196 from dbouron/cmyk2srgb
...
Add cmyk <-> srgb colourspace conversion
2019-01-16 20:08:35 +00:00
Dimitri Bouron
5f61727253
Fix black channel overwrite in XZY2CMYK.c
2019-01-16 19:06:36 +01:00
John Cupitt
f90de3c25d
fix some links in docs
2019-01-16 17:45:02 +00:00
John Cupitt
10290c3dd6
fix function name error on old glibs
...
see https://github.com/libvips/libvips/pull/1211#discussion_r248280743
2019-01-16 13:37:50 +00:00
John Cupitt
00982f6297
add changelog notes
...
and small formatting issues
2019-01-15 09:36:31 +00:00
John Cupitt
39d17f6249
Merge pull request #1211 from lhecker/master
...
vips_image_temp_name: Fixed race condition / heap-buffer-overflow
2019-01-15 08:43:25 +00:00
Leonard Hecker
ab6126d55d
Addressed review comments
2019-01-14 21:54:50 +01:00
John Cupitt
962f677e13
Merge pull request #1212 from lovell/webp-reduction-effort
...
Expose libwebp reduction_effort parameter
2019-01-14 20:44:24 +00:00
Lovell Fuller
d134e05395
Expose libwebp reduction_effort parameter
2019-01-14 19:55:52 +00:00
Leonard Hecker
3dd4ddddc8
vips_image_temp_name: Fixed race condition / heap-buffer-overflow
...
vips_image_temp_name can be called concurrently and thus
the usage of the static "name" array is not thread safe.
-fsanitize=address complains about heap-buffer-overflow due to this.
2019-01-14 19:38:18 +01:00
John Cupitt
11fcd21b8a
fix build without lcms
2019-01-14 11:25:50 +00:00
John Cupitt
66557867fa
Merge pull request #1200 from kleisauke/travis-test-suite
...
Travis fixes
2019-01-12 23:02:38 +00:00
John Cupitt
bcc76c6edb
Merge branch 'master' into tiff-pyr-stop-at-1-pixel
2019-01-12 15:48:17 +00:00
John Cupitt
8ded32ac20
Merge branch 'master' into cmyk2srgb
2019-01-12 14:39:20 +00:00
John Cupitt
75ebb162f9
Merge branch 'master' into add-icc-fallbacks
2019-01-12 13:58:30 +00:00