Commit Graph

3007 Commits

Author SHA1 Message Date
John Cupitt
7888526361 fix some compiler warnings
various false positives from gcc -O3 flow analysis
2014-08-05 19:23:56 +01:00
John Cupitt
46673b60d7 small docs fixups 2014-08-05 10:09:13 +01:00
John Cupitt
ebeee822bc better rounding behaviour for bicubic
fixed-point bicubic was not rounding to nearest, introducing some noise
in flat areas
2014-08-05 10:02:11 +01:00
John Cupitt
e4996d8dce don't set shrink too low 2014-08-04 21:25:19 +01:00
John Cupitt
f1df91eebb vipsthumbnail defaults to bicubic + noshapen
if bicubic is available
2014-08-04 09:55:18 +01:00
John Cupitt
ebec31fe4a more careful p->t conversion
When we convert an image from "p" to "t" in vips_image_wio_input(), zap
start/gen/stop callbacks. This makes vips_region_prepare_to() read from
the "t" rather than trying to gen pixels again.
2014-08-03 17:59:25 +01:00
John Cupitt
004c98f296 pngsave interlaced makes a copy of the image
interlaced png is hard to write: you have to make seven passes over the
image to make the whole file. It advertises itself as sequential, it
needs to only ake a single pass. Therefore, it must take a copy in
memory of the image to write.
2014-08-03 09:34:46 +01:00
John Cupitt
d438649fcb update notes 2014-08-02 05:14:37 +01:00
John Cupitt
274e6c1b2b revise affine, yet again
how can this be so hard

the tougher self-tests in nip2/test/extras now all pass
2014-08-01 16:34:09 +01:00
John Cupitt
9ddca0e99e change @whole_slide to @autocrop
on seconds thoughts, make openslide crop-on-load an option, not the
default

also, clip image bounds against image size
2014-07-31 09:04:32 +01:00
John Cupitt
639c22bf53 add "whole_slide" toggle
openslideload now crops to image bounds (if set) ... use @whole_slide to
stop this autocrop
2014-07-30 12:27:19 +01:00
John Cupitt
0bb8a218bb exit() in fewer cases
we now only exit() when we know the stack has been trashed, just warn in
other cases
2014-07-29 15:23:27 +01:00
John Cupitt
2115c6d166 sync 2014-07-29 09:59:33 +01:00
John Cupitt
5d8ba8b28f more doc additions 2014-07-26 11:19:46 +01:00
John Cupitt
20a239149f Merge commit 'f4671f46e807db0e02d763e3a1685ad012eace5b' into 7.40 2014-07-25 19:47:04 +01:00
John Cupitt
0114afa5fb limit nthr on tiny images
we always made N threads for a threadpool ... we could end up making
loads of threads we never used if the image was tiny

for very small images, limit the number of threads we make
2014-07-25 14:51:29 +01:00
John Cupitt
91cb6cd8c4 remove an old comment 2014-07-25 14:13:33 +01:00
John Cupitt
a338a48c63 fix a race in im_maxpos_avg() 2014-07-25 13:52:36 +01:00
John Cupitt
f4671f46e8 more work on docs
started adding .xml intro to vips sections
2014-07-25 09:22:49 +01:00
John Cupitt
79a144c3f0 doc improvements 2014-07-23 16:03:55 +01:00
John Cupitt
4059012746 Merge pull request #145 from deepak1556/bootstrap_patch
remove isc-posix.m4
2014-07-18 09:03:34 +01:00
Robo
fd27d67211 remove isc-posix.m4 2014-07-18 03:20:36 +05:30
John Cupitt
0ced5cb24b add webp support to vips7
see https://github.com/jcupitt/libvips/issues/144
2014-07-17 09:09:39 +01:00
John Cupitt
a0a6868d90 better error detection in vips_system() 2014-07-17 03:31:58 +01:00
John Cupitt
9d096c39f1 update notes 2014-07-16 14:54:51 +01:00
John Cupitt
87698cc961 sync 2014-07-16 11:34:41 +01:00
John Cupitt
cdecee2705 more vips7 compat fixes
thanks steve
2014-07-16 09:40:26 +01:00
John Cupitt
df289f1bea better im_openout() compat 2014-07-15 22:00:45 +01:00
John Cupitt
235eb87aa5 sort out sense of fourier filter masks 2014-07-15 09:05:00 +01:00
John Cupitt
1a76dad162 better lindetect compat 2014-07-14 16:06:34 +01:00
John Cupitt
fb05cef56a improve im_compass() back compat 2014-07-14 15:30:02 +01:00
John Cupitt
c90c218db2 better back compat for im_compass() 2014-07-14 15:08:25 +01:00
John Cupitt
388f25fc0c vips_scale() needs round to nearest
or we can get rounding errors in some cases
2014-07-14 14:36:35 +01:00
John Cupitt
91eeeafa05 remove a copy from copy_file
we can send directly to output
2014-07-14 14:30:58 +01:00
John Cupitt
e358cb1867 tiny fix to help valgrind 2014-07-14 12:56:08 +01:00
John Cupitt
89f8c58057 tiny vips_scale() fix
vips_scale() on a black image now returns an image with the right number
of bands ... was always a 1 band image before
2014-07-13 10:43:50 +01:00
John Cupitt
a9fdde9ddb fix im_point()
oops ... helps ruby-vips self test
2014-07-12 15:29:02 +01:00
John Cupitt
1a8dd2f299 fix affine identity transform with clipping 2014-07-08 17:09:42 +01:00
John Cupitt
987021a68d notes 2014-07-04 14:46:28 +01:00
John Cupitt
c2ae9f30c6 fix vips_rawsave_fd()
see https://github.com/jcupitt/libvips/issues/143

thanks aferrero2707
2014-07-04 13:58:47 +01:00
John Cupitt
70eacc4543 Merge branch 'dzsave-metadata'
Conflicts:
	ChangeLog
2014-07-03 09:42:13 +01:00
John Cupitt
e6a75049c4 Merge branch 'master' of github.com:jcupitt/libvips
Conflicts:
	TODO
2014-07-03 09:41:16 +01:00
John Cupitt
f562dfdd5b oops 2014-07-03 09:13:01 +01:00
John Cupitt
80f0b7cedd put type on the value, not the field name 2014-07-03 09:12:06 +01:00
John Cupitt
50c98c39d1 cache the image before write for fits
write must be strictly top-to-bottom for :seq to work
2014-07-02 12:45:19 +01:00
John Cupitt
8e2d83e815 use the libxml2 pretty-printer 2014-07-02 12:04:28 +01:00
John Cupitt
3913ef5c89 pretty-print dzsave xml output 2014-07-02 09:01:26 +01:00
John Cupitt
fcd7688faa sync 2014-07-02 08:49:09 +01:00
John Cupitt
93d8433270 fix use of header 2014-07-01 14:51:16 +01:00
John Cupitt
98e156301c use libxml2 to write props
don't write xml ourselves, get libxml2 to do the encoding
2014-07-01 12:07:31 +01:00