// + SOF_segments.size());
ArrayList jfifSegments = readSegments(byteSource,
new int[] { JFIFMarker, }, true);
SOFNSegment fSOFNSegment = (SOFNSegment) SOF_segments.get(0);
// SOFNSegment fSOFNSegment = (SOFNSegment) findSegment(segments,
// SOFNmarkers);
if (fSOFNSegment == null)
throw new ImageReadException("No SOFN Data Found.");