summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-09-16 04:38:21 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-09-16 04:38:21 +0000
commitd7ea92d2cff9ef13e20c0bc3032d003965236f23 (patch)
tree6a1c66730590caf908b7b6764afca6293b7c485f /perl-install
parentb0725b3ca55a71ff8d14cb10515d438cb45e83fc (diff)
downloaddrakx-d7ea92d2cff9ef13e20c0bc3032d003965236f23.tar
drakx-d7ea92d2cff9ef13e20c0bc3032d003965236f23.tar.gz
drakx-d7ea92d2cff9ef13e20c0bc3032d003965236f23.tar.bz2
drakx-d7ea92d2cff9ef13e20c0bc3032d003965236f23.tar.xz
drakx-d7ea92d2cff9ef13e20c0bc3032d003965236f23.zip
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)
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/standalone/draksplash22
1 files changed, 1 insertions, 1 deletions
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");