fix rebase mistake

This commit is contained in:
Graham Knop 2012-10-31 13:16:35 -04:00 committed by Scott Walters
parent a6dc17313f
commit fc998d9629

View file

@ -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);
}