| Package | Description |
|---|---|
| de.javagl.jgltf.model.image |
| Modifier and Type | Method and Description |
|---|---|
static PixelData |
PixelDatas.create(java.nio.ByteBuffer imageData)
Create a
PixelData from the given image data. |
static PixelData |
PixelDatas.createErrorPixelData()
Create an unspecified
PixelData object that may be used as
a placeholder for image data that could not be read |
| Modifier and Type | Method and Description |
|---|---|
static java.awt.image.BufferedImage |
ImageUtils.createBufferedImage(PixelData pixelData)
Create a buffered image from the given
PixelData |
static java.nio.ByteBuffer |
ImageUtils.createImageDataBuffer(PixelData pixelData,
java.lang.String mimeType)
Creates the byte buffer containing the image data for the given
pixel data, with the given MIME type.
|
Copyright © 2022. All Rights Reserved.