Bitmap


public final class Bitmap
extends Object implements Parcelable

java.lang.Object
   ↳ android.graphics.Bitmap


Summary

Constants

int DENSITY_NONE

Indicates that the bitmap was created for an unknown pixel density.

Inherited constants

Fields

public static final Creator<Bitmap> CREATOR

Public methods

Bitmap asShared()

Return an immutable bitmap backed by shared memory which can be efficiently passed between processes via Parcelable.

boolean compress(Bitmap.CompressFormat format, int quality, OutputStream stream)

Write a compressed version of the bitmap to the specified outputstream.

Bitmap