public RenderedImage create(ParameterBlock paramBlock,RenderingHints renderHints){
  StringBuffer msg=new StringBuffer();
  if (!validateParameters(paramBlock,msg)) {
    return null;
  }
  try {
    SeekableStream in=(SeekableStream)paramBlock.getObjectParameter(0);
    XTIFFImage image=new XTIFFImage(in,(TIFFDecodeParam)paramBlock.getObjectParameter(1),0);
    return image;
  }
 catch (  Exception e) {
    return null;
  }
}

public RenderedImage create ( ParameterBlock paramBlock , RenderingHints renderHints ) { StringBuffer msg = new StringBuffer ( ) ; if ( ! validateParameters ( paramBlock , msg ) ) { return null ; } try { SeekableStream in = ( SeekableStream ) paramBlock . getObjectParameter ( 0 ) ; XTIFFImage image = new XTIFFImage ( in , ( TIFFDecodeParam ) paramBlock . getObjectParameter ( 1 ) , 0 ) ; return image ; } catch ( Exception e ) { return null ; } }
create an xtiffimage with the given parameterblock if the xtiffimage can handle the particular parameterblock . otherwise , null image is returned .
