Commit Graph

2686 Commits

Author SHA1 Message Date
John Cupitt 78b20891f9 fix a ref count thing 2014-02-06 12:53:16 +00:00
John Cupitt 3c087fc902 replace im_circle()/im_flood() with wrappers 2014-02-06 09:52:45 +00:00
John Cupitt 20b93262b6 tiny 2014-02-05 09:49:35 +00:00
John Cupitt 8e1ae0c6ec better handling of overflow in vips_flatten() 2014-02-05 09:30:24 +00:00
John Cupitt c5d5fd515d Merge remote-tracking branch 'origin/master' into draw
Conflicts:
	ChangeLog
	libvips/draw/flood.c
2014-02-05 09:26:15 +00:00
John Cupitt 5989a2a37e better rounding in vips_flatten()
thanks allesandro
2014-02-04 19:50:13 +00:00
John Cupitt 281b0e91d8 tiny 2014-02-04 16:41:07 +00:00
John Cupitt b2cb285f59 tiny stuff 2014-02-04 16:40:38 +00:00
John Cupitt ea13b34e2f flood compiles 2014-02-04 14:55:37 +00:00
John Cupitt 2ac3731027 flood almost done 2014-02-04 11:46:15 +00:00
John Cupitt e3dbbab570 vips_circle() works
flood next
2014-02-04 09:52:50 +00:00
John Cupitt 7ef49c2f2d Merge remote-tracking branch 'origin/master' into draw 2014-02-04 09:22:18 +00:00
John Cupitt 0509249c16 Merge remote-tracking branch 'origin/7.38'
Conflicts:
	ChangeLog
	configure.ac
2014-02-04 09:21:59 +00:00
John Cupitt de0448b53d undeprecate VIPS_MASK_*
ruby-vips was using them, thanks ahacking
2014-02-04 09:11:43 +00:00
John Cupitt 54f2ea772c almost compiling 2014-02-04 08:49:17 +00:00
John Cupitt ad5b6be8f6 hackey hack 2014-02-03 14:51:43 +00:00
John Cupitt 87ab32d422 Merge remote-tracking branch 'origin/master' into draw 2014-02-03 14:33:34 +00:00
John Cupitt fb489bad53 move vips_image_decode() into the public API 2014-02-03 14:29:57 +00:00
John Cupitt b72818a2b8 add VIPS_OPERATION_DEPRECATED
and fix a tiny problem in vipswrap7
2014-02-03 13:23:58 +00:00
John Cupitt 9f2169748b sync 2014-02-03 11:26:15 +00:00
John Cupitt 874511470f add source_space to vips_colourspace()
you can now specify the source colourspace, if you want
2014-02-03 09:33:15 +00:00
John Cupitt 4167bdf0e6 small operation description fixes
more consistency, fix a couple of missing ones
2014-02-03 09:25:09 +00:00
John Cupitt f582c1bd4e check for init before render shutdown
we could shut down render without having inited it, check

thanks andrea
2014-01-31 14:48:15 +00:00
John Cupitt 2cbaacbb0b oops! 2014-01-29 14:26:09 +00:00
John Cupitt 1564213b67 oop, invalidate mask as well 2014-01-29 12:21:47 +00:00
John Cupitt 9cb152596c bg render thread quits on shutdown
fixes a small memleak
2014-01-29 09:07:58 +00:00
John Cupitt 54f19a00e5 update valgrind supp 2014-01-28 14:51:30 +00:00
John Cupitt 16830d6937 vips_sink_screen() now invalidates for you
clients no longer need to call vips_image_invalidate_all()
2014-01-28 13:08:02 +00:00
John Cupitt c80e7292be formatting 2014-01-27 15:03:08 +00:00
John Cupitt fa2305e8d3 Merge remote-tracking branch 'origin/7.38' 2014-01-26 11:37:00 +00:00
John Cupitt 33b9563170 fix a warning 2014-01-26 10:54:31 +00:00
John Cupitt acbb77ac40 add "rgbjpeg" flag to tiffsave
add a secret "rgbjpeg" flag to tiffsave to help IIPImage server

