Android APIs
public static final enum

Bitmap.CompressFormat

extends Enum<Bitmap.CompressFormat>
java.lang.Object
   ↳ java.lang.Enum<android.graphics.Bitmap.CompressFormat>
     ↳ android.graphics.Bitmap.CompressFormat

Class Overview

Specifies the known formats a bitmap can be compressed into

Summary

Enum Values
Bitmap.CompressFormat  JPEG   
Bitmap.CompressFormat  PNG   
Bitmap.CompressFormat  WEBP   
Public Methods
static Bitmap.CompressFormat valueOf(String name)
final static CompressFormat[] values()
[Expand]
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

Added in API level 1

public static final Bitmap.CompressFormat PNG

Added in API level 1

public static final Bitmap.CompressFormat WEBP

Added in API level 14

Public Methods

public static Bitmap.CompressFormat valueOf (String name)

Added in API level 1

Parameters
name
Returns
Bitmap.CompressFormat

public static final CompressFormat[] values ()

Added in API level 1