--- Image-Info-1.16/lib/Image/Info/XPM.pm 2004-01-07 12:20:40.000000000 +0000 +++ Image-Info-1.16-patched/lib/Image/Info/XPM.pm 2004-07-01 01:25:55.000000000 +0100 @@ -13,7 +13,8 @@ $info->push_info(0, "Warn", shift); }; - my $i = Image::Xpm->new(-file, $source); + my $i = Image::Xpm->new(-width => 1, -height => 1); + $i->load($source); $info->push_info(0, "color_type" => "Indexed-RGB"); $info->push_info(0, "file_ext" => "xpm");