java.lang.Object
com.lowagie.text.ImageLoader
Deprecated.
Loads image files such as PNG, JPEG, GIF, TIFF and BMP.
TODO: The goal of this class is to use Java ImageIO to parse images and metadata, and embed the image in the PDF in the best way (the compressed image format, not the raw pixels).
We don't want to maintain our own image codecs.
- Author:
- Andreas Rosdal
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ImagegetBmpImage(byte[] imageData) Deprecated.static ImagegetBmpImage(URL url) Deprecated.static ImagegetGifImage(byte[] imageData) Deprecated.static ImagegetGifImage(URL url) Deprecated.static ImagegetJpeg2000Image(byte[] imageData) Deprecated.static ImagegetJpeg2000Image(URL url) Deprecated.static ImagegetJpegImage(byte[] imageData) Deprecated.Creates an Image from a JPEG image file in a byte array.static ImagegetJpegImage(URL url) Deprecated.Creates an Image from a JPEG image file in an URL.static ImagegetPngImage(byte[] imageData) Deprecated.static ImagegetPngImage(URL url) Deprecated.Creates an Image from a PNG image file in an URL.static ImagegetTiffImage(byte[] imageData) Deprecated.Creates an Image from an array of tiff image bytes.static ImagegetTiffImage(URL url) Deprecated.static ImagegetWMFImage(byte[] imageData) Deprecated.static ImagegetWMFImage(URL url) Deprecated.
-
Constructor Details
-
ImageLoader
public ImageLoader()Deprecated.
-
-
Method Details
-
getPngImage
Deprecated.Creates an Image from a PNG image file in an URL.- Parameters:
url- url of the image- Returns:
- an object of type
Image
-
getWMFImage
Deprecated. -
getGifImage
Deprecated. -
getTiffImage
Deprecated. -
getBmpImage
Deprecated. -
getJpegImage
Deprecated.Creates an Image from a JPEG image file in an URL.- Parameters:
url- url of the image- Returns:
- an object of type
Image
-
getJpeg2000Image
Deprecated. -
getGifImage
Deprecated. -
getPngImage
Deprecated. -
getWMFImage
Deprecated. -
getBmpImage
Deprecated. -
getTiffImage
Deprecated.Creates an Image from an array of tiff image bytes.- Parameters:
imageData- bytes of the tiff image- Returns:
- an objet of type
Image
-
getJpegImage
Deprecated.Creates an Image from a JPEG image file in a byte array.- Parameters:
imageData- bytes of the image- Returns:
- an object of type
Image
-
getJpeg2000Image
Deprecated.
-