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


I have been exploring ways to read in a number Windows .bmp image files and merge them into a single .ico file.

So far I've looked at Win32::Exe, which seems to read .ico files and break them down into constituent icons, but seems to lack a method for creating .ico files. It was hard for me to tell because the doc is a bit lacking and my Perl-fu is below the level of this code.

I also looked into Image::BMP which reads .bmp files but doesn't output them again.

I realise this is all a bit vague. If anyone has any pointers or starting places, I'd be grateful. Also, I'd prefer not to do this through a system call to a graphics tool because even though these are windows files, I need to be able to run the process on a non-window OS.

Thanks in advance, J