Commit Graph

1784 Commits

Author SHA1 Message Date
John Cupitt
a2ed2edb5d fix --without-tiff etc. 2011-12-13 13:19:20 +00:00
John Cupitt
5789ca9421 openexr read becomes a new-style class 2011-12-13 10:20:22 +00:00
John Cupitt
5bc26b0b65 clean up options in image filenames
allow new-style options everywhere with the addition and use of
vips_foreign_write_options() and friends everywhere
2011-12-12 14:51:41 +00:00
John Cupitt
968c84e478 openslide needs suffs 2011-12-12 12:08:01 +00:00
John Cupitt
18d54ea3d2 final openslide cleanups 2011-12-12 11:58:36 +00:00
John Cupitt
05fbb6b3bc fix up openslideload
there was a problem with the tile cache ... plus some small tidies
2011-12-12 11:34:28 +00:00
John Cupitt
230e9ce63e move openslide to a new-style class 2011-12-11 22:01:39 +00:00
John Cupitt
7fe4843250 Merge remote-tracking branch 'origin/master' into format-hacking
also, start adding openslide.c to foreign

Conflicts:
	ChangeLog
	TODO
	libvips/iofuncs/image.c
2011-12-11 15:54:08 +00:00
John Cupitt
6c3b8ad96d add im_argb2rgba() for openslide
im_openslide2vips() now does not repack, we have a separate operator for
that
2011-12-11 11:58:50 +00:00
John Cupitt
c54bfddfee speed up openslide read
fix a problem with hints for lazy read
2011-12-10 21:48:34 +00:00
John Cupitt
cace9d5da8 try a tile cache for openslide read 2011-12-09 18:11:13 +00:00
John Cupitt
21781b9f0f sync 2011-12-09 14:54:54 +00:00
John Cupitt
e34b6b92e9 small cleanups
minor changed to openslide.c, use PEL everywhere as the pixel pointer
type
2011-12-09 14:30:45 +00:00
John Cupitt
9d8f0188d2 Merge pull request #6 from bgilbert/openslide
Support reading virtual slide files with OpenSlide
2011-12-09 04:12:54 -08:00
John Cupitt
b9747f5a06 various size_t->guint64 fixes
some platforms have off_t as 32-bits breaking large file support ...
make sure we use guint64 everywhere
2011-12-09 09:42:39 +00:00
John Cupitt
b9756d402a sync 2011-12-08 23:17:38 +00:00
John Cupitt
b57930be63 sync 2011-12-08 23:15:58 +00:00
John Cupitt
a43241a4e7 fix pixel addressing on 32-bit platforms
there was a size_t where there should have been a guint64, causing
addressing problems on very large images on 32-bit platforms (like
win32)

looks like this had been broken since March 2011
2011-12-08 21:38:07 +00:00
Benjamin Gilbert
0c42fb85c3 document support for OpenSlide 2011-12-08 14:49:53 -05:00
Benjamin Gilbert
e3577bad1f add more exposition to OpenSlide documentation 2011-12-08 13:39:55 -05:00
John Cupitt
7adddf7074 remove optional args to vips_call*()
Optional args to vips_call*() were broken. This is fixed correctly in
master. These are not actually used in 7.26, so we just comment the broken
code out.
2011-12-08 10:48:47 +00:00
Benjamin Gilbert
0fd2ecf84c redirect OpenSlide error logging to vips_error()
OpenSlide uses g_critical() and g_warning() for unexpected conditions,
so if these are configured as fatal errors in glib (e.g. libvips or
nip2 is built with --enable-debug=yes) the program will crash instead.
2011-12-07 23:59:42 -05:00
John Cupitt
a7a3865375 make im_tiff2vips,c into a stub 2011-12-06 13:58:05 +00:00
John Cupitt
4367ccb177 fix a refleak 2011-12-06 12:34:40 +00:00
John Cupitt
3e3c66fc32 lazy read from tiled tiff was broken 2011-12-05 22:00:01 +00:00
John Cupitt
e9e23536eb fix tiled tiff read 2011-12-05 21:41:57 +00:00
John Cupitt
0b8c31f85e make tiff2vips into a class 2011-12-05 17:39:11 +00:00
John Cupitt
4b1df2da35 add vips_tilecache()
the old im_tile_cache() redone as a class
2011-12-05 12:19:56 +00:00
John Cupitt
06a383f8a1 small fixes 2011-12-04 12:24:57 +00:00
John Cupitt
b0eed26962 im_vips2tiff becomes a stub
also, make '=true' at the end of bool options optional
2011-12-04 11:06:21 +00:00
John Cupitt
c61ba6f481 small fixes 2011-12-03 11:50:09 +00:00
John Cupitt
24b3330487 tiff write works 2011-12-03 10:59:25 +00:00
John Cupitt
47fdd3ae6d new tiff writer builds 2011-12-02 18:21:55 +00:00
John Cupitt
0497fceb15 add new-style tiff writer 2011-12-02 14:48:37 +00:00
John Cupitt
ad099925d3 better usage messages 2011-12-02 13:30:37 +00:00
John Cupitt
5e037e4c68 foreign uses the cache 2011-12-02 13:15:05 +00:00
John Cupitt
30ec51699d sync 2011-12-02 09:10:11 +00:00
John Cupitt
89a65c81d2 fix up foreignflags 2011-12-01 21:59:21 +00:00
John Cupitt
878edcf4ea copy swap uses glib byte order macros
2x faster byte swapping by using the glib byte swap macros
2011-12-01 18:47:36 +00:00
John Cupitt
261af58e00 fix up byteswapping path (again) 2011-12-01 18:03:41 +00:00
John Cupitt
48763493e5 get byteswap working again 2011-12-01 14:52:49 +00:00
John Cupitt
9154e03715 better header/edvips
header is now terse by default, edvips has a flag to set the endianness
2011-12-01 13:17:40 +00:00
John Cupitt
8f1cf419d6 fix some reffing problems 2011-12-01 10:01:49 +00:00
John Cupitt
4fccf06e5d more work on refs 2011-11-30 22:06:52 +00:00
John Cupitt
588243c665 header command shows filenames 2011-11-30 14:56:57 +00:00
John Cupitt
a6da8c6935 sync 2011-11-30 11:55:38 +00:00
John Cupitt
4fd37502bc turn format/*jpeg* into stubs
the old im_vips2jpeg.c and im_jpeg2vips.c are now just stubs calling the
new foreign/ things
2011-11-30 11:51:01 +00:00
John Cupitt
f6ac8570dc use old VipsFormat system in old cmdline
the old CLI interface was using im_open() to open image files and
therefore got the new image option system ... add a thing to make it use
the old VipsFormat system instead
2011-11-30 10:28:30 +00:00
John Cupitt
40f6f5293b sync 2011-11-30 09:46:07 +00:00
John Cupitt
1f59fd7f10 add jpegsave_mime 2011-11-29 22:14:06 +00:00