stuff
This commit is contained in:
parent
a584569881
commit
3ca5f876e4
3
TODO
3
TODO
@ -2,6 +2,9 @@
|
||||
|
||||
split prepare, generate etc. out to another chapter, maybe generate.h
|
||||
|
||||
man page for im_demand_hint() has some nice notes on SMALLTILE etc we could
|
||||
paste into the VipsDemandStyle comment
|
||||
|
||||
|
||||
- VipsFormat next? where should we document the im_vip2jpeg() options?
|
||||
|
||||
|
@ -617,6 +617,7 @@ im_magick2vips( const char *filename, IMAGE *im )
|
||||
|
||||
if( parse_header( read ) ||
|
||||
im_poutcheck( im ) ||
|
||||
im_demand_hint( im, IM_SMALLTILE, NULL ) ||
|
||||
im_generate( im, NULL, magick_fill_region, NULL, read, NULL ) )
|
||||
return( -1 );
|
||||
|
||||
|
@ -260,7 +260,8 @@ open_lazy( OpenLazyFn read_header, OpenLazyFn read_pixels,
|
||||
lazy->read_pixels = read_pixels;
|
||||
lazy->lazy_im = NULL;
|
||||
|
||||
if( read_header( filename, out ) )
|
||||
if( read_header( filename, out ) ||
|
||||
im_demand_hint( out, IM_ANY, NULL ) )
|
||||
return( -1 );
|
||||
|
||||
if( im_generate( out,
|
||||
|
Loading…
Reference in New Issue
Block a user