"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/octave/pfstransform_colorspace.cpp" between
pfstools-2.1.0.tgz and pfstools-2.2.0.tgz

About: pfstools are a set of command line programs (and one GUI program) for reading, writing, manipulating, and viewing high-dynamic range (HDR) images and video frames (similar as the netpbm package does for low-dynamic range images).

pfstransform_colorspace.cpp  (pfstools-2.1.0.tgz):pfstransform_colorspace.cpp  (pfstools-2.2.0.tgz)
skipping to change at line 89 skipping to change at line 89
copy( &c1Buf, c1 ); copy( &c1Buf, c1 );
copy( &c2Buf, c2 ); copy( &c2Buf, c2 );
copy( &c3Buf, c3 ); copy( &c3Buf, c3 );
retval(0) = c1; retval(0) = c1;
retval(1) = c2; retval(1) = c2;
retval(2) = c3; retval(2) = c3;
} }
catch( pfs::Exception ex ) catch( pfs::Exception ex )
{ {
char error_message[100]; error( "%s: %s", SCRIPT_NAME, ex.getMessage() );
sprintf( error_message, "%s: %s", SCRIPT_NAME, ex.getMessage() );
error( error_message );
} }
return retval; return retval;
} }
static pfs::ColorSpace findColorSpace( const char *name ) static pfs::ColorSpace findColorSpace( const char *name )
{ {
if( !strcasecmp( name, "XYZ" ) ) return pfs::CS_XYZ; if( !strcasecmp( name, "XYZ" ) ) return pfs::CS_XYZ;
else if( !strcasecmp( name, "RGB" ) ) return pfs::CS_RGB; else if( !strcasecmp( name, "RGB" ) ) return pfs::CS_RGB;
else if( !strcasecmp( name, "SRGB" ) ) return pfs::CS_SRGB; else if( !strcasecmp( name, "SRGB" ) ) return pfs::CS_SRGB;
 End of changes. 1 change blocks. 
3 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)