Uses of Class
com.itextpdf.io.image.ImageType
-
Packages that use ImageType Package Description com.itextpdf.io.image com.itextpdf.kernel.pdf.xobject -
-
Uses of ImageType in com.itextpdf.io.image
Fields in com.itextpdf.io.image declared as ImageType Modifier and Type Field Description protected ImageTypeImageData. originalTypeMethods in com.itextpdf.io.image that return ImageType Modifier and Type Method Description static ImageTypeImageTypeDetector. detectImageType(byte[] source)Detect image type by magic bytes given the byte array source.static ImageTypeImageTypeDetector. detectImageType(java.io.InputStream stream)Detect image type by magic bytes given the input stream.static ImageTypeImageTypeDetector. detectImageType(java.net.URL source)Detect image type by magic bytes given the source URL.private static ImageTypeImageTypeDetector. detectImageTypeByHeader(byte[] header)ImageTypeImageData. getOriginalType()static ImageTypeImageType. valueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ImageType[]ImageType. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in com.itextpdf.io.image with parameters of type ImageType Modifier and Type Method Description static booleanImageDataFactory. isSupportedType(ImageType imageType)Checks if the type of image is supported by factory.voidTiffImageData. setOriginalType(ImageType originalType)private static voidImageDataFactory. validateImageType(byte[] image, ImageType expectedType)private static voidImageDataFactory. validateImageType(java.net.URL imageUrl, ImageType expectedType)Constructors in com.itextpdf.io.image with parameters of type ImageType Constructor Description ImageData(byte[] bytes, ImageType type)ImageData(java.net.URL url, ImageType type)RawImageData(byte[] bytes, ImageType type)RawImageData(java.net.URL url, ImageType type) -
Uses of ImageType in com.itextpdf.kernel.pdf.xobject
Methods in com.itextpdf.kernel.pdf.xobject that return ImageType Modifier and Type Method Description ImageTypePdfImageXObject. identifyImageType()Identifies the type of the image that is stored in the bytes of thisPdfImageXObject.
-