Commit Graph

1811 Commits

Author SHA1 Message Date
John Cupitt 8cae3a0d94 get colour.c compiling
does cast and band ops as well
2012-06-10 17:46:52 +01:00
John Cupitt 982e0ea9eb Merge remote-tracking branch 'origin/master' into colour 2012-06-09 18:08:09 +01:00
John Cupitt 0e9b2e3168 Merge remote-tracking branch 'origin/7.28' 2012-06-09 10:37:30 +01:00
John Cupitt 7a79b1fb6b remove G_DEFINE_BOXED_TYPE() use
was glib-2.26+ only argh, thanks Jake
2012-06-09 10:31:01 +01:00
John Cupitt 2dde7ce256 Merge remote-tracking branch 'origin/7.28'
Conflicts:
	libvips/foreign/vips2tiff.c
	po/vips7.pot
2012-06-08 19:37:03 +01:00
John Cupitt 75a68100bd fix a crash in the tiff reader
some tiffs have HUGE values for RowsPerStrip ... clip these down to
avoid confusing later bits of vips

also, a better error msg for non-contig images
2012-06-07 13:54:05 +01:00
John Cupitt 1ee48e4cd6 add nocache flag, use for sequential file ops
stop it caching sequential file read (eg. sequential tiff read), since
you can only read sequentially once
2012-06-06 19:33:11 +01:00
John Cupitt b6f902560f add doc comments for vips_concurrency_*() 2012-06-03 13:01:21 +01:00
John Cupitt fc3d4192d7 tiff loader always offers thinstrip
the tiff loader now always offers thinstrip ... later stages can then
pick any demand style they like (thanks Diuming)
2012-06-03 11:44:03 +01:00
John Cupitt f65f9088f6 make jpeg pyr write work with tiff4
there was a problem with sizing tiles in chrominance subsample mode
2012-06-02 17:42:42 +01:00
John Cupitt d98f5a28fc we broke binary compat, bump library version
the extra object fields for the new argument mapping system broke binary
compat, bump ABI version
2012-06-01 17:45:50 +01:00
John Cupitt 3de5ec9078 Merge remote-tracking branch 'origin/7.28'
Conflicts:
	libvips/iofuncs/object.c
2012-06-01 14:22:10 +01:00
John Cupitt 2cf57c123d much faster vips_argument_map()
improve the way we handle looping over args, gets us back to 7.26 speed
for example workspaces
2012-06-01 14:20:20 +01:00
John Cupitt 2eb91cabac synv 2012-05-31 17:46:25 +01:00
John Cupitt b652a8b23d Merge branch 'master' of github.com:jcupitt/libvips 2012-05-31 14:50:31 +01:00
John Cupitt 3f76648a11 more vips_argument_map() fixups 2012-05-31 14:50:05 +01:00
John Cupitt a0b3573b59 speed up vips_argument_map() 2012-05-31 13:56:58 +01:00
John Cupitt 31eaeb5ad9 Merge remote-tracking branch 'origin/7.28' 2012-05-25 08:59:36 +01:00
John Cupitt faa2f820c6 use TIFF_CFLAGS
the new pkg-config tiff4 tester outputs TOFF_CFLAGS ... use it (thanks
Jay)
2012-05-25 08:58:40 +01:00
John Cupitt 1f69943639 Merge remote-tracking branch 'origin/master' into colour 2012-05-17 21:36:12 +01:00
John Cupitt 192ce47051 Merge remote-tracking branch 'origin/master' into colour 2012-05-17 21:34:07 +01:00
John Cupitt f19a9d9d6b Merge remote-tracking branch 'origin/7.28'
Conflicts:
	ChangeLog
	configure.in
2012-05-17 14:08:57 +01:00
John Cupitt 5cbb049ec2 version bump 2012-05-17 11:16:46 +01:00
John Cupitt d5bd8d0de0 improve resolution unit handling in tiff save
the deprecated tiff saver used to use pixels/mm in resolution
specification, rather than the user's suggested unit
2012-05-17 11:13:38 +01:00
John Cupitt 9b12e73ffa spelling error 2012-05-17 09:55:19 +01:00
John Cupitt c394f54952 sync 2012-05-16 14:51:22 +01:00
John Cupitt ce94746163 Merge remote-tracking branch 'origin/master' into colour 2012-05-09 17:58:10 +01:00
John Cupitt bb1dcb97ee Merge remote-tracking branch 'origin/7.28'
Conflicts:
	ChangeLog
