sync
This commit is contained in:
parent
b9db7249f4
commit
5eb684bff7
13
TODO
13
TODO
@ -1,11 +1,20 @@
|
|||||||
- make compat wrappers for old im_jpeg2vips() and im_vips2jpeg()
|
- do jpegbuffer load and save
|
||||||
|
|
||||||
|
need a jpegsave base class, with subclasses for save to file and save to
|
||||||
|
buffer
|
||||||
|
|
||||||
|
same for jpegload
|
||||||
|
|
||||||
|
make compat wrappers for old im_jpeg2vips() and im_vips2jpeg()
|
||||||
|
|
||||||
make sure we are using the operation cache for jpegload
|
make sure we are using the operation cache for jpegload
|
||||||
|
|
||||||
move format/* to deprecated
|
have something to print the cache before we flush it?
|
||||||
|
|
||||||
try tiff load
|
try tiff load
|
||||||
|
|
||||||
|
move format/* to deprecated
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -82,14 +82,17 @@ vips_file_load_vips_header( VipsFileLoad *load )
|
|||||||
if( !(out2 = vips_image_new_from_file( file->filename )) )
|
if( !(out2 = vips_image_new_from_file( file->filename )) )
|
||||||
return( -1 );
|
return( -1 );
|
||||||
|
|
||||||
/* Unref the @out that's there now.
|
/* Remove the @out that's there now.
|
||||||
*/
|
*/
|
||||||
g_object_get( load, "out", &out, NULL );
|
g_object_get( load, "out", &out, NULL );
|
||||||
g_object_unref( out );
|
|
||||||
g_object_unref( out );
|
|
||||||
|
|
||||||
g_object_set( load, "out", out2, NULL );
|
g_object_set( load, "out", out2, NULL );
|
||||||
|
|
||||||
|
/* Unref after we install the new out to make sure load isn't
|
||||||
|
* disposed.
|
||||||
|
*/
|
||||||
|
g_object_unref( out );
|
||||||
|
g_object_unref( out );
|
||||||
|
|
||||||
return( 0 );
|
return( 0 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user