if (!firstComment.toString().trim().equals("XPM"))
throw new ImageReadException("Parsing XPM file failed, " +
"signature isn't '/* XPM */'");
XpmParseResult xpmParseResult = new XpmParseResult();
xpmParseResult.cParser = new BasicCParser(
new ByteArrayInputStream(preprocessedFile.toByteArray()));
xpmParseResult.xpmHeader = parseXpmHeader(xpmParseResult.cParser);
return xpmParseResult;
}
finally