John Cupitt
0367f90fc4
better temp file habndling on Windows
...
this patch reuses file descriptors rather than duping them
duping was problematic on Windows -- reusing is a bit hacky, but seems
to work
2012-07-05 14:40:18 +01:00
John Cupitt
34f25dabd5
fix tmp file handling on Windows
...
it wasnt working, breaking handling of non-vips files over 100mb on
Windows
2012-07-05 09:54:59 +01:00
John Cupitt
ec53b1af74
remove refs to bicubic in docs
2012-07-01 11:06:42 +01:00
John Cupitt
2427b2896c
slightly more memory debugging output
...
regions now say if they have attached memory, images say what type (eg.
partial etc) they are
2012-06-23 10:30:48 +01:00
John Cupitt
9b1ff0c399
Merge remote-tracking branch 'origin/7.28' into 7.28
...
Conflicts:
ChangeLog
libvips/iofuncs/cache.c
2012-06-21 12:10:52 +01:00
John Cupitt
5b6b25b1e1
oops stray printf()
2012-06-20 22:44:27 +01:00
John Cupitt
9bb9f59091
fixes to help centos5
2012-06-20 22:10:10 +01:00
John Cupitt
f7a7fa384d
try to build with older glibs
2012-06-20 18:01:46 +01:00
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