diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-09-16 04:38:21 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-09-16 04:38:21 +0000 |
commit | d7ea92d2cff9ef13e20c0bc3032d003965236f23 (patch) | |
tree | 6a1c66730590caf908b7b6764afca6293b7c485f | |
parent | b0725b3ca55a71ff8d14cb10515d438cb45e83fc (diff) | |
download | drakx-backup-do-not-use-d7ea92d2cff9ef13e20c0bc3032d003965236f23.tar drakx-backup-do-not-use-d7ea92d2cff9ef13e20c0bc3032d003965236f23.tar.gz drakx-backup-do-not-use-d7ea92d2cff9ef13e20c0bc3032d003965236f23.tar.bz2 drakx-backup-do-not-use-d7ea92d2cff9ef13e20c0bc3032d003965236f23.tar.xz drakx-backup-do-not-use-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)
-rw-r--r-- | perl-install/standalone/draksplash2 | 2 |
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"); |