update examples for 7.16

This commit is contained in:
John Cupitt 2008-08-24 12:37:30 +00:00
parent ed4834edaf
commit 8e9137d5b7
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,6 @@
24/8/08 fork for stable 7.16 branch
- load plgs from libdir as well as libdir/vips-x.x for compat
25/5/08 fork for loadable image format branch
- image load/save in non-vips format code moved to own dir
- simple format searching added

View File

@ -149,6 +149,14 @@ im_init_world( const char *argv0 )
im_error_clear();
}
/* Also load from libdir. This is old and slightly broken behaviour
* :-( kept for back compat convenience.
*/
if( im_load_plugins( "%s", libdir ) ) {
im_warn( "im_init_world", "%s", im_errorstring() );
im_error_clear();
}
/* Start up the buffer cache.
*/
im__buffer_init();