manpagez: man pages & more
info bigloo
Home | html | info | man
[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

19.1 Photography

The multimedia library provides functions for accessing the metadata generated by digital camera.

Bigloo Multimedia procedure: jpeg-exif file-name

The function jpeg-exif extracts the EXIF (http://en.wikipedia.org/wiki/Exif) metadata of a JPEG file as created by digital camera. The argument file-name is the name of the JPEG file. If the file contains an EXIF section it is returned as an instance of the exif class. Otherwise, this function returns #f.

Bigloo Multimedia procedure: jpeg-exif-comment-set! file-name text

Set the comment of the EXIF metadata section of the file file-name to text.

Bigloo Multimedia class: exif
(class exif
   (version (default #f))
   (jpeg-encoding (default #f))
   (jpeg-compress (default #f))
   (comment (default #f))
   (commentpos (default #f))
   (commentlen (default #f))
   (date (default #f))
   (make (default #f))
   (model (default #f))
   (orientation (default 'landscape))
   (width (default #f))
   (height (default #f))
   (ewidth (default #f))
   (eheight (default #f))
   (xresolution (default #f))
   (yresolution (default #f))
   (resolution-unit (default #f))
   (focal-length (default #f))
   (flash (default #f))
   (fnumber (default #f))
   (iso (default #f))
   (shutter-speed-value (default #f))
   (exposure-time (default #f))
   (exposure-bias-value (default #f))
   (aperture (default #f))
   (metering-mode (default #f))
   (cdd-width (default #f))
   (focal-plane-xres (default #f))
   (focal-plane-units (default #f))
   (thumbnail (default #f))
   (thumbnail-path (default #f))
   (thumbnail-offset (default #f))
   (thumbnail-length (default #f)))

The instance of the exif class maps the EXIF metadata found in JPEG files into Bigloo objects. Since all fields are optional they are untyped.

Bigloo Multimedia procedure: exif-date->date

Parses an exif date, i.e., a string of characters, and returns corresponding date. Raises an &io-parse-error if the string does not represents an exif date whose syntax is given by the following regular expression:

  [0-9][0-9][0-9]:[0-9][0-9]:[0-9][0-9] :[0-9][0-9]:[0-9][0-9]:[0-9][0-9]

[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

This document was generated on March 31, 2014 using texi2html 5.0.

© manpagez.com 2000-2025
Individual documents may contain additional copyright information.