in.mark();
try {
Rectangle2D bbox = null;
DSCParser parser;
try {
parser = new DSCParser(new ImageInputStreamAdapter(in));
outerLoop:
while (parser.hasNext()) {
DSCEvent event = parser.nextEvent();
switch (event.getEventType()) {
case DSCParserConstants.HEADER_COMMENT: