Commit Graph

2161 Commits

Author SHA1 Message Date
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
John Cupitt
a83da34355 more deprecations
im_point*() and im_linreg() this time
2012-12-06 14:10:43 +00:00
John Cupitt
797805f7e3 don't print output args on fail 2012-12-06 13:54:32 +00:00
John Cupitt
81158d5b34 clean up notes 2012-12-05 21:52:37 +00:00
John Cupitt
5b271d16ed deprecate im_maxpos_avg()
and add wrappers for im_maxpos_vec() / im_minpos_vec()
2012-12-05 21:44:41 +00:00
John Cupitt
a4433f1b9f vips_min() done too 2012-12-05 14:40:01 +00:00
John Cupitt
1e332d2f29 vips_max() returns arrays for position and value
int array type too for x/y position arrays
2012-12-05 13:11:29 +00:00
John Cupitt
4b9ca4cfce add compat stubs 2012-12-05 09:09:52 +00:00
John Cupitt
97d1431abe move arith_dispatch to deprecated 2012-12-05 08:52:04 +00:00
John Cupitt
713ecf8252 compiles 2012-12-04 14:57:41 +00:00
John Cupitt
7a202cf95e Merge remote-tracking branch 'origin/master' into newmaxmin
Conflicts:
	TODO
2012-12-04 12:49:04 +00:00
John Cupitt
1ceb85eb5b move colour_dispatch to deprecated 2012-12-04 10:23:42 +00:00
John Cupitt
1aee7b73d5 start new max hacking 2012-12-03 14:53:10 +00:00
John Cupitt
6f22c00df4 NN now rounds down rather than to nearest
nearest-neighbour interpolation now strictly rounds down rather than
rounding to nearest

round to nearest caused strange half-pixels along top/left image edges
during enlargement, and extra 1.5 sized pixels everywhere else

instead we should fix the thing that round to nearest was supposed to fix by
adding an extra pair of params to the affine transform which displace in
input space (dx/dy displace in output space)
2012-11-30 21:35:12 +00:00
John Cupitt
20ce700e23 jpeg tag read/write cleanups 2012-11-22 09:15:02 +00:00
John Cupitt
c3ef2be4ab preserve jpeg ipct data
now copies over ipct data from app13, thanks Gary
2012-11-21 21:33:50 +00:00
John Cupitt
65b4056c84 jpeg read is less fussy about exif data
even read truncated exif
2012-11-21 18:34:20 +00:00
John Cupitt
006d4ece17 Merge branch 'master' of github.com:jcupitt/libvips 2012-11-21 17:49:41 +00:00
John Cupitt
ef54a06f80 clean up deprecated class list 2012-11-21 11:12:19 +00:00
John Cupitt
047d78261a tiny fixes 2012-11-21 10:00:57 +00:00
John Cupitt
563613fd00 fix a typo 2012-11-19 12:34:33 +00:00
John Cupitt
b3a6596732 small portability fixes 2012-11-18 09:44:45 +00:00
John Cupitt
9710679240 update make dist 2012-11-16 21:45:52 +00:00
John Cupitt
43e1cdacee update exif pixel dimensions on save
also update exif-ifd2-Pixel X Dimension etc. on jpeg save
2012-11-16 20:03:44 +00:00
John Cupitt
7025fe4081 more exif read improvements
some jpegs use a signed long to store the resolution unit (??), remove
the checks on tag format for res unit
2012-11-16 19:53:59 +00:00
John Cupitt
74f545fc6f keep exif rationals as a/b
we went via double before, which caused awful problems trying to
generate nice rationals again on save

keep everything as a/b as long as we can
2012-11-16 13:50:49 +00:00
John Cupitt
fcc33020bd better exif handling
- track ifd numbers for each item of exif
- be more careful about which ones we update
- don't update xres/yres in vips_shrink()
2012-11-16 10:03:31 +00:00
John Cupitt
717266ad2b Merge branch 'master' of github.com:jcupitt/libvips 2012-11-15 12:06:34 +00:00
John Cupitt
1f42132d8b Merge remote-tracking branch 'origin/7.30'
Conflicts:
	libvips/conversion/tilecache.c
2012-11-15 12:06:03 +00:00
John Cupitt
9abb7a1fd1 Merge remote-tracking branch 'origin/7.30'
Conflicts:
	ChangeLog
	configure.in
	libvips/conversion/tilecache.c
	po/vips7.pot
2012-11-14 14:52:27 +00:00
John Cupitt
efcc53859a capture tiff warnings during startup
We were not capturing warnings from libtiff until we used libtiff
ourselves. Other libraries whcih we call, such as ImageMagick, could use
libtiff and generate an uncaptured warning.

On Windows these warnings each produced a popup.
2012-11-14 14:44:21 +00:00
John Cupitt
4ab937a8b6 fix library versioning mixup
thanks benjamin
2012-11-14 09:59:30 +00:00
John Cupitt
767bfc3b7f allow absolute file names in vipsthumbnail -o
thanks fuho
2012-11-13 20:09:30 +00:00
John Cupitt
40fd51d165 Merge branch 'master' of github.com:jcupitt/libvips 2012-11-13 18:10:12 +00:00
John Cupitt
29967a6f7a Merge pull request #41 from sepastian/readme_dependencies_update
Readme dependencies update
2012-11-13 08:43:56 -08:00
John Cupitt
8a4ac14d93 Merge pull request #39 from sepastian/batch_script_arguments
tools/batch_* scripts: verify number of arguments before invoking 'shift'
2012-11-13 08:42:42 -08:00
Sebastian Gassner
a29d1ee7f2 README: adding some additional dependencies needed to bootstrap/make on Debian wheezy/sid. 2012-11-13 16:39:11 +01:00
Sebastian Gassner
274da3dcb6 tools/batch_* scripts: verify number of arguments before invoking 'shift'. 2012-11-13 15:11:34 +01:00
John Cupitt
fdaad16407 better --help output for vips driver prog
now lists possible actions
2012-11-13 12:51:58 +00:00
John Cupitt
b03d48e24b make linecache 50% larger
thanks ferryfax, see:

https://github.com/jcupitt/libvips/issues/36
2012-11-12 14:17:21 +00:00
John Cupitt
f561785274 typo 2012-11-12 14:14:23 +00:00
John Cupitt
b6a1c87d9c vips_quadratic() uses an interpolator 2012-11-09 14:53:32 +00:00
John Cupitt
8f364a8b51 rename some _get funcs
all the _get_ funcs that returned a bool have become _isthing()
functions, eg.

vips_object_argument_get_assigned() ->
  vips_object_argument_isset()
2012-11-09 13:08:59 +00:00