## Uses of Interface
org.apache.xmlgraphics.ps.ImageEncoder

- Packages that use ImageEncoder
  Package | Description
  --- | ---
  org.apache.xmlgraphics.ps | Classes for the creation of PostScript files.

- - ### Uses of ImageEncoder in org.apache.xmlgraphics.ps

    Methods in org.apache.xmlgraphics.ps that return ImageEncoder
    Modifier and Type | Method and Description
    --- | ---
    `static ImageEncoder` | ImageEncodingHelper.`createRenderedImageEncoder(java.awt.image.RenderedImage img)` Create an ImageEncoder for the given RenderImage instance.

    Methods in org.apache.xmlgraphics.ps with parameters of type ImageEncoder
    Modifier and Type | Method and Description
    --- | ---
    `static void` | PSImageUtils.`writeImage(ImageEncoder encoder, java.awt.Dimension imgDim, java.lang.String imgDescription, java.awt.geom.Rectangle2D targetRect, java.awt.image.ColorModel colorModel, PSGenerator gen)`
    `static void` | PSImageUtils.`writeImage(ImageEncoder encoder, java.awt.Dimension imgDim, java.lang.String imgDescription, java.awt.geom.Rectangle2D targetRect, java.awt.image.ColorModel colorModel, PSGenerator gen, java.awt.image.RenderedImage ri, boolean maskBitmap)` Writes a bitmap image to the PostScript stream.
    `static void` | PSImageUtils.`writeImage(ImageEncoder encoder, java.awt.Dimension imgDim, java.lang.String imgDescription, java.awt.geom.Rectangle2D targetRect, java.awt.image.ColorModel colorModel, PSGenerator gen, java.awt.image.RenderedImage ri, java.awt.Color maskColor)` Writes a bitmap image to the PostScript stream.
    `static void` | PSImageUtils.`writeImage(ImageEncoder encoder, java.awt.Dimension imgDim, java.lang.String imgDescription, java.awt.geom.Rectangle2D targetRect, java.awt.color.ColorSpace colorSpace, int bitsPerComponent, boolean invertImage, PSGenerator gen)` Writes a bitmap image to the PostScript stream.
    `protected static PSResource` | PSImageUtils.`writeReusableImage(ImageEncoder encoder, java.awt.Dimension imgDim, java.lang.String formName, java.lang.String imageDescription, java.awt.color.ColorSpace colorSpace, boolean invertImage, PSGenerator gen)` Deprecated. Please use `FormGenerator`

    Constructors in org.apache.xmlgraphics.ps with parameters of type ImageEncoder
    Constructor and Description
    `ImageFormGenerator(java.lang.String formName, java.lang.String title, java.awt.geom.Dimension2D dimensions, java.awt.Dimension dimensionsPx, ImageEncoder encoder, java.awt.color.ColorSpace colorSpace, boolean invertImage)` Main constructor.
    `ImageFormGenerator(java.lang.String formName, java.lang.String title, java.awt.geom.Dimension2D dimensions, java.awt.Dimension dimensionsPx, ImageEncoder encoder, java.awt.color.ColorSpace colorSpace, int bitsPerComponent, boolean invertImage)` Main constructor.

Copyright 1999-2025 The Apache Software Foundation. All Rights Reserved.