to top
Android APIs
public static final enum


extends Enum<E extends Enum<E>>
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>

Class Overview

Specifies the known formats a bitmap can be compressed into


Enum Values
Bitmap.CompressFormat  JPEG   
Bitmap.CompressFormat  PNG   
Bitmap.CompressFormat  WEBP   
Public Methods
static Bitmap.CompressFormat valueOf(String name)
final static CompressFormat[] values()
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final Bitmap.CompressFormat JPEG

public static final Bitmap.CompressFormat PNG

public static final Bitmap.CompressFormat WEBP

Public Methods

public static Bitmap.CompressFormat valueOf (String name)

Since: API Level 1

public static final CompressFormat[] values ()

Since: API Level 1