Changing image size

This commit is contained in:
sergiotarxz 2022-11-13 02:26:27 +01:00
parent 46c59e1c69
commit 7d28b47c66

View File

@ -106,7 +106,7 @@ sub _GenerateSVGPostPreview {
my $title = shift; my $title = shift;
my $content = shift; my $content = shift;
my @content = @$content; my @content = @$content;
my $svg = SVG->new( width => 1200, height => 630 ); my $svg = SVG->new( width => 1200, height => 627 );
$svg->rect( $svg->rect(
x => 0, x => 0,
y => 0, y => 0,
@ -118,7 +118,7 @@ sub _GenerateSVGPostPreview {
x => 0, x => 0,
y => 50, y => 50,
width => 1200, width => 1200,
height => 630, height => 627,
style => { fill => '#F8F8FF' } style => { fill => '#F8F8FF' }
); );