| Package | Description |
|---|---|
| com.itextpdf.io.image |
| Modifier and Type | Field and Description |
|---|---|
protected ImageType |
ImageData.originalType |
| Modifier and Type | Method and Description |
|---|---|
static 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.
|
ImageType |
ImageData.getOriginalType() |
static ImageType |
ImageType.valueOf(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.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
ImageDataFactory.isSupportedType(ImageType imageType)
Checks if the type of image is supported by factory.
|
void |
TiffImageData.setOriginalType(ImageType originalType) |
| Constructor and Description |
|---|
ImageData(byte[] bytes,
ImageType type) |
ImageData(URL url,
ImageType type) |
RawImageData(byte[] bytes,
ImageType type) |
RawImageData(URL url,
ImageType type) |
Copyright © 1998–2023 iText Group NV. All rights reserved.