Subject: | Cannot handle comments after end of image data |
The attached xpm (which is part of the TeX/xdvi distribution) cannot be
parsed with Image::Xpm:
$ perl -MImage::Xpm -e
'Image::Xpm->new(-width=>0,-height=>0)->load(shift)'
/usr/local/share/texmf/xdvi/pixmaps/toolbar2.xpm
load() file `/usr/local/share/texmf/xdvi/pixmaps/toolbar2.xpm' invalid
ending at -e line 1
Probably the $STATE_FINISH state should also allow comments, or just end
parsing at this point.
Regards,
Slaven
Subject: | toolbar2.xpm |