From d7ea92d2cff9ef13e20c0bc3032d003965236f23 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 16 Sep 2004 04:38:21 +0000 Subject: imagemagick can do what gimp can't: reduce the number of colors while using a fixed treedepth different than 24bpp (we want 6*3 = 18bpp) --- perl-install/standalone/draksplash2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install') diff --git a/perl-install/standalone/draksplash2 b/perl-install/standalone/draksplash2 index d76c34755..c2a87e1b0 100644 --- a/perl-install/standalone/draksplash2 +++ b/perl-install/standalone/draksplash2 @@ -330,7 +330,7 @@ $bmp_file_name .= '.bmp'; if ($file ne $bmp_file_name || $magick->Get('colors') > 128) { warn "writing $bmp_file_name\n"; - $err = $magick->Quantize(colors => 128, dither => 'False') and die $err; + $err = $magick->Quantize(colors => 128, dither => 'True', treedepth => 6) and die $err; $err = $magick->Write(filename => "bmp3:$bmp_file_name", compression => 'None') and die $err; } read_parameters("$bmp_file_name.parameters"); -- cgit v1.2.1