1 List of photos (gallery.list)
2 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3 One photo per line, tab-separated columns:
5 File name (relative to OrigDir in config)
6 Identifier (16 hex digits)
7 Orientation: one of "l", "r", "d", "."
8 Transformation -- sequence of:
14 Lines starting with "#" are ignored.
16 Lines starting with a tab add further attributes to the previous photo.
17 The following attributes are recognized:
19 lat geographic latitude in degrees north of equator
20 lon geographic longitude in degrees east of Greenwich
21 alt geographic altitude in meters
22 t time when the photo was taken (2014-01-25 09:40:12)
25 Importing meta-data from other sources
26 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
27 Occasionally, you want to add photos from a source which already provides
28 some meta-data. In this case, you can construct a gallery.list with a subset
29 of fields, or feed the stdin of "gal scan" with such a list.
31 For convenience, orientation, transformation and title can be also given
32 as named attributes. They are called "orientation", "xf", and "title".
35 Photo meta-data (PhotoDir/gallery.meta or CacheDir/cache.meta)
36 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
37 Perl Storable containing a single hash.
39 $meta->{photo}->{$identifier} is a hash of:
41 xf transformation applied
43 h height after scaling
44 w0, h0 width and height of original image
46 fmt photo format (png/jpg; defaults to jpg)
47 lat geographic latitude in degrees north of equator
48 lon geographic longitude in degrees east of Greenwich
49 alt geographic altitude in meters
50 t time when the photo was taken (2014-01-25 09:40:12)
52 The rest is present in cache.meta only:
54 $meta->{sequence} is an array of photo IDs as they appear in the gallery.
56 $meta->{thumb}->{$format}->{$identifier} is a hash of: