With the Android Bitmap API you can manipulate images in JPG, PNG or GIF format, such as by changing the color or the opacity of each pixel in the image. In addition, you can use the API to down-sample a large image to save memory. As such, knowing how to use this API is useful, even when you are not writing a photo editor or an image processing application.
This chapter explains how to work with bitmaps and provides an example.
A bitmap is an image file format that can store digital images independently of the display device. A bitmap simply means a map of bits. Today the term also includes other formats that support lossy and lossless compression, such as JPEG, GIF and PNG. GIF and PNG support transparency ...