case PACKBITS: is=new PackBitsInputStream(is); break; // 32773,
default:
System.out.println("9\b"+cn+".readGray8bitImage:\n\tDo not support compression scheme "+cmp+".");
return image;
}
if(invert){is=new InvertedInputStream(is);}
mbps=((max-offset)<mbps)?max-offset:mbps;
offset+=is.read(imgdata,offset,mbps); // read/decode max. rps image lines
}
}catch(Exception e){
System.out.println("9\b"+cn+".readGray8bitImage:\n\t"+e.getMessage());