iipimage server 0.9.9 and earlier don't handle YCbCr-coded JPEG tiffs
correctly ... setting --rgbjpeg makes vips output RGB coded JPEG tiff
which iipsrv can handle.

Using this flag makes files 2x to 3x larger with no quality improvement,
so it is tagged as deprecated to keep it hidden.
2014-01-26 10:43:32 +00:00
John Cupitt 07a6c74c3b Merge pull request #100 from bgilbert/openslide-3.4
Updates for OpenSlide 3.4.0
2014-01-26 02:25:43 -08:00
Benjamin Gilbert ebf4fb807b use openslide_detect_vendor() on OpenSlide 3.4.0
It is much more efficient than openslide_open().  It also fixes a bug:

If openslide_open() failed, we had no way of knowing whether it was an
interesting failure (for relevant slide formats) or an uninteresting
one (for a generic TIFF).  So, the is_a method would always return false
in this case.  This could cause unexpected results; for example, on MIRAX
slides, VIPS would open the .mrxs file itself (a JPEG thumbnail) and the
user would be left wondering where all their pixels went.  Now, if there
is an interesting failure, is_a will succeed but header/load will fail.
2014-01-25 02:56:27 -05:00
Benjamin Gilbert 2e8d014811 update for new format support in OpenSlide 3.4.0 2014-01-25 02:31:20 -05:00
Benjamin Gilbert 524f37c1b9 drop error freeze/thaw around openslide_open()
openslide_open() hasn't been able to cause a call to vips_error() since
c98d6543.
2014-01-25 02:22:35 -05:00
Benjamin Gilbert c2ff2c6e5d fix stray uses of "layer" in openslideload documentation 2014-01-25 02:22:35 -05:00
John Cupitt 805d0cceee better fits docs 2014-01-23 17:25:19 +00:00
John Cupitt e7efa8e6f2 more auto-decode 2014-01-23 16:51:32 +00:00
John Cupitt 4dae352d28 better autounpack for falsecolour 2014-01-23 15:36:34 +00:00
John Cupitt 13a6ed1457 Merge remote-tracking branch 'origin/7.38'
Conflicts:
	ChangeLog
	configure.ac
	libvips/conversion/falsecolour.c
	libvips/resample/affine.c
2014-01-23 15:25:09 +00:00
John Cupitt ae6ea3ba87 support many Radiance readers active at once
we had some globals for the Rad reader state, whcih was fine with the
old reader, but with the new sequential one you can have several active
at once
2014-01-23 15:06:37 +00:00
John Cupitt f5799c4608 falsecolour failed for some image types
type prevented the auto-cast-first-band thing working
2014-01-23 14:27:45 +00:00
John Cupitt b875221005 foreign memory images tagges as ANY
we weren't tagging foreign memory buffers as supporting ANY demand
style, so they were falling back to SMALLTILE

this broke any operation using SEQUENTIAL_UNBUFFERED plus foreign
buffers, eg. falsecolour, since UNBUF needs very strict seq access
2014-01-23 14:22:41 +00:00
John Cupitt 12454d3225 more jpeg read sanity checking 2014-01-23 14:19:55 +00:00
John Cupitt affb274d85 more auto unpack hacking 2014-01-23 13:19:37 +00:00
John Cupitt c3b16d6ff2 Merge branch 'master' of github.com:jcupitt/libvips
Conflicts:
	TODO
2014-01-23 09:59:58 +00:00
John Cupitt d059431867 more auto-decode stuff
more to do though
2014-01-22 14:53:48 +00:00
John Cupitt 4ac08bc2d6 add some auto unpack stuff
so RAD etc get unpacked automatically
2014-01-22 13:26:59 +00:00
John Cupitt 2f9cc275e6 TODO notes 2014-01-22 10:03:55 +00:00