Commit Graph

5625 Commits

Author SHA1 Message Date
John Cupitt
4a461e2507 fix data return from heifsave_buffer 2019-01-30 04:18:49 +00:00
John Cupitt
62ba86cfd0 add heif buffer save 2019-01-29 17:21:13 +00:00
John Cupitt
a837b66cc1 add strip support to heicsave 2019-01-29 16:53:39 +00:00
John Cupitt
cae7838f86 heifsave seems to work 2019-01-29 16:40:34 +00:00
John Cupitt
a833764878 start heifsave 2019-01-29 10:27:00 +00:00
John Cupitt
07e5f30829 add heifload_buffer 2019-01-29 01:48:10 +00:00
John Cupitt
3d768ef635 split to a separate heif file class 2019-01-28 22:16:56 +00:00
John Cupitt
ff711e97ef add support for ignore_transformations
so you can turn off orientation etc. for heif images
2019-01-28 15:30:15 +00:00
John Cupitt
472f9da0ad add XMP read to heifload 2019-01-28 14:30:12 +00:00
John Cupitt
ed7c6b9fd4 cleanups
xmp next
2019-01-27 13:20:06 +00:00
John Cupitt
95b328ccef add multi-page load to heifload
seems to work
2019-01-27 12:57:08 +00:00
John Cupitt
d75b007191 start adding multipage input 2019-01-24 19:01:55 +00:00
John Cupitt
086f1b2ba8 add note on profile types 2019-01-20 21:38:24 +00:00
John Cupitt
e131f173a0 fix up exif parse, add icc profile attach 2019-01-20 21:08:06 +00:00
John Cupitt
5e78ae9b1e add exif support to heifload
potentially other metadata too, though I don't have any to test with
2019-01-20 17:55:56 +00:00
John Cupitt
33fd2a48f0 basic load works
no metadata, no options
2019-01-20 11:33:12 +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
John Cupitt
d2f48a8875 remove a stray floor() from cast
thanks lovell
2019-01-12 13:51:35 +00:00
John Cupitt
98def52715
Merge pull request #1210 from lovell/cast-remove-float-floor
Avoid artefacts when casting from float to int (master)
2019-01-12 13:48:25 +00:00
Lovell Fuller
f815ec6801 Truncate rather than floor when casting from float to int 2019-01-11 18:09:20 +00:00
John Cupitt
f0439fbb65
Merge pull request #1209 from kleisauke/add-missing-cpp-functions
Add missing C++ functions
2019-01-11 14:21:45 +00:00
Kleis Auke Wolthuizen
c397543c8e Add a std::string overload function for new_from_buffer 2019-01-11 13:53:09 +01:00
Dimitri Bouron
d87bf01fdc Add cmyk <-> xyz default colourspace conversion
If no lcms2 library has been found, fallback to default
cmyk <-> xyz conversion.
Please note that it is an approximative conversion.
2019-01-11 11:48:25 +01:00
John Cupitt
0dcb2d1ef2 Merge branch 'master' into add-icc-fallbacks 2019-01-11 09:20:13 +00:00
John Cupitt
f768029298 make the savers use profile_load
tiff, jpeg and png save all use profile_load to attach profiles
2019-01-11 06:30:06 +00:00