Commit Graph

2753 Commits

Author SHA1 Message Date
John Cupitt
b2cd5f631e fix an obscure dzsave bug
in some cases dzsave could fail to write all the pyramid layers out

the problem was if a layer was odd-sized and needed rounding up so it
could be shrunk from, and if the tile size was such that the final strip
was sized exactly to fit the last line of pixels that would come into
this layer, the final line of pixels could never be interpolated

thanks to Martin for the report
2013-01-17 13:14:47 +00:00
John Cupitt
c570bf902e revert recent changes to nohalo/vsqbs
revert the changes to nohalo/vsqbs that were suppoed to switch to corner
convention, they broke addressing

this needs rethinking
2013-01-16 11:50:34 +00:00
John Cupitt
9599b5dc92 remove RCS tag
thanks testn
2013-01-15 22:14:24 +00:00
John Cupitt
6fe6171973 remove a lot of the internal flag abbreviations
GOption doesn't seem to do anything clever with repeated flag
abbreviations. Remove most of the internal ones to stop clashes with
application flags.
2013-01-15 21:26:42 +00:00
John Cupitt
caa51245c7 improve the cond wait wrapper
by removing it, we don't want to restart the timer on every loop
2013-01-15 17:23:58 +00:00
John Cupitt
384842cd0a make a fresh test dist 2013-01-15 14:52:46 +00:00
John Cupitt
1ae19e896f Merge remote-tracking branch 'origin/7.30'
Conflicts:
	libvips/conversion/sequential.c
	libvips/conversion/tilecache.c
	libvips/deprecated/im_tile_cache.c
	libvips/deprecated/vips7compat.c
	po/vips7.pot
2013-01-15 13:47:48 +00:00
John Cupitt
6ad71d29c5 7.30.7 release 2013-01-15 13:42:26 +00:00
John Cupitt
a431f5e021 clean up after fix
threaded tile cache seems a good solution --- clean up and get ready to
merge back into master
2013-01-14 17:35:05 +00:00
John Cupitt
8ab2f3eeb6 backport threaded tile cache 2013-01-14 14:51:51 +00:00
John Cupitt
ac405862ba argh 2013-01-11 14:51:12 +00:00
John Cupitt
5f917ab7e7 tiny fix for OS X 2013-01-11 10:48:44 +00:00
John Cupitt
91b39670b6 Merge remote-tracking branch 'origin/7.30' 2013-01-11 10:23:31 +00:00
John Cupitt
da0b890e84 argh 2013-01-10 14:46:20 +00:00
John Cupitt
9690bd40e9 better icc profile write for vips2png
tests for icc profile presence before reading, to avoid polluting the
error log
2013-01-09 11:33:13 +00:00
John Cupitt
2b6e3797fe fix libtool version number
we are binary API changed since 7.30, but back compat
2013-01-02 14:11:30 +00:00
John Cupitt
05324ca33c fix up affine
now passes valgrind with both vips7 and vips8 interfaces
2013-01-02 12:52:36 +00:00
John Cupitt
fbfaac319a Merge remote-tracking branch 'origin/master' into corner 2013-01-02 10:18:53 +00:00
John Cupitt
c43924f716 Merge remote-tracking branch 'origin/7.30'
Conflicts:
	ChangeLog
	configure.in
2012-12-31 14:40:30 +00:00
John Cupitt
1e39eb6c75 Merge remote-tracking branch 'origin/7.30' into 7.30 2012-12-31 14:25:14 +00:00
John Cupitt
ee2b1f71ce better option parsing for "vips"
The vips driver program was parsing options in a single pass. This
failed if an option came in two parts, for example:

	vips --plugin x.plg list

the argument to --plug would be picked up as the action for "vips",
since actions were selected before option parsing

