fix rebase mistake
This commit is contained in:
parent
a6dc17313f
commit
fc998d9629
1 changed files with 1 additions and 0 deletions
|
|
@ -1231,6 +1231,7 @@ sub getSizeInPixels {
|
|||
$self->session->log->error("Can't check the size of something that's not an image.");
|
||||
return 0;
|
||||
}
|
||||
my $image = Imager->new;
|
||||
$image->read(file => $self->getPath($filename));
|
||||
return ($image->getwidth, $image->getheight);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue