iFlags

Flag to keep the resulting bitmap the same size as the original bitmap or to resize according to the rotation specified. Valid values are:

Value

Meaning

ROTATE_RESIZE

[0x0001] Size resulting bitmap as needed.

ROTATE_RESAMPLE

[0x0002] Perform bilinear interpolation when rotating.

ROTATE_BICUBIC

[0x0004] Perform bicubic interpolation when rotating.

0

Do not resize the bitmap. Crop it.