Adding transparency to the generated logo in the preview.

This commit is contained in:
Sergiotarxz 2023-08-25 18:13:28 +02:00
parent f372c0e46d
commit f9405c4d10

View File

@ -38,7 +38,7 @@ sub _ToPng($self, $image) {
my $new_image = $image =~ s/\.\w+$/.generated.png/r; my $new_image = $image =~ s/\.\w+$/.generated.png/r;
say $new_image; say $new_image;
if (!-e $new_image) { if (!-e $new_image) {
system 'convert', "$image", "$new_image"; system 'convert', '-background', 'none', "$image", "$new_image";
} }
$image = $new_image; $image = $new_image;
} }