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
John Cupitt
5bf5a3f2ba
add load/save jpeg buffer
2011-11-29 18:13:14 +00:00
John Cupitt
099c0c30d6
move filename into load/save
2011-11-29 17:10:24 +00:00
John Cupitt
9208afb8b2
Merge remote-tracking branch 'origin/format-hacking' into format-hacking
...
Conflicts:
TODO
libvips/file/jpegload.c
libvips/foreign/foreign.c
libvips/foreign/jpeg2vips.c
libvips/foreign/jpegsave.c
libvips/include/vips/file.h
2011-11-29 16:36:23 +00:00
John Cupitt
eeb4187ce3
sync
2011-11-29 16:08:19 +00:00
John Cupitt
c14bd56f0d
sync
2011-11-29 16:07:55 +00:00
John Cupitt
c906b4aa66
sync
2011-11-29 14:53:25 +00:00
John Cupitt
935c713e71
sort out jpegload
2011-11-29 12:11:33 +00:00
John Cupitt
56fb2126b8
rename VipsFile as VipsForeign
2011-11-29 11:43:08 +00:00