KCML_Jpeg_CorrectRotation

Purpose

Use embedded EXIF information to find if image is rotate it and correct if necessary

Definition

DEFSUB 'KCML_Jpeg_CorrectRotation(BYREF Jpeg$) AS Bool

Parameters

JpegBuffer containing the jpeg image

Return

TRUE if the function has modified the image

Description

This function takes a a jpeg image in memory and if it finds the roation property in the EXIF data it wil rotate the image to being the correct way up. The Jpeg$ parameter is modified and redimmed as necessary.

See also

Internal KCML Functions, Internally defined structures and Internally defined enumerations and constants.