Commit Graph

759 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
23a777127c new file systems works 2011-11-29 11:10:56 +00:00
John Cupitt
f7c34a369e revised jpeg binding works 2011-11-28 21:40:08 +00:00
John Cupitt
ee17946bf9 get ready for jpeg buffer 2011-11-28 14:54:55 +00:00
John Cupitt
5eb684bff7 sync 2011-11-28 09:39:20 +00:00
John Cupitt
b9db7249f4 new-style CLI save working 2011-11-27 21:31:21 +00:00
John Cupitt
d6240ac11a hooked up CLI input args to VipsFile
this now works woo

	$ vips copy babe.jpg{shrink=4} x2.v

output args next
2011-11-27 12:08:10 +00:00
John Cupitt
8ee5f36d4b new-style vips load/save works 2011-11-26 12:41:54 +00:00
John Cupitt
43587801f7 new-style vips load/save works
also image.c uses the new system instead of VipsFormat
2011-11-25 18:01:25 +00:00
John Cupitt
19b3c7eeb2 add new-style vips load and save 2011-11-25 14:55:43 +00:00
John Cupitt
dd14948652 new-style jpeg save works 2011-11-25 14:34:17 +00:00
John Cupitt
8e853b2857 start jpeg save 2011-11-24 22:02:49 +00:00
John Cupitt
ab0f72db62 new jpeg loader works 2011-11-24 21:53:40 +00:00
John Cupitt
2c641c6644 sync 2011-11-24 14:53:30 +00:00
John Cupitt
584e11e88d sync 2011-11-24 09:57:01 +00:00
John Cupitt
9cb602baa1 more new format stuff to VipsFile 2011-11-23 17:38:19 +00:00
John Cupitt
09aa42393a more format hacking 2011-11-23 14:53:19 +00:00
John Cupitt
f671088ff2 hackery on new format system 2011-11-23 14:03:11 +00:00
John Cupitt
5124856a20 move format.c to the vips_ prefix 2011-11-22 21:38:33 +00:00
John Cupitt
5f288314bb factor out some stuff into base classes 2011-11-22 12:00:32 +00:00
John Cupitt
c0150ea3c3 better CLI imagevec handling 2011-11-22 09:26:31 +00:00
John Cupitt
951dc0f83e fail for too many args on the CLI 2011-11-21 18:09:28 +00:00
John Cupitt
173576259e move im_ri2c() to a class 2011-11-21 14:51:34 +00:00
John Cupitt
0addd7fb6d c2real(), c2imag() -> classes 2011-11-21 14:38:11 +00:00
John Cupitt
42e631f4d3 move extract_band to bandary 2011-11-21 13:41:56 +00:00
John Cupitt
09eeb7e1a3 mvoe bandmean to bandary 2011-11-21 13:15:42 +00:00
John Cupitt
6f7aadd365 move bandjoin to bandary 2011-11-21 12:32:42 +00:00
John Cupitt
a64f96f7fb started base class for band ops 2011-11-20 21:21:36 +00:00
John Cupitt
f944742c2a bandmean as a class
also moved recomb over to conversion, other small fixes
2011-11-20 09:56:02 +00:00
John Cupitt
b41b9ac19c better vips list classes output 2011-11-19 12:51:13 +00:00
John Cupitt
187212768d add class for complex ops
and it does conj as well
2011-11-19 11:24:04 +00:00
John Cupitt
d401db768d more docs hacking 2011-11-18 10:42:41 +00:00
John Cupitt
8cbf924d3f more docs and convenience functions 2011-11-18 09:52:27 +00:00
John Cupitt
4256563332 small fixes 2011-11-17 14:43:08 +00:00
John Cupitt
a4d9385408 fix pow/exp with a constant 2011-11-16 18:05:25 +00:00
John Cupitt
e3675d42f2 sync 2011-11-16 14:54:23 +00:00
John Cupitt
2619d5e832 sync 2011-11-16 09:48:29 +00:00
John Cupitt
2f7de7f8d0 redone ifthenelse/blend as classes
relational/ can now go, woo
2011-11-15 21:49:49 +00:00
John Cupitt
15f7568423 min/max error initing x/y 2011-11-14 12:10:54 +00:00
John Cupitt
b400918541 omit static objs from leak test 2011-11-14 11:51:15 +00:00
John Cupitt
a31c7d8caf added math2, various 2ary math ops 2011-11-13 17:45:27 +00:00
John Cupitt
5b133145a7 move im_shift*( to a class, remove bool package 2011-11-12 17:18:13 +00:00
John Cupitt
3c608233e5 moved remainder over to a class 2011-11-12 13:29:32 +00:00
John Cupitt
827e5311c1 finish unaryconst, move relational to it 2011-11-11 21:54:45 +00:00
John Cupitt
26ae049d91 redo binary relational as a class 2011-11-11 13:45:12 +00:00
John Cupitt
c0399f8e84 TODO sync 2011-11-11 10:20:57 +00:00
John Cupitt
cc85f3dfe7 try to stop vips-n-xxx.v files being left in tmp
On Windows, set _O_TEMPORARY. On *nix, unlink after rewind.
2011-11-10 17:48:09 +00:00
John Cupitt
9a78be9345 sync 2011-11-10 14:35:45 +00:00
John Cupitt
786eca0d3e use atexit() to call vips_shutdown() 2011-11-10 14:10:24 +00:00
John Cupitt
8fe50220d5 move mask/ to deprecated, add VipsRound 2011-11-10 13:53:58 +00:00
John Cupitt
f79bb525f5 rewrite im_recomb() as a class 2011-11-09 14:48:38 +00:00
John Cupitt
7a42449868 finish VipsMeasure
plus a fix to operation.c
2011-11-09 10:17:40 +00:00
John Cupitt
1129d897ca turn default disc thresh back to 100mb
only make temp disc files for very large (>100mb) images since they are
so often left lying around
2011-11-08 19:32:26 +00:00
John Cupitt
cb5f199f1c misc big fixes 2011-11-08 18:36:33 +00:00
John Cupitt
ff2e7b26de im_stats() redone as a class 2011-11-08 18:18:42 +00:00
John Cupitt
90849a44c5 sync 2011-11-08 14:46:50 +00:00
John Cupitt
9493ea7e29 sync 2011-11-08 09:06:13 +00:00
John Cupitt
c80a19747f im_multiply() redone, fixes to max/min 2011-11-07 09:42:44 +00:00
John Cupitt
77d386cdaf redo im_max()/im_maxpos() as classes 2011-11-06 17:00:44 +00:00
John Cupitt
132c962f96 fix a few error messages 2011-11-06 13:13:58 +00:00
John Cupitt
11d0a28ccb redo im_abs as a class 2011-11-06 11:54:52 +00:00
John Cupitt
ebc0e54217 better leak checl output 2011-11-06 10:20:47 +00:00