Class ImageConverterBitmap2G2D

    • Constructor Detail

      • ImageConverterBitmap2G2D

        public ImageConverterBitmap2G2D()
    • Method Detail

      • convert

        public Image convert​(Image src,
                             java.util.Map hints)
        Converts an image into a different representation.

        Consumers can get the effective MIME type (if any) from the associated ImageFlavor.

        Parameters:
        src - the source image
        hints - the conversion hints
        Returns:
        the converted image
      • getSourceFlavor

        public ImageFlavor getSourceFlavor()
        Returns the flavor that this converter expects.
        Returns:
        the source flavor
      • getTargetFlavor

        public ImageFlavor getTargetFlavor()
        Returns the flavor that this converter converts images into.
        Returns:
        the target flavor