DPX saving is slow
Posted: 2008-06-06T11:41:25-07:00
After upgrading from 6.3.5-3 to 6.4.1-5, saving DPX files has become almost 10 times slower! All of the other file formats I use seem to still be the same speed, though. Has something changed recently?
Here's a sample program:
For Imagemagick 6.3.5-3 this takes 5 seconds. With Imagemagick 6.4.1-5 it takes 41 seconds. I'm using the Windows build, if it makes a difference.
Here's a sample program:
Code: Select all
int main()
{
Magick::InitializeMagick( NULL );
Magick::Image img( Magick::Geometry( 2048, 1556 ), Magick::ColorGray( 0 ) );
img.depth( 10 );
img.addNoise(Magick::GaussianNoise);
time_t ttt = time( NULL );
for( int c=0 ; c<50 ; c++ ) {
std::stringstream sss;
sss << "test";
sss << c;
sss << ".dpx";
img.write( sss.str() );
}
printf( "%d\n", time(NULL)-ttt );
return 0;
}