Commit Graph

2671 Commits

Author SHA1 Message Date
John Cupitt
281b0e91d8 tiny 2014-02-04 16:41:07 +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
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
John Cupitt
bf9fc7f855 auto-unpack RAD in affine 2014-01-22 10:02:38 +00:00
John Cupitt
c8c532a068 version bump for new cycle 2014-01-21 19:34:40 +00:00
John Cupitt
1c4c9bd48e note vipsthumbnail fix 2014-01-21 09:09:20 +00:00
John Cupitt
21a1ba48b5 Merge pull request #98 from lovell/master
Ensure -interpolate flag is used with affine transformation
2014-01-21 01:07:47 -08:00
Lovell Fuller
9acaafc897 Ensure -interpolate flag is used with affine transformation 2014-01-20 22:20:35 +00:00
John Cupitt
cffe3bf965 pack Radiance images to and from 0-1
so this now works:

$ vips copy uffizi_probe.hdr x.jpg
$ eog x.jpg
$ vips copy x.jpg x.hdr
$ vips copy x.hdr x2.jpg
$ eog x2.jpg
2014-01-19 17:30:56 +00:00
John Cupitt
11339f29b5 bump soname
oops, thanks benjamin
2014-01-19 15:11:06 +00:00
John Cupitt
fd617aa520 version bump for 7.38
and fix a few dist problems
2014-01-18 12:44:28 +00:00
John Cupitt
e1affa9916 sync 2014-01-17 18:17:25 +00:00
John Cupitt
5983833caa deprecate im_zerox(), not very useful
morph now done
2014-01-17 18:03:46 +00:00
John Cupitt
cd7fcf5cfe redo im_rank() as a class 2014-01-17 14:44:25 +00:00
John Cupitt
cb96ed814e redo im_cntlines() as a class 2014-01-17 11:18:05 +00:00
John Cupitt
9fbfbb3e48 Merge branch 'master' of github.com:jcupitt/libvips
Conflicts:
	ChangeLog
2014-01-15 14:11:27 +00:00
John Cupitt
bbd5cbfb44 add vips_thread_shutdown()
You now need to call vips_thread_shutdown() from all threads you create
yourself just before they exit. This gives vips a chance to free any
thread-private memory and to write out profiling data. libvips will
complain noisily if you fail to do this. You can harmlessly call
vips_thread_shutdown() more than once if you wish.

libvips will call vips_thread_shutdown for you automatically for the main
thread (the one that calls vips_shutdown()) and for threads it creates
directly itself.
2014-01-15 14:07:13 +00:00