Pike v8.0 release 1738

Method Image.JPEG.exif_decode()


Method exif_decode

mapping exif_decode(string data, mapping|void options)

Description

Decodes the image as _decode would and then proceeds to decode any EXIF information in the image. If it contain any Orientation information the image will be flipped/rotated according to it. The EXIF data will be returned as a mapping under the key "exif". If an error is encountered during the processing of EXIF information, the backtrace will be returned under the key "error".