apply_embedded_orientation


Description:

[ Version ( since = "2.12" ) ]
public Pixbuf? apply_embedded_orientation ()

Takes an existing pixbuf and checks for the presence of an associated "orientation" option.

The orientation option may be provided by the JPEG loader (which reads the exif orientation tag) or the TIFF loader (which reads the TIFF orientation tag, and compensates it for the partial transforms performed by libtiff).

If an orientation option/tag is present, the appropriate transform will be performed so that the pixbuf is oriented correctly.

Parameters:

this

a pixbuf with an orientation option

Returns:

A newly-created pixbuf




2022 vala-language.org