On Tue, 2010-04-13 at 21:05 -0700, Andreas Raab wrote:
Hi Ross -
Profiling is your friend. In most cases, 95% of the time are spent in 5% of the code. From what you're saying below it sounds that you're using one of the 'special' PNG modes (black and white, or gray-scale) that probably have seen less attention for optimization than others. Any chance you can post a sample image for profiling it?
I've attached a test image, which takes about 30 seconds for me. It is a 1 bit depth image. Not sure if the attachment will make it through....
Ross