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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ImageFilterInterface.ImageInfo
This class acts as a container for image bit depth and number of color components.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ImageFilterInterface.ImageInfo
getImageInfo(java.io.InputStream input)
returns image information (bit depth and number of color components).-
Methods inherited from interface com.adobe.internal.pdftoolkit.core.filter.spi.CustomDecodeFilter
decode
-
Methods inherited from interface com.adobe.internal.pdftoolkit.core.filter.spi.CustomFilter
getName
-
-
-
-
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
-
-