Commit Graph

4542 Commits

Author SHA1 Message Date
John Cupitt c522dae625 Merge branch 'master' into try-round-to-nearest 2016-09-05 13:07:40 +01:00
John Cupitt e971a50700 improve docs for icc_*
note use of _get_typeof() to spot embedded profiles, see

https://github.com/jcupitt/libvips/issues/511
2016-09-04 06:13:54 +01:00
John Cupitt 881f340610 increase size limit for b64 encoded-data
we had 1 mb limit, but some large cmyk profiles can bust through that,
up it to 10mb
2016-09-04 06:12:35 +01:00
John Cupitt 89509337d1 fix segv for length 0 blob print
"vipsheader -f icc-profile-data" could segv for zero-length blob
2016-09-04 06:01:11 +01:00
John Cupitt dac05244f8 fix crash with empty blob metadata
a blob metadata item with length 0 triggered a segv
2016-09-04 05:39:44 +01:00
John Cupitt 0c2d7c955a tiny doc fixes 2016-09-01 22:40:36 +01:00
John Cupitt c4a1ac6310 fix ROUND_UP, add a test for felix's corner case 2016-08-20 13:18:25 +01:00
John Cupitt 271d8656e9 use round() rather than rint() where appropriate
rint() rounds to nearest even, rather than nearest ... in some cases,
like geometry transforms, we want strict nearest
2016-08-20 12:59:41 +01:00
John Cupitt 5376a93866 Merge branch '8.3' 2016-08-19 16:22:09 +01:00
John Cupitt 314042ea9d better gif transparency handling
we were testing (x == 1), we should have tested (x & 0x1), thanks
diegocsandrim

see https://github.com/jcupitt/libvips/issues/502
2016-08-19 16:11:45 +01:00
John Cupitt fe3262f719 test unicode filename support 2016-08-19 09:15:34 +01:00
John Cupitt 8503065faa regen cpp binding
need to update for the xshrink -> hshrink change
2016-08-18 16:03:33 +01:00
John Cupitt 9f3572188c note error msg problem 2016-08-18 14:23:26 +01:00
John Cupitt d1e28fe9d1 progress notes 2016-08-18 14:20:10 +01:00
John Cupitt 04c33a35c3 don't pass fds into giflib either
it seems it's probably not safe to pass fds into DLLs either, so
instead, define an InputFunction and read from the input file in that
2016-08-18 12:37:37 +01:00
John Cupitt 455acae66c notes on magickcore and unicode 2016-08-18 09:50:14 +01:00
John Cupitt 578764b582 gifload does unicode on win
sigh again
2016-08-17 14:37:15 +01:00
John Cupitt 030921efc6 make all tools unicode-aware on windows
sigh
2016-08-17 12:14:43 +01:00
John Cupitt d89dd8d073 add unicode tiff open on windows
also fix make dist,
2016-08-17 10:06:40 +01:00
John Cupitt feca00958c seems to be sort-of working! 2016-08-16 18:33:48 +01:00
John Cupitt eb49347abb start adding better filename handling 2016-08-16 16:22:38 +01:00
John Cupitt da546ec429 stop win git adding CRLF to some files 2016-08-16 09:31:12 +01:00
John Cupitt 476f2157b8 add a .gitattributes
stops git on Windows adding CRLF line endings to various files

see https://github.com/jcupitt/libvips/issues/500#issuecomment-239968255
2016-08-16 09:21:54 +01:00
John Cupitt 1f403a4add first attempt
seems to all work, test it a bit more

see https://github.com/jcupitt/libvips/issues/491
2016-08-15 15:45:26 +01:00
John Cupitt 91e31cb830 more tweaks for travis 2016-08-14 21:44:55 +01:00
John Cupitt 762c655a5c try to help travis 2016-08-14 21:33:33 +01:00
John Cupitt 5df5793457 done!
all tests done, all pass with magick6 and magick7
2016-08-14 18:39:40 +01:00
John Cupitt 20298b0d9a better all_frames on gif sources
some frames can be missing some lines
2016-08-14 17:39:01 +01:00
John Cupitt 9143bda915 Merge branch 'master' into add-magick7 2016-08-14 10:25:03 +01:00
John Cupitt 933080a265 Merge branch 'master' of github.com:jcupitt/libvips 2016-08-13 16:47:06 +01:00
John Cupitt 98bb078a96 update TODO 2016-08-13 16:46:47 +01:00
John Cupitt cbce10db81 allow missing offset in matrix header
defaults to zero
2016-08-12 10:39:03 +01:00
John Cupitt d2effba8f6 float output from worley 2016-08-11 21:58:53 +01:00
John Cupitt 88252e6794 float output from worley
no need to int it
2016-08-11 21:51:58 +01:00
John Cupitt 3f5e890450 Merge branch 'rewrite-convf' 2016-08-11 21:40:38 +01:00
John Cupitt b75a533493 done as much as we can
abandon our current conva system, use a cumulative image instead
2016-08-11 21:39:04 +01:00
John Cupitt aacdce561e revise TODO 2016-08-06 20:45:43 +01:00
John Cupitt 23e318eb0a better seq behaviour in case of error
look for seq errors on cond wake as well
2016-08-06 20:38:03 +01:00
John Cupitt 0f55c9b7ac note change on README too 2016-08-05 15:00:37 +01:00
John Cupitt db8dafb430 and travis to 2016-08-05 14:58:27 +01:00
John Cupitt 3dd88d7752 argh 2016-08-05 14:57:36 +01:00
John Cupitt 866cfd5ce3 rename bootstrap.sh as autogen
necessary for snapcraft
2016-08-05 14:52:34 +01:00
John Cupitt ff819bfe63 small speedup for reduceh 2016-08-05 09:02:10 +01:00
John Cupitt 039997780b bump API version for new function
thanks Benjamin
2016-08-05 08:52:50 +01:00
John Cupitt 8c05a2bbe8 argh all_frames doesn't work for gif 2016-08-04 15:55:06 +01:00
John Cupitt 40f01fdb2b Merge branch 'master' into add-magick7 2016-08-04 14:15:46 +01:00
John Cupitt f39538ffc7 don't Ping, always Read
sadly PingImage() cannot give useful results for at least DICOM images,
so we can't use it ... instead, read the image in _header()
2016-08-04 14:13:54 +01:00
John Cupitt 0c7053bae1 Merge branch 'master' of github.com:jcupitt/libvips 2016-08-04 12:38:04 +01:00
John Cupitt ad046680f7 tiny polish to cpp 2016-08-04 12:37:48 +01:00
John Cupitt e6bf970911 hit a snag 2016-08-04 10:11:21 +01:00