Pixbuf.applyEmbeddedOrientation

Takes an existing pixbuf and checks for the presence of an associated "orientation" option, which 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.

class Pixbuf
applyEmbeddedOrientation
()

Return Value

Type: Pixbuf

A newly-created pixbuf, NULL if not enough memory could be allocated for it, or a reference to the input pixbuf (with an increased reference count).

Meta

Since

2.12