Commit Graph

29 Commits

Author SHA1 Message Date
John Cupitt e14ae48a67 fix heifsave on ubuntu 18.04 2019-03-14 13:33:11 +00:00
John Cupitt 3010a4a865 remove autorotate from libheif
not possible to support this properly with current libheif
2019-03-05 17:26:08 +00:00
John Cupitt f209870e7b start trying to fix autorotate for heif images 2019-03-05 15:35:58 +00:00
John Cupitt cae57d5670 make heif load/save work with 1.3.2 2019-02-20 12:30:12 +00:00
John Cupitt 1a83605238 Merge branch 'add-heifload' 2019-02-17 17:11:14 +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 2ab2a90e06 add heif tests 2019-01-30 11:13:14 +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 f51a93515e beef up the cmyk tests 2019-01-17 09:06:22 +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 074906f670 fix test suite
- CMYK2XYZ and back now support extra alpha bands
- test suite tests CMYK conversions
- a small bug fixed too
2018-12-28 20:53:25 +00:00
John Cupitt b0c66df72c add cmyk test
fails right now, since CMYKA is not supported by CMYK2XYZ and XYZ2CMYK
(I think)
2018-12-28 15:26:08 +00:00
John Cupitt 9303e382c1 Merge branch '8.7' 2018-12-17 20:31:25 +00:00
John Cupitt 6ba4b3bfdb fix clipping with new mapim cods
we had the clip in the wrong place

see https://github.com/libvips/libvips/issues/1180
2018-12-17 20:29:31 +00:00
John Cupitt 962cab2d0f Merge branch '8.7' 2018-12-17 13:18:58 +00:00
John Cupitt db4fe60405 fix mapim offsets
pixels were not being offset by the stencil origin, so interpolators
like bicubic could fail

thanks @erdmann

https://github.com/libvips/libvips/issues/1180
2018-12-17 12:42:34 +00:00
John Cupitt 24abbb83ab add animated webp tests 2018-11-27 13:36:28 +00:00
John Cupitt b2325697c3 revise xmp in png
back to blob again
2018-11-23 17:20:05 +00:00
John Cupitt 6be70e6799 add xmp load/save for png
plus a test
2018-10-06 11:54:27 +01:00
John Cupitt bb23a1fe6c fix openexr alpha test 2018-08-28 11:18:21 +01:00
John Cupitt b836749b75 close jpeg read early
The current behaviour (close input handles on unref) works for languages
like C / C++ / Python / Rust / etc. where things get unreffed automatically
when they go out of scope.

On languages like Ruby / C# / node / etc. where things are unreffed on GC,
files can stay open for a long time after you've finished with them. This
interacts in an unfortunate way with the Windows default of refusing to
remove open files.

This change closes file handles as soon as the scan of the input file
finishes, and therefore produces something closer to expected behaviour
for GCd languages on Windows.

see https://github.com/kleisauke/net-vips/issues/12
2018-08-16 15:47:48 +01:00
John Cupitt 9a5249ca20 tag unicode strings as unicode
seems to help with py2.7 anyway
2018-08-12 18:25:19 +01:00
John Cupitt 0beb5e9165 make test-suite survive make dist 2018-07-25 17:17:13 +01:00
John Cupitt f005e4a188 add test for new ICO sniffer 2018-07-25 15:34:31 +01:00
John Cupitt e72ad7045d add a nifti test 2018-07-20 17:23:06 +01:00
John Cupitt 2695916afb test region_shrink
just sets the option, does not verify accuracy :(
2018-07-07 17:07:35 +01:00
John Cupitt 43199e7b27 add tests for exif string fields
test exif string tag set/save/load
2018-07-06 17:01:38 +01:00
John Cupitt d510807e90 vmoe the test suite back into libvips 2018-07-06 15:43:20 +01:00