Commit Graph

3963 Commits

Author SHA1 Message Date
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
JonDeen
92c046e571 Rid of macros 2015-06-20 00:03:07 +02:00
JonDeen
c66b4f338e correct an err 2015-06-19 23:16:36 +02:00
JonDeen
4c3fc35e00 abs->fabs 2015-06-19 23:07:25 +02:00
John Cupitt
6fc3ec028c better progress feedback 2015-06-19 15:00:48 +01:00
JonDeen
2967a3c4d4 mistypohell 2015-06-16 09:28:40 +02:00
JonDeen
75f42aee7e second go 2015-06-12 01:43:16 +02:00
JonDeen
b24c7ee546 Initial HSV 2015-06-12 01:40:00 +02:00
John Cupitt
e107dd11c0 test band fold/unfold factors 2015-06-11 12:49:11 +01:00
John Cupitt
d7d8e03a86 add @factor to bandunfold 2015-06-11 09:45:14 +01:00
John Cupitt
65c343552c add @factor option to bandfold
how much to fold by
2015-06-10 14:57:50 +01:00
John Cupitt
5e9edbd6d5 oops swap HSV2sRGB IO interpretation
we were overflowing the stack
2015-06-10 12:49:52 +01:00
JonDeen
ff70185dda weird fits 2015-06-10 11:29:37 +02:00