switch(cmp){
case NOCOMPRESSION: // 1,
intis=new TIFFSubSamplingInputStream(is,width,(int)sampling[1],(int)sampling[0],positioning);
break;
case LZW: // 5, non base line
is=new LZWInputStream(is,8,false);
intis=new TIFFSubSamplingInputStream(is,width,(int)sampling[1],(int)sampling[0],positioning);
break;
case JPEG: // 7
if(tables!=null){ intis=new JPEGInputStream(is,tables.getQTs(),tables.getDCIns(),tables.getACIns());
}else{ intis=new JPEGInputStream(is);}