Package: gdk

Function gdk:pixbuf-apply-embedded-orientation

Lambda List

gdk:pixbuf-apply-embedded-orientation (pixbuf)

Arguments

pixbuf -- a gdk-pixbuf:pixbuf object

Return Value

The newly created gdk-pixbuf:pixbuf object.

Details

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.
 

See also

#2026-09-21