How much time should it take ideally to convert PNG to TIFF?
Posted: 2016-04-27T08:39:53-07:00
Hi,
I am using 6.6.6 version on imagemagick in c++. I use this application to convert PNG TO TIFF(Bilevel monochrome) format with FAX4 compression.
The size of image is 3300x2550 pixels and DPI is 300. Earlier when I use IM back in 2013 the conversion rate was 1 sec per page avg (max 2sec).
But now I see a large performance degradation say it takes around 8 sec+ per page. I am performing various actions on it say annotation adding redaction,resizing etc but same as 2 years back.
I want to understand this very well why this is happening (what are the possibilities)because I never changed the version of ImageMagick .
Few of my questions and informations are :
1. what are the actions which make the image.write(path) operation too long?
2. How can I achieve the same performance?
3. Monochrome image should be the fastest conversion as PaletteType image grayscale true color takes much longer.
4.I am using threshold operation in order to rectify image does that makes performance bad because after removing threshold operation the pages starts taking 16 sec.
5.I AM USING 16GB RAM 3 ghz Octacore processor . So hard ware should not be a problem.
6.Reading and writing operation are happening in same folder where the code runs.
7.I am using c++ APIs of image magick.
8.What are the cases where I can do the conversion at same speed without degradation of quality.?
Please can some one throw light on the possibilities to attain the same performance or where I am going wrong because action previous and now remains the same without change in hardware ,version and platform.
Thanks
I am using 6.6.6 version on imagemagick in c++. I use this application to convert PNG TO TIFF(Bilevel monochrome) format with FAX4 compression.
The size of image is 3300x2550 pixels and DPI is 300. Earlier when I use IM back in 2013 the conversion rate was 1 sec per page avg (max 2sec).
But now I see a large performance degradation say it takes around 8 sec+ per page. I am performing various actions on it say annotation adding redaction,resizing etc but same as 2 years back.
I want to understand this very well why this is happening (what are the possibilities)because I never changed the version of ImageMagick .
Few of my questions and informations are :
1. what are the actions which make the image.write(path) operation too long?
2. How can I achieve the same performance?
3. Monochrome image should be the fastest conversion as PaletteType image grayscale true color takes much longer.
4.I am using threshold operation in order to rectify image does that makes performance bad because after removing threshold operation the pages starts taking 16 sec.
5.I AM USING 16GB RAM 3 ghz Octacore processor . So hard ware should not be a problem.
6.Reading and writing operation are happening in same folder where the code runs.
7.I am using c++ APIs of image magick.
8.What are the cases where I can do the conversion at same speed without degradation of quality.?
Please can some one throw light on the possibilities to attain the same performance or where I am going wrong because action previous and now remains the same without change in hardware ,version and platform.
Thanks