*/
public boolean convert( String name, InputStream is, OutputStream os, int width, int height )
{
try {
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();