Adding transparency to the generated logo in the preview.
This commit is contained in:
parent
f372c0e46d
commit
f9405c4d10
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user