Commit Graph

1747 Commits

Author SHA1 Message Date
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
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
c4c1dad8a6 Merge remote-tracking branch 'origin/format-hacking' into format-hacking 2011-11-28 11:18:10 +00:00
John Cupitt
f69ca94e51 Merge remote-tracking branch 'origin/master' into format-hacking 2011-11-28 11:18:01 +00:00
John Cupitt
5eb684bff7 sync 2011-11-28 09:39:20 +00:00
Benjamin Gilbert
04096821aa support reading OpenSlide associated images 2011-11-27 22:41:24 -05:00
Benjamin Gilbert
395d4ef067 add OpenSlide helper to copy a line of pixels 2011-11-27 21:50:41 -05:00
Benjamin Gilbert
ef5d72e5af use VIPS_ARRAY() 2011-11-27 21:32:15 -05:00
Benjamin Gilbert
41915530a7 support reading arbitrary slide layers 2011-11-27 18:15:24 -05:00
Benjamin Gilbert
bade737cc2 consolidate OpenSlide setup into one function 2011-11-27 18:03:37 -05:00
Benjamin Gilbert
a9933071ec add OpenSlide properties to image metadata 2011-11-27 18:03:37 -05:00
Benjamin Gilbert
94912aba27 no need to set *stop on fill_region() error return 2011-11-27 18:03:37 -05:00
Benjamin Gilbert
73c3ea38d2 fix black background in transparent areas 2011-11-27 18:03:37 -05:00
Benjamin Gilbert
25733e7bb7 add OpenSlide VipsFormat
Don't export im_openslide2vips, since there's no point in creating new
deprecated API.
2011-11-27 18:03:36 -05: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
Benjamin Gilbert
1078c2a7fb add configure check for OpenSlide 2011-11-26 22:18:46 -05: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
25d508ff3c sync 2011-11-25 09:15:45 +00:00
John Cupitt
8e853b2857 start jpeg save 2011-11-24 22:02:49 +00:00
John Cupitt
7d05d5d6dd oops typo
missing return ... but probably harmless, I think
2011-11-24 21:55:27 +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