public class ImageLoader extends Object
Constructor and Description |
---|
ImageLoader() |
Modifier and Type | Method and Description |
---|---|
static Image |
getBmpImage(byte[] imageData) |
static Image |
getBmpImage(URL url) |
static Image |
getGifImage(byte[] imageData) |
static Image |
getGifImage(URL url) |
static Image |
getJpeg2000Image(byte[] imageData) |
static Image |
getJpeg2000Image(URL url) |
static Image |
getJpegImage(byte[] imageData)
Creates an Image from a JPEG image file in a byte array.
|
static Image |
getJpegImage(URL url)
Creates an Image from a JPEG image file in an URL.
|
static Image |
getPngImage(byte[] imageData) |
static Image |
getPngImage(URL url)
Creates an Image from a PNG image file in an URL.
|
static Image |
getTiffImage(byte[] imageData) |
static Image |
getTiffImage(URL url) |
public static Image getPngImage(URL url)
url
- url of the imageImage
public static Image getJpegImage(URL url)
url
- url of the imageImage
public static Image getGifImage(byte[] imageData)
public static Image getPngImage(byte[] imageData)
public static Image getBmpImage(byte[] imageData)
public static Image getTiffImage(byte[] imageData)
public static Image getJpegImage(byte[] imageData)
imageData
- bytes of the imageImage
public static Image getJpeg2000Image(byte[] imageData)
Copyright © 2020. All rights reserved.