Interface ImageFilterInterface

  • All Superinterfaces:
    CustomDecodeFilter, CustomFilter

    public interface ImageFilterInterface
    extends CustomDecodeFilter
    This interface is written mainly for JPXDecode filter scenario where image information is embedded inside encoded image stream itself. We need to return this information to PDFXObjectImage object which will be set in it's dictionary.
    • Method Detail

      • getImageInfo

        ImageFilterInterface.ImageInfo getImageInfo​(java.io.InputStream input)
                                             throws java.io.IOException
        returns image information (bit depth and number of color components).
        Parameters:
        input -
        Returns:
        ImageInfo
        Throws:
        java.io.IOException