Uses of Enum
com.itextpdf.io.image.ImageType
-
Uses of ImageType in com.itextpdf.io.image
Modifier and TypeMethodDescriptionstatic ImageType
ImageTypeDetector.detectImageType
(byte[] source) Detect image type by magic bytes given the byte array source.static ImageType
ImageTypeDetector.detectImageType
(InputStream stream) Detect image type by magic bytes given the input stream.static ImageType
ImageTypeDetector.detectImageType
(URL source) Detect image type by magic bytes given the source URL.ImageData.getOriginalType()
static ImageType
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.Modifier and TypeMethodDescriptionstatic boolean
ImageDataFactory.isSupportedType
(ImageType imageType) Checks if the type of image is supported by factory.void
TiffImageData.setOriginalType
(ImageType originalType) ModifierConstructorDescriptionprotected
protected
protected
RawImageData
(byte[] bytes, ImageType type) protected
RawImageData
(URL url, ImageType type) -
Uses of ImageType in com.itextpdf.kernel.pdf.xobject
Modifier and TypeMethodDescriptionPdfImageXObject.identifyImageType()
Identifies the type of the image that is stored in the bytes of thisPdfImageXObject
.