summaryrefslogtreecommitdiffstats
path: root/perl-install/bootsplash.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/bootsplash.pm')
-rw-r--r--perl-install/bootsplash.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/bootsplash.pm b/perl-install/bootsplash.pm
index 2184b07b2..e5b7ccac6 100644
--- a/perl-install/bootsplash.pm
+++ b/perl-install/bootsplash.pm
@@ -97,7 +97,8 @@ sub theme_set_image_for_resolution {
my ($name, $res, $source_image) = @_;
my $dest_image = theme_get_image_for_resolution($name, $res);
create_path($dest_image);
- system('convert', '-scale', $res, $source_image, $dest_image);
+ #- Append an exclamation point to the geometry to force the image size to exactly the size you specify.
+ system('convert', '-geometry', $res . '!', $source_image, $dest_image);
system($bootsplash_scripts . '/rewritejpeg', $dest_image);
}