in reply to Win32 converting 32bit bmp images to 24bit
ImageMagick has fairly detailed online documentation for the Perl bindings to their libraries. If you go here, you can see all available options and sample scripts to reach certain effects.
Untested, and out of the blue I could think of the following script:
Did I already say it isn't tested? :-)#!/usr/bin/perl -w use strict; use Image::Magick; my($image); $image = new Image::Magick; $image->Read('my_original.bmp'); $image->Quantize(treedepth => 24); open(IMAGE, ">my_output.bmp"); $image->Write(file=>\*IMAGE, filename=>"my_output.bmp"); close(IMAGE);
Success,
-- JaWi
"A chicken is an egg's way of producing more eggs."
In Section
Seekers of Perl Wisdom