Commit Graph

3675 Commits

Author SHA1 Message Date
John Cupitt 96796d3202 Merge branch 'fix-dzsave-overlap' 2015-09-10 14:08:42 +01:00
John Cupitt 82b4f2037b add some dzsave tests
does not test all options yet though
2015-09-10 14:07:48 +01:00
John Cupitt af472b1237 oops 2015-09-09 17:29:01 +01:00
John Cupitt f1c34932b6 working, at least with bug case
working, at least with robclouth test case

see

https://github.com/jcupitt/libvips/issues/326#issuecomment-138888981
2015-09-09 17:27:19 +01:00
John Cupitt 6ec2364f84 TODO note 2015-09-09 16:08:03 +01:00
John Cupitt 3d0108c3bd almost done fixing dzsave
see

https://github.com/jcupitt/libvips/issues/326

see TODO, problem with bottom edge tiles
2015-09-09 14:53:10 +01:00
John Cupitt 75a0b5b789 add vips_entropy()
calculates image entropy from a histogram
2015-08-11 14:00:43 +01:00
John Cupitt 35232e751d make log/log10 zero-avoiding
stops -inf appearing in images
2015-08-11 13:59:11 +01:00
John Cupitt b3085f9f09 Merge branch 'master' of github.com:jcupitt/libvips 2015-07-30 11:34:12 +01:00
John Cupitt 63d61416e4 warn if autorot + no exif
warn if you use the --rotate option to vipsthumbnail but vips has been
built without libexif

see https://github.com/jcupitt/libvips/issues/319
2015-07-30 11:32:53 +01:00
John Cupitt af4300ed8a fix Python new_from_array()
under some circumstances it could modify the passed-in array, now it
copies
2015-07-27 15:34:19 +01:00
John Cupitt c4206536ee ping travis 2015-07-25 04:52:26 +01:00
John Cupitt 96ed5eb684 get rid of a big stack allocation
we were allocating 100kb in the C stack for a temporary string, instead
format directly to the destination area

some libc have very limited space on the C stack and can't afford this

see https://github.com/lovell/sharp/issues/242
2015-07-24 05:14:40 +01:00
John Cupitt c2e8406ca0 check for unknown exif tags
exif_tag_get_name() can return NULL for unknown tags, check
2015-07-23 15:01:44 +01:00
John Cupitt 6fa6ad40aa update function list for new stuff
oops, forgot to put the new stuff there
2015-07-23 13:24:01 +01:00
John Cupitt d459b2f95d update notes 2015-07-21 16:06:18 +01:00
John Cupitt 4dec42a9e5 oops 2015-07-17 13:20:08 +01:00
John Cupitt 677a7db0db fix the exif mod test 2015-07-17 10:59:42 +01:00
John Cupitt 83cd265e7d one strange issue left 2015-07-16 15:40:11 +01:00
John Cupitt 180e5efe6f store all string metadata as refstr
various things break if you attach a G_TYPE_STRING as metadata, so make
sure it's always VIPS_TYPE_REF_STRING

also, type convert on read
2015-07-16 14:46:20 +01:00
John Cupitt 69fc2c1b7c getting closer ...
fix RefString handling, add a test case
2015-07-16 11:14:33 +01:00
John Cupitt 745a329ba5 Merge branch 'master' into exif-names 2015-07-15 14:52:42 +01:00
John Cupitt 2a6dd4e3d2 oops in ref_string_get
duh typo
2015-07-15 14:52:07 +01:00
John Cupitt fbe321eebf change exif names argh
change exif names again: we were storing under @title, but that's both
subject to i18n, and unlookupable in libexif

we now use @name, which is not subject to i18n and can be searched for
... this will break most code which expects certain exif tag names

also, when we update exif, allow any tag, not just updates to existing
tags, see:

https://github.com/lovell/sharp/issues/189
2015-07-15 13:27:47 +01:00
John Cupitt ee0f082059 test ->time in progress trigger 2015-07-14 13:13:08 +01:00
John Cupitt 9487efc5c3 small doc fix 2015-07-10 14:57:45 +01:00
John Cupitt 7aebe94b9e remove odd/even debug rule
we had debugging auto-enable in odd minor releases, get rid of this
2015-07-10 13:41:12 +01:00
John Cupitt 504daa1509 Merge pull request #313 from zmack/fix_magick_memory_leak
Fix memory leak in magick free
2015-07-10 12:47:53 +01:00
John Cupitt e8fc353736 update README 2015-07-10 12:44:02 +01:00
Andrei Bocan 682e73f4a3 Fix memory leak in magick free 2015-07-10 14:07:52 +03:00
John Cupitt fa8d1d2342 stop dzsave early if the output dir exists
see https://github.com/jcupitt/libvips/issues/312
2015-07-08 14:25:14 +01:00
John Cupitt b3d35da677 don't try to write oversized jpeg markers
see https://github.com/jcupitt/libvips/issues/311
2015-07-08 13:28:50 +01:00
John Cupitt 0ab44b1aff fix invalid profile detection
oops typo
2015-06-30 13:53:36 +01:00
John Cupitt 6ffdc6a7b7 better sanity checking for input profiles
previously it could get RGBA and CMYK images mixed up, see:

https://github.com/lovell/sharp/issues/237
2015-06-26 11:07:00 +01:00
John Cupitt a812e90332 add some docs 2015-06-22 09:42:53 +01:00
John Cupitt bdc96844bd Merge branch 'master' into add-hsv 2015-06-22 09:35:41 +01:00
John Cupitt 14dfda4e02 improve colour docs 2015-06-22 09:35:16 +01:00
John Cupitt f5b6f2d0f7 update docs for scRGB 2015-06-22 07:21:36 +01:00
John Cupitt 17bace3483 fix corrupt test image 2015-06-22 06:52:02 +01:00
John Cupitt 24611b9ec5 add HSV test to test suite 2015-06-21 19:40:45 +01:00
John Cupitt 230cc975fc Merge branch 'master' into add-hsv
Conflicts:
	TODO
2015-06-21 19:33:19 +01:00
John Cupitt 7077356496 another try at improving progress feedback 2015-06-21 19:28:10 +01:00
John Cupitt 12764053db note bug 2015-06-20 11:23:13 +01:00
John Cupitt 801cb67b6f notes 2015-06-20 11:17:04 +01:00
John Cupitt e4c53e59dd fix a compile error 2015-06-20 10:54:24 +01:00
John Cupitt d37454a45c Merge pull request #307 from Jondeen/add-hsv
Add hsv
2015-06-20 09:53:12 +01:00
JonDeen d3307d1168 Removed build file 2015-06-20 00:29:26 +02:00
JonDeen 67d0ef0769 Merge remote-tracking branch 'owner/add-hsv' into add-hsv
Conflicts:
	libvips/colour/sRGB2HSV.c
2015-06-20 00:25:55 +02:00
JonDeen 38c44abc6d Merge branch 'master' into add-hsv 2015-06-20 00:14:51 +02:00
JonDeen 517ea286aa Rid of macros 2015-06-20 00:05:46 +02:00