2012-05-06 12:28:02 +01:00
John Cupitt 2bb7902ace add libtiff-4 test 2012-05-06 11:55:59 +01:00
John Cupitt f3dd9da50a Merge remote-tracking branch 'origin/7.28'
Conflicts:
	ChangeLog
	configure.in
2012-04-19 21:39:25 +01:00
John Cupitt 2352ac1220 fix blend mode for ifthenelse
and a small blend speedup
2012-04-19 21:38:04 +01:00
John Cupitt 40f60c4b9e Merge remote-tracking branch 'origin/master' into colour
Conflicts:
	TODO
	libvips/colour/colour.c
2012-04-18 17:20:36 +01:00
John Cupitt 8e019730ba Merge remote-tracking branch 'origin/7.28'
Conflicts:
	ChangeLog
	configure.in
	po/vips7.pot
2012-04-17 21:22:35 +01:00
John Cupitt abe43f3068 up max buf size
allows larger defs in nip2
2012-04-17 21:16:05 +01:00
John Cupitt 04c7f97cf4 prepare for release 2012-04-17 11:28:40 +01:00
John Cupitt 0b6058851f Merge pull request #13 from bgilbert/openslide-stable-fixes
Improve OpenSlide argument parsing for 7.28 stable branch
2012-04-12 04:24:36 -07:00
John Cupitt d3f9d0fd7d Merge remote-tracking branch 'origin/7.28' 2012-04-12 10:24:11 +01:00
John Cupitt 0290eb009d more accurate progress reporting
computation progress used to be done incrementally based on the number
of tiles allocated. This did not take account of half tiles at image
edges, so you could sometimes see "110% complete"

it's now calculated based on the absolute number of pixels processed, so
it should always report 100% at the end.
2012-04-12 10:01:17 +01:00
John Cupitt b47ad26f50 make vips8 cache smaller 2012-04-12 08:41:40 +01:00
Benjamin Gilbert 5e1b4f2c00 fail vips7 openslide if level argument is not numeric
in case users forget the leading comma when specifying an associated
image, etc.
2012-04-11 14:07:04 -04:00
Benjamin Gilbert 334452d681 fail if both level and associated image are specified
rather than silently ignoring the level.
2012-04-11 13:59:41 -04:00
Benjamin Gilbert 9fb078461c default to level 0 in vips7 OpenSlide
This matches the vips8 OpenSlide behavior.
2012-04-11 13:57:34 -04:00
Benjamin Gilbert d6e16adcc7 convert remaining layer variables to level
For consistency with openslide2vips.c.
2012-04-11 12:41:15 -04:00
John Cupitt 7ef00a3d7e fix a cache warning
you can now call vips_cache_set_max() and friends just after
vips_init() ... previously you had to wait for the cache to be built
2012-04-11 14:41:30 +01:00
John Cupitt 668bf1759b Merge remote-tracking branch 'origin/7.28' 2012-04-11 12:53:33 +01:00
John Cupitt 3540e3ef09 support :level,associated in the vips7 openslide
the vips7 stub for openslide now supports :level,associated mode
options, eg:

$ header CMU-2.svs
CMU-2.svs: 19500x7615 uchar, 4 bands, rgb VipsImage (0x236a060)
$ header CMU-2.svs:2
CMU-2.svs:2: 4875x1903 uchar, 4 bands, rgb VipsImage (0x244c060)
$ header CMU-2.svs:,label
CMU-2.svs:,label: 387x463 uchar, 4 bands, rgb VipsImage (0xa2d060)
$ header CMU-2.svs:2,label
CMU-2.svs:2,label: 387x463 uchar, 4 bands, rgb VipsImage (0x1b23060)
2012-04-11 12:48:41 +01:00
John Cupitt 5ab6e2d1aa Merge remote-tracking branch 'origin/7.28' 2012-04-10 16:53:03 +01:00
John Cupitt 7af1fb34d7 cast to unsigned int did not remove <0
previously cast to uint did nothing (since the positive range of uint is
greater than int), now it changes <0 values to 0
2012-04-10 14:26:41 +01:00
John Cupitt 57cf9011e7 fix openslide read
previously it returned Cairo-style pre-multiplied argb, now it always
unpacks to png-style rgba for you

there was no real use for the coded form and it was annoying to have to
call im_argb2rgba() explicitly
2012-04-09 18:03:17 +01:00
John Cupitt 63be2e1a08 fix warning for unused vips7 gvalue arg
this fixes this warning:

$ vips im_copy_set_meta
GLib-GObject-CRITICAL **: g_value_unset: assertion `G_IS_VALUE (value)'
failed
2012-04-08 10:13:10 +01:00