Class ImageEncodingHelper.RenderedImageEncoder

java.lang.Object
org.apache.xmlgraphics.ps.ImageEncodingHelper.RenderedImageEncoder
All Implemented Interfaces:
ImageEncoder
Enclosing class:
ImageEncodingHelper

private static class ImageEncodingHelper.RenderedImageEncoder extends Object implements ImageEncoder
ImageEncoder implementation for RenderedImage instances.
  • Field Details

  • Constructor Details

    • RenderedImageEncoder

      public RenderedImageEncoder(RenderedImage ri)
  • Method Details

    • writeTo

      public void writeTo(OutputStream out) throws IOException
      Description copied from interface: ImageEncoder
      Writes the whole raw bitmap field to the given OutputStream. The implementation must not close the OutputStream when it is finished!
      Specified by:
      writeTo in interface ImageEncoder
      Parameters:
      out - the OutputStream to write to
      Throws:
      IOException - if an I/O error occurs
    • getImplicitFilter

      public String getImplicitFilter()
      Specified by:
      getImplicitFilter in interface ImageEncoder