John Cupitt
542d7f9c10
final tweaks for new release
2012-06-20 15:03:52 +01:00
John Cupitt
3ade518891
better config messages for tiff and png
...
final config output msg is better if .pc files are not found
2012-06-20 11:57:03 +01:00
John Cupitt
8b290ac58e
changelog update
2012-06-20 09:06:54 +01:00
John Cupitt
bc60c7c886
oops variable left-over
2012-06-19 16:43:09 +01:00
John Cupitt
c7059af753
oop jpeg thumbnail
2012-06-19 14:48:32 +01:00
John Cupitt
400a40ea28
oops vipsthumbnail memleak
2012-06-19 14:24:24 +01:00
John Cupitt
2f897315ad
fix a crash with corrupted jpg files
...
three was a double-free crash with a scrambled jpg file, thanks Grigoriy
2012-06-19 08:52:06 +01:00
John Cupitt
b0edbc0aa9
relocate a proto
2012-06-18 18:50:12 +01:00
John Cupitt
f5134a2afd
make vipsthumbnail use a sequential cache
...
it wasn't setting the sequential option in the line cache
2012-06-18 17:37:40 +01:00
John Cupitt
fd98d100a9
use vips_flatten() in save
...
alpha is automatically flattened out if the save operation does not
support it
2012-06-18 17:26:50 +01:00
John Cupitt
70b14c2f1d
add vips_flatten()
...
... background arg not quite working
2012-06-18 14:49:39 +01:00
John Cupitt
2b432723f4
don't save RGBA as JPG CMYK
2012-06-18 09:08:02 +01:00
John Cupitt
df572e092b
use the new geneal seq mode
...
vipsthumbnail was using the prototype seq: mode stuff, make it use the
final seq system
2012-06-18 08:44:45 +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
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
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
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
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
c394f54952
sync
2012-05-16 14:51:22 +01:00
John Cupitt
2bb7902ace
add libtiff-4 test
2012-05-06 11:55:59 +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
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
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
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
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
John Cupitt
d338d0fae6
fix vips_divide() for int args
2012-04-06 12:09:53 +01:00
John Cupitt
d8000bb1b5
tiffsave xres/yres args broken
...
the declarations for xres/yres tiff args were all wrong
2012-03-17 17:57:46 +00:00
John Cupitt
3b583d7744
Merge remote-tracking branch 'origin/7.28' into 7.28
2012-03-15 11:45:37 +00:00
John Cupitt
671c8da098
better behaviour for malformed PNGs
...
thanks Nicolas
2012-03-15 09:54:26 +00:00
John Cupitt
78ddd55611
version bump
2012-03-15 09:54:16 +00:00
John Cupitt
b8a6a9d9b5
fix compiler warning
2012-03-14 11:57:13 +00:00
John Cupitt
922bbf0cfe
version bump
2012-03-13 14:26:24 +00:00
John Cupitt
4595413e0d
add ICC profile read/write for png
2012-03-13 14:22:13 +00:00
John Cupitt
fd160a4793
oops remove a print
...
left some debugging in
2012-03-13 13:44:51 +00:00