my $img = Imager->new(); $img->open(file => "photo-1.jpg")or die Imager->errstr;