|
iText 8.0.1 API
|
Static Public Member Functions |
|
| static ImageData | Create (byte[] bytes, bool recoverImage) |
| Create an ImageData instance representing the image from the image bytes. More... |
|
| static ImageData | Create (byte[] bytes) |
| Create an ImageData instance representing the image from the image bytes. More... |
|
| static ImageData | Create (Uri url, bool recoverImage) |
| Create an ImageData instance representing the image from the file located at the specified url. More... |
|
| static ImageData | Create (Uri url) |
| Create an ImageData instance representing the image from the file located at the specified url. More... |
|
| static ImageData | Create (String filename, bool recoverImage) |
| Create an ImageData instance representing the image from the specified file. More... |
|
| static ImageData | Create (String filename) |
| Create an ImageData instance representing the image from the specified file. More... |
|
| static ImageData | Create (int width, int height, bool reverseBits, int typeCCITT, int parameters, byte[] data, int[] transparency) |
| Create an ImageData instance from the passed parameters. More... |
|
| static ImageData | Create (int width, int height, int components, int bpc, byte[] data, int[] transparency) |
| Create an ImageData instance from the passed parameters. More... |
|
| static ImageData | Create (System.Drawing.Image image, Color? color) |
| Gets an instance of an Image from a java.awt.Image More... |
|
| static ImageData | Create (System.Drawing.Image image, Color? color, bool forceBW) |
| Gets an instance of an Image from a java.awt.Image. More... |
|
| static ImageData | CreateBmp (Uri url, bool noHeader) |
| Get a bitmap ImageData instance from the specified url. More... |
|
| static ImageData | CreateBmp (byte[] bytes, bool noHeader) |
| Get a bitmap ImageData instance from the provided bytes. More... |
|
| static GifImageData | CreateGif (byte[] bytes) |
| Return a GifImage object. More... |
|
| static ImageData | CreateGifFrame (Uri url, int frame) |
| Returns a specified frame of the gif image More... |
|
| static ImageData | CreateGifFrame (byte[] bytes, int frame) |
| Returns a specified frame of the gif image More... |
|
| static IList< ImageData > | CreateGifFrames (byte[] bytes, int[] frameNumbers) |
Returns List of gif image frames More... |
|
| static IList< ImageData > | CreateGifFrames (Uri url, int[] frameNumbers) |
Returns List of gif image frames More... |
|
| static IList< ImageData > | CreateGifFrames (byte[] bytes) |
Returns List of gif image frames More... |
|
| static IList< ImageData > | CreateGifFrames (Uri url) |
Returns List of gif image frames More... |
|
| static ImageData | CreateJbig2 (Uri url, int page) |
| static ImageData | CreateJbig2 (byte[] bytes, int page) |
| static ImageData | CreateJpeg (Uri url) |
| Create an ImageData instance from a Jpeg image url More... |
|
| static ImageData | CreateJpeg (byte[] bytes) |
| static ImageData | CreateJpeg2000 (Uri url) |
| static ImageData | CreateJpeg2000 (byte[] bytes) |
| static ImageData | CreatePng (Uri url) |
| static ImageData | CreatePng (byte[] bytes) |
| static ImageData | CreateTiff (Uri url, bool recoverFromImageError, int page, bool direct) |
| static ImageData | CreateTiff (byte[] bytes, bool recoverFromImageError, int page, bool direct) |
| static ImageData | CreateRawImage (byte[] bytes) |
| static bool | IsSupportedType (byte[] source) |
| Checks if the type of image (based on first 8 bytes) is supported by factory. More... |
|
| static bool | IsSupportedType (Uri source) |
| Checks if the type of image (based on first 8 bytes) is supported by factory. More... |
|
| static bool | IsSupportedType (ImageType imageType) |
| Checks if the type of image is supported by factory. More... |
|
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Create an ImageData instance from the passed parameters.
| width | width of the image in pixels |
| height | height of the image in pixels |
| reverseBits | whether to reverse the bits stored in data (TIFF images). |
| typeCCITT | Type of CCITT encoding |
| parameters | colour space parameters |
| data | array containing raw image data |
| transparency | array containing transparency information |
|
inlinestatic |
Create an ImageData instance from the passed parameters.
| width | width of the image in pixels |
| height | height of the image in pixels |
| components | colour space components |
| bpc | bits per colour. |
| data | array containing raw image data |
| transparency | array containing transparency information |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Gets an instance of an Image from a java.awt.Image
| image | the java.awt.Image to convert |
| color | if different from null the transparency pixels are replaced by this color |
|
inlinestatic |
Gets an instance of an Image from a java.awt.Image.
| image | the java.awt.Image to convert |
| color | if different from null the transparency pixels are replaced by this color |
| forceBW | if true the image is treated as black and white |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Return a GifImage object.
Return a GifImage object. This object cannot be added to a document
| bytes | array containing the raw image data |
|
inlinestatic |
Returns a specified frame of the gif image
| bytes | byte array of gif image |
| frame | number of frame to be returned, 1-based |
|
inlinestatic |
Returns a specified frame of the gif image
| url | url of gif image |
| frame | number of frame to be returned, 1-based |
|
inlinestatic |
Returns List of gif image frames
| bytes | byte array of gif image |
|
inlinestatic |
Returns List of gif image frames
| bytes | byte array of gif image |
| frameNumbers | array of frame numbers of gif image, 1-based |
|
inlinestatic |
Returns List of gif image frames
| url | url of gif image |
|
inlinestatic |
Returns List of gif image frames
| url | url of gif image |
| frameNumbers | array of frame numbers of gif image, 1-based |
|
inlinestatic |
Create an ImageData instance from a Jpeg image url
| url | URL |
|
inlinestatic |
Checks if the type of image (based on first 8 bytes) is supported by factory.
Checks if the type of image (based on first 8 bytes) is supported by factory.
Note: if this method returns true it doesn't means that Create(byte[]) won't throw exception
| source | image raw bytes |
true if first eight bytes are recognised by factory as valid image type and false otherwise
|
inlinestatic |
Checks if the type of image is supported by factory.
Checks if the type of image is supported by factory.
Note: if this method returns true it doesn't means that Create(byte[]) won't throw exception
| imageType | image type |
true if image type is supported and false otherwise
|
inlinestatic |
Checks if the type of image (based on first 8 bytes) is supported by factory.
Checks if the type of image (based on first 8 bytes) is supported by factory.
Note: if this method returns true it doesn't means that Create(byte[]) won't throw exception
| source | image URL |
true if first eight bytes are recognised by factory as valid image type and false otherwise