in reply to Win32 converting 32bit bmp images to 24bit
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."
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Win32 converting 32bit bmp images to 24bit
by rochlin (Acolyte) on Oct 31, 2002 at 18:39 UTC |