TIFFTranscoder trans = new TIFFTranscoder();
trans.addTranscodingHint( TIFFTranscoder.KEY_WIDTH, new Float( width ));
trans.addTranscodingHint( TIFFTranscoder.KEY_HEIGHT, new Float( height ));
TranscoderInput input = new TranscoderInput( is );
TranscoderOutput output = new TranscoderOutput( os );
trans.transcode( input, output );
os.flush();
os.close();
}
catch ( NoClassDefFoundError e ) {
return false;