stuff
This commit is contained in:
parent
b557652977
commit
94217760f9
@ -41,6 +41,7 @@
|
||||
- added matio as a dependency
|
||||
- added Matlab save file read
|
||||
- added Radiance file read
|
||||
- better file-not-found messages
|
||||
|
||||
11/9/08 started 7.16.3
|
||||
- oop typo in manpage for im_project()
|
||||
|
8
TODO
8
TODO
@ -1,5 +1,8 @@
|
||||
|
||||
|
||||
- im_rad2vips should be radiance.c? same for im_mat2vips? new naming
|
||||
convention
|
||||
|
||||
- move im_shrink & friends to resample?
|
||||
|
||||
match_linear, match_linear_search?
|
||||
@ -22,11 +25,6 @@
|
||||
|
||||
- update the Portfiles on the mac and on the website from the macports ones
|
||||
|
||||
- try
|
||||
|
||||
vips im_copy skdjjfhwlfj t.v
|
||||
|
||||
stupid error message (does not say "file not found")
|
||||
|
||||
|
||||
|
||||
|
@ -265,16 +265,16 @@ vips_format_for_file( const char *name )
|
||||
im_filename_split( name, filename, options );
|
||||
|
||||
if( !im_existsf( "%s", filename ) ) {
|
||||
im_error( "vips_format_for_file",
|
||||
_( "\"%s\" is not readable" ), filename );
|
||||
im_error( "format_for_file",
|
||||
_( "file \"%s\" not found" ), filename );
|
||||
return( NULL );
|
||||
}
|
||||
|
||||
if( !(format = (VipsFormatClass *) vips_format_map(
|
||||
(VSListMap2Fn) format_for_file_sub,
|
||||
(void *) name, (void *) filename )) ) {
|
||||
im_error( "vips_format_for_file",
|
||||
_( "\"%s\" is not in a supported format" ), filename );
|
||||
im_error( "format_for_file",
|
||||
_( "file \"%s\" not a known format" ), filename );
|
||||
return( NULL );
|
||||
}
|
||||
|
||||
|
@ -69,7 +69,7 @@ error_exit( const char *fmt, ... )
|
||||
va_end( ap );
|
||||
|
||||
fprintf( stderr, "\n" );
|
||||
fprintf( stderr, "%s", im_errorstring() );
|
||||
fprintf( stderr, "%s", im_error_buffer() );
|
||||
|
||||
exit( 1 );
|
||||
}
|
||||
|
@ -380,12 +380,8 @@ im_open( const char *filename, const char *mode )
|
||||
format->header, format->load, filename )) )
|
||||
return( NULL );
|
||||
}
|
||||
else {
|
||||
im_error( "im_open",
|
||||
_( "\"%s\" is not in a recognised format" ),
|
||||
filename );
|
||||
else
|
||||
return( NULL );
|
||||
}
|
||||
break;
|
||||
|
||||
case 'w':
|
||||
|
@ -999,10 +999,8 @@ vips_object_new_from_string_set( VipsObject *object, void *a, void *b )
|
||||
VipsObject *
|
||||
vips_object_new_from_string( const char *basename, const char *p )
|
||||
{
|
||||
VipsToken token;
|
||||
char string[PATH_MAX];
|
||||
GType type;
|
||||
VipsObject *object;
|
||||
|
||||
if( !(p = vips__token_need( p, VIPS_TOKEN_STRING, string, PATH_MAX )) ||
|
||||
!(type = vips_type_find( basename, string )) )
|
||||
|
@ -90,7 +90,7 @@ print_error( const char *fmt, ... )
|
||||
va_start( ap, fmt );
|
||||
vfprintf( stderr, fmt, ap );
|
||||
va_end( ap );
|
||||
fprintf( stderr, "\n%s\n", im_error_buffer() );
|
||||
fprintf( stderr, "\n%s", im_error_buffer() );
|
||||
im_error_clear();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user