http://www.perlmonks.org?node_id=1001335

myforwik has asked for the wisdom of the Perl Monks concerning the following question:

Hi

I was wondering if there exists a perl module that takes a BMP image and recommends if it should be converted to PNG or JPEG by analyzing the picture and figuring out if its a drawing or a photograph.

I have tried a using edge detection filters, but this is very slow and requires a lot of computation.

P.S. - What is the best module for converting BMP's to PNG/JPEG?

Thanks, Mike