BitmapCompression

Inheritance: java.lang.Object

public final class BitmapCompression

Specifies different bitmap compression methods.

Fields

Field Description
Rgb No compression.
Rle8 RLE 8-bit/pixel compression.
Rle4 RLE 4-bit/pixel compression.
Bitfields Bit fields.
Jpeg JPEG compression.
Png PNG compression.

Rgb

public static final int Rgb

No compression.

Rle8

public static final int Rle8

RLE 8-bit/pixel compression. Can be used only with 8-bit/pixel bitmaps.

Rle4

public static final int Rle4

RLE 4-bit/pixel compression. Can be used only with 4-bit/pixel bitmaps.

Bitfields

public static final int Bitfields

Bit fields. Can be used only with 16 and 32-bit/pixel bitmaps.

Jpeg

public static final int Jpeg

JPEG compression. The bitmap contains a JPEG image.

Png

public static final int Png

PNG compression. The bitmap contains a PNG image.