| Package | Description |
|---|---|
| com.sun.javafx.iio |
Provides image loading capability for Java FX.
|
| com.sun.javafx.iio.common |
| Modifier and Type | Method and Description |
|---|---|
ImageStorage.ImageType |
ImageFrame.getImageType() |
static ImageStorage.ImageType |
ImageStorage.ImageType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImageStorage.ImageType[] |
ImageStorage.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 int |
ImageStorage.getNumBands(ImageStorage.ImageType type)
Returns the number of bands for a raw image of the specified type.
|
| Constructor and Description |
|---|
ImageFrame(ImageStorage.ImageType imageType,
ByteBuffer imageData,
int width,
int height,
int stride,
byte[][] palette,
float pixelScale,
ImageMetadata metadata)
Create an
ImageFrame. |
ImageFrame(ImageStorage.ImageType imageType,
ByteBuffer imageData,
int width,
int height,
int stride,
byte[][] palette,
ImageMetadata metadata)
Create an
ImageFrame with a default 72DPI pixel scale. |
| Modifier and Type | Method and Description |
|---|---|
static ImageStorage.ImageType |
ImageTools.getConvertedType(ImageStorage.ImageType type) |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
ImageTools.convert(int width,
int height,
ImageStorage.ImageType inputType,
byte[] input,
int inputOffset,
int inRowStride,
byte[] output,
int outputOffset,
int outRowStride,
byte[][] palette,
int transparentIndex,
boolean skipTransparent) |
static byte[] |
ImageTools.createImageArray(ImageStorage.ImageType type,
int width,
int height) |
static ImageStorage.ImageType |
ImageTools.getConvertedType(ImageStorage.ImageType type) |
Copyright © 2025. All rights reserved.