Rotation and Orientation with DIBs

Home » Imaging Toolkit » Rotation and Orientation with DIBs
Imaging Toolkit No Comments

Developers can control the orientation of displayed DIBs by using the RotateDIB or RotateBitmap functions of the BIDIB.DLL. There are several variations of the RotateDIB and RotateBitmap functions allowing for different degrees of rotation. The Rotate functions will return a new, rotated image. If you do not need the original image any longer, be sure to free it up using the Microsft API’s GlobalUnlock or GlobalFree functions.

Technical Support Team