Commit Graph

1787 Commits

Author SHA1 Message Date
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
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
e8a6699296 Merge pull request #5 from nrobidoux/master
as mentioned in an email, this recomments the "cheap" #define in LBB and cleans up comments for it and nohalo
2011-11-23 06:02:40 -08:00
John Cupitt
2df8e11aa1 Merge pull request #4 from bgilbert/reduced_resolution
set reduced-resolution flag when writing TIFF pyramid layers
2011-11-23 02:52:01 -08:00
Benjamin Gilbert
19af00bf28 set reduced-resolution flag when writing TIFF pyramid layers
TIFF pyramid layers other than the full-resolution image should be tagged
with a TIFFTAG_SUBFILETYPE of FILETYPE_REDUCEDIMAGE.
2011-11-23 00:01:05 -05:00
Nicolas Robidoux
6c4ae0239c nohalo comments clean up 2011-11-22 20:09:51 -05:00
Nicolas Robidoux
eae5a191ad Merge remote-tracking branch 'upstream/master' 2011-11-22 19:58:35 -05:00
Nicolas Robidoux
9b971ae8c2 comment clean up for nohalo 2011-11-22 19:58:02 -05:00
John Cupitt
5124856a20 move format.c to the vips_ prefix 2011-11-22 21:38:33 +00:00
Nicolas Robidoux
b8d3c179f0 actually, revert to the smooth limiter in LBB, which is best overall 2011-11-22 15:18:04 -05:00