Bitmap.convertToType

Converts an image to another format.

class Bitmap
convertToType
(
FREE_IMAGE_TYPE dstType
,
bool scaleLinear = true
)

Return Value

Type: Bitmap

Converted image.

Throws

ImageException on error.

Meta