Now we parse in two passes: the first pass picks up options for vips
itself and for the libvips library, then we select the action, then we
parse again, including any options created by the action
2012-12-31 14:10:54 +00:00
John Cupitt
f83854b049 small fix 2012-12-24 13:57:01 +00:00
John Cupitt
0951e2faa4 still segving with labq 2012-12-19 14:50:01 +00:00
John Cupitt
7fb57a4ea7 Merge remote-tracking branch 'origin/master' into corner
Conflicts:
	ChangeLog
2012-12-19 11:18:30 +00:00
John Cupitt
8b67d53e56 make VipsArea threadsafe
google maps output needs threaded create / destroy of VipsArea (used to
hold the background colour). We need a lock on VipsArea::count.

Fixes https://github.com/jcupitt/libvips/issues/46

Thanks fuho
2012-12-19 09:58:35 +00:00
John Cupitt
a8b077cb4f sync 2012-12-18 14:50:04 +00:00
John Cupitt
dbdf9c8d83 deprecate vips7 resample dispatch 2012-12-18 13:43:46 +00:00
John Cupitt
e6eb08173f can now displace affine input space
so hopefully that means you can change corner vs. centre convention
easily
2012-12-18 13:08:18 +00:00
John Cupitt
c3a9f9cda5 Merge remote-tracking branch 'origin/master' 2012-12-18 11:49:07 +00:00
John Cupitt
1fc10d56a8 half-way through expanding transform
started putting in input displacement
2012-12-17 09:59:04 +00:00
John Cupitt
40bb7a2eb3 im_affine*() compat functions work too 2012-12-14 15:09:11 +00:00
John Cupitt
f441e3c566 now passes valgrind 2012-12-14 14:58:17 +00:00
John Cupitt
27b9b92c60 now runs! 2012-12-14 14:17:53 +00:00
John Cupitt
4c82d45463 redo im_affine as a class 2012-12-14 12:33:47 +00:00
John Cupitt
418427b8f9 Merge remote-tracking branch 'origin/master' 2012-12-14 01:28:31 +00:00
John Cupitt
950c7fc2bd update "vips --list" usage
thanks ferryfax
2012-12-14 01:27:23 +00:00
John Cupitt
43d69e74e7 use corner convention everywhere
all interpolators use corner convention
2012-12-13 14:10:52 +00:00
John Cupitt
823068a282 notes update 2012-12-13 13:08:52 +00:00
John Cupitt
c5a600b286 tag Radiance images as scRGB
They aren't always, but scRGB is also 0-1 range, so conveniently this
now works:

	vips copy car-stack-eighth.hdr x.jpg
2012-12-13 12:21:02 +00:00
John Cupitt
89ff89ebf8 remove sRGB2XYZ and back
now go via scRGB
2012-12-12 12:43:26 +00:00
John Cupitt
c341f0d134 add scRGB functions 2012-12-11 15:25:28 +00:00
John Cupitt
1bddb78f6a split sRGB <-> XYZ up
split sRGB <-> XYZ into sRGB <-> scRGB <-> XYZ so we can support
scRGB as a colourspace
2012-12-11 13:50:58 +00:00
John Cupitt
77ec00b495 check for NaN etc. in XYZ2sRGB
we were not checking for Inf, NaN etc. and this could cause array
indexes to go out of range
2012-12-11 12:28:25 +00:00
John Cupitt
0274a36863 get the vips8 python binding working again 2012-12-08 05:27:57 +00:00
John Cupitt
4705e90c8c oops 2012-12-07 11:42:18 +00:00
John Cupitt
eba5f05649 vips_invert() only inverts real part 2012-12-07 11:37:00 +00:00
John Cupitt
ee8d11ec6b small cleanups 2012-12-07 11:32:33 +00:00
John Cupitt
3dc10831c1 added vips_bandbool() 2012-12-07 11:17:09 +00:00
John Cupitt
6602b0680a compat wrapper for cross_phase 2012-12-06 21:36:41 +00:00
John Cupitt
1de6c6bcc6 add binary complex ops
cross_phase is the only one atm
2012-12-06 14:52:51 +00:00