in reply to ICON TO BMP (using Image::Magick)

exec "convert", "coolplayer.ico", "coolplayer.bmp";
Sometimes, the Perl solution is the awkward solution. {grin}

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.

Replies are listed 'Best First'.
Re: •Re: ICON TO BMP (using Image::Magick)
by theorbtwo (Prior) on Apr 02, 2003 at 22:10 UTC

    OTOH, your method only gets one of the several bitdepths/sizes embeded in an ico. (Probably either the largest one, or the one that happens to appear first in the file.)


    Warning: Unless otherwise stated, code is untested. Do not use without understanding. Code is posted in the hopes it is useful, but without warranty. All copyrights are relinquished into the public domain unless otherwise stated. I am not an angel. I am capable of error, and err on a fairly regular basis. If I made a mistake, please let me know (such as by replying to this node).