public final class RawMipMaps extends Object
Modifier and Type | Field and Description |
---|---|
static byte |
GREY
These are both the 4 supported types and the number of channels that each type has.
|
static byte |
GREY_ALPHA
These are both the 4 supported types and the number of channels that each type has.
|
static int |
HEADER_SIZE
Two 4-byte ints, for width and height, and one byte for the type.
|
static byte |
RGB
These are both the 4 supported types and the number of channels that each type has.
|
static byte |
RGBA
These are both the 4 supported types and the number of channels that each type has.
|
Constructor and Description |
---|
RawMipMaps() |
Modifier and Type | Method and Description |
---|---|
static ImageBytes |
load(String path) |
static ImageBytes |
load(String path,
int retry) |
static BufferedImage |
read(String path) |
static boolean |
save(String path,
byte[][] b,
int width,
int height) |
public static final byte GREY
public static final byte GREY_ALPHA
public static final byte RGB
public static final byte RGBA
public static final int HEADER_SIZE
public static final boolean save(String path, byte[][] b, int width, int height)
public static final ImageBytes load(String path)
public static final ImageBytes load(String path, int retry)
public static final BufferedImage read(String path)
Copyright © 2015–2021 Fiji. All rights reserved.