Uses of Enum
com.itextpdf.io.image.ImageType
Packages that use ImageType
-
Uses of ImageType in com.itextpdf.io.image
Subclasses with type arguments of type ImageType in com.itextpdf.io.imageFields in com.itextpdf.io.image declared as ImageTypeMethods in com.itextpdf.io.image that return ImageTypeModifier and TypeMethodDescriptionstatic ImageTypeImageTypeDetector.detectImageType(byte[] source) Detect image type by magic bytes given the byte array source.static ImageTypeImageTypeDetector.detectImageType(InputStream stream) Detect image type by magic bytes given the input stream.static ImageTypeImageTypeDetector.detectImageType(URL source) Detect image type by magic bytes given the source URL.private static ImageTypeImageTypeDetector.detectImageTypeByHeader(byte[] header) ImageData.getOriginalType()static ImageTypeReturns 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 ImageTypeModifier and TypeMethodDescriptionstatic 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(URL imageUrl, ImageType expectedType) Constructors in com.itextpdf.io.image with parameters of type ImageTypeModifierConstructorDescriptionprotectedprotectedprotectedRawImageData(byte[] bytes, ImageType type) protectedRawImageData(URL url, ImageType type) -
Uses of ImageType in com.itextpdf.kernel.pdf.xobject
Methods in com.itextpdf.kernel.pdf.xobject that return ImageTypeModifier and TypeMethodDescriptionPdfImageXObject.identifyImageType()Identifies the type of the image that is stored in the bytes of thisPdfImageXObject.