Commit Graph

3102 Commits

Author SHA1 Message Date
John Cupitt
025e56c894 im_label_regions() is a class 2014-02-11 14:55:31 +00:00
John Cupitt
487e6ed95e break ink out to a draw subclass 2014-02-11 13:57:28 +00:00
John Cupitt
f4e970fb72 im_draw_smudge() done 2014-02-11 13:28:13 +00:00
John Cupitt
25fbe71c74 do im_read_point() / im_draw_point() 2014-02-10 21:54:54 +00:00
John Cupitt
4c732ce369 im_draw_point() -> vips8 2014-02-10 13:00:04 +00:00
John Cupitt
6b54181707 rename draw funcs
more consistent now
2014-02-10 11:59:05 +00:00
John Cupitt
33551fbf4c im_draw_rect() is a class 2014-02-10 11:07:00 +00:00
John Cupitt
495a6c7af1 im_draw_image() is a class 2014-02-09 19:38:53 +00:00
John Cupitt
268fe3c38c add line_user ... helps vips7 compat
so we now have a working im_draw_line_user() wrapper for the nip2
paintbox
2014-02-09 11:00:45 +00:00
John Cupitt
e809f9d169 stats operations are sequential 2014-02-08 14:14:53 +00:00
John Cupitt
6da3752815 im_draw_line() is a wrapper 2014-02-07 17:42:11 +00:00
John Cupitt
da6de1f10e im_draw_mask() is now a class 2014-02-07 17:15:21 +00:00
John Cupitt
aa93889480 vips_paintmask() compiles 2014-02-07 14:59:18 +00:00
John Cupitt
c394f8567d more linemask hackery 2014-02-07 10:34:54 +00:00
John Cupitt
ba25922f8e sync 2014-02-06 14:54:46 +00:00
John Cupitt
95a9c52138 start line draw
line is working, doing a line_mask subclass
2014-02-06 14:46:45 +00:00
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