Return to Pixlabs' HomePixlabs - Smart Digital Photography Software

 

Up

MetaDataEditor Usage
Text Substitution
Metadata Values

Home

 

Metadata Values

There are four types of metadata used in digital photo utilities:

bulletImage Metadata - the most common type of meta data.  DPU uses the EXIF standard for data formatting as do virtually all modern digital cameras.
bulletComputer Metadata - Information about your computer.
bulletDPU Metadata - Information about Digital Photo Utilities.
bulletFile Metadata - Information about image file that is currently being processed.
bulletUtility Specific Metadata - Some utilities provide access to some extra information as specified here.

All of these values can be used in text substitution in DPU utilities that do text substitution.

Image Metadata

Below is a description of all the currently available image metadata tags.  Not all cameras record all values, so some data may be missing from your pictures.  In some cases, different brands of cameras use different EXIF values to record the values and DPU does its best to find the value using all available data.  The Writable column defines whether or not the value can be edited using MetaEditor.

The following tags are legal for the key word "image".  Thus these work for key phrases of the form "{image tag}" where tag is one of the tags described in the table below.

Image Tag   Description   Editable EXIF Equivalent   EXIF Tag #
Title   A string specifying the title of the image.   Yes Image Description(Caption)   0x010E
Comment   The long, more in depth description of the image Yes User Comment   0x9286
OriginalDate The date and time pictured in the image Yes DateTimeOriginal 0x9003
DigitizedDate The date and time the image was captured digitally Yes DateTimeDigitized 0x9004
ModifiedDate The data and time the contents of the image was modified Yes DateTime 0x0132
Artist The camera owner, photographer or image creator Yes Artist 0x0315
CopyrightHolder The owner of the image copyright Yes Copyright 0x8298
EquipmentManufacturer The make of the recording equipment. Yes Make 0x010F
EquipmentModel The model name or model number of the equipment used. Yes Model 0x0110
ExposureProgram The type of program used by the camera. No ExposureProgram 0x8822
MeterMode The type of metering used for this exposure. No MeteringMode 0x9207
ExposureTime Exposure time given in seconds. No ExposureTime or ShutterSpeedValue 0x829A or 0x9201
Aperture The lens F number aperture setting for this exposure No ApertureValue or FNumber 0x9202 or 0x829D
Flash Status of the flash No Flash 0x9209
FocalLength The actual focal length of the lens in mm. (Not converted to 35mm equivalent) No FocalLength 0x920A
ExposureBias Any adjustment to the exposure. No ExposureBias 0x9204
ISO The ISO speed rating as specified in ISO 12232 (like film ASA) No ISOSpeedRatings 0x8827
SubjectDistance The distance to the subject in meters No SubjectDistance 0x9206
LightSource The kid of light source No LightSource 0x9208
MaxAperture The smallest F number of the lens. No MaxApertureValue 0x9205
Width Image width in pixels No      
Height Image height in pixels No      
Unknown   N/A No      

Most modern digital cameras store images with JPEG or TIFF compression and include EXIF meta data.  For more information about EXIF metadata, see EXIF 2.1 specification.

Formatting Dates and Times

Dates and times can have special formatting applied to them to allow them to be displayed exactly as you want.  For Example, if you have an image taken August 17, 2000 at 4:32:32 pm you can generate the following date formats in Saver, MetaEdit or Caption.  They will work with the OriginalDate, DigitizedDate or ModifiedDate fields.

{image digitizedDate d} 08/17/2000
{image digitizedDate  D} Thursday, August 17, 2000
{image digitizedDate  f} Thursday, August 17, 2000 16:32
{image digitizedDate  F} Thursday, August 17, 2000 16:32:32
{image digitizedDate  g} 08/17/2000 16:32
{image digitizedDate  G} 08/17/2000 16:32:32
{image digitizedDate  m} August 17
{image digitizedDate  r} Thu, 17 Aug 2000 23:32:32 GMT
{image digitizedDate  s} 2000-08-17T16:32:32
{image digitizedDate  t} 16:32
{image digitizedDate  T} 16:32:32
{image digitizedDate  u} 2000-08-17 23:32:32Z
{image digitizedDate  U} Thursday, August 17, 2000 23:32:32
{image digitizedDate  y} August, 2000
{image digitizedDate  dddd, MMMM dd yyyy} Thursday, August 17 2000
{image digitizedDate  ddd, MMM d "'"yy} Thu, Aug 17 '00
{image digitizedDate  dddd, MMMM dd} Thursday, August 17
{image digitizedDate  M/yy} 8/00
{image digitizedDate  dd-MM-yy} 17-08-00

Advanced Date formatting

If none of the above formats suit your needs, you can construct your own format string from the characters below

d The day of the month. Single-digit days will not have a leading zero.
dd The day of the month. Single-digit days will have a leading zero.
ddd The abbreviated name of the day of the week
dddd The full name of the day of the week
M The numeric month. Single-digit months will not have a leading zero.
MM The numeric month. Single-digit months will have a leading zero.
MMM The abbreviated name of the month
MMMM The full name of the month
y The year without the century. If the year without the century is less than 10, the year is displayed with no leading zero.
yy The year without the century. If the year without the century is less than 10, the year is displayed with a leading zero.
yyyy The year in four digits, including the century.
h The hour in a 12-hour clock. Single-digit hours will not have a leading zero.
hh The hour in a 12-hour clock. Single-digit hours will have a leading zero.
H The hour in a 24-hour clock. Single-digit hours will not have a leading zero.
HH The hour in a 24-hour clock. Single-digit hours will have a leading zero.
m The minute. Single-digit minutes will not have a leading zero.
mm The minute. Single-digit minutes will have a leading zero.
s The second. Single-digit seconds will not have a leading zero.
ss The second. Single-digit seconds will have a leading zero.
t The first character in the AM/PM designator
tt The AM/PM designator

Computer Metadata

The following tags are legal for the key word "computer".  Thus these work for key phrases of the form "{computer tag}" where tag is one of the tags described in the table below.

Computer Tag   Description  
ComputerName The name of this computer
MyDocuments The complete path to the "My Documents" directory of the current user
MyPictures The complete path to the "My Pictures" directory of the current user
UserID The ID of the current user
Date The current date
Time The current time

DPU Metadata

The following tags are legal for the key word "DPU".  Thus these work for key phrases of the form "{DPU tag}" where tag is one of the tags described in the table below.

DPU Tag   Description  
UserName Name of the DPU registered user
UserEmail Email Address of the registered user
URL The web address of the DPU website
Version The current version of the

File Metadata

The following tags are legal for the key word "File".  Thus these work for key phrases of the form "{File tag}" where tag is one of the tags described in the table below.

File Tag   Description  
Name The current image file name without a path or extension
Extension The (three letter) extension of the file name
Path The full path to the image file
CreationDate The date that the current image file was created (according to the operating system)
ModificationDate The date that the current image file was last modified (according to the operating system)

Utility Specific Metadata

WebGenerator

The following tags are legal for the key word "Web" in HTML files which appear in web style folders used by WebGen.  Thus these work for key phrases of the form "{Web tag}" where tag is one of the tags described in the table below.  The use of these tags is for advanced users who have some knowledge of HTML.

Web Tag   Description  
name The name of the gallery database file, without an extension.  Note that this is also the name of the directory into which the web gallery is saved
title The gallery title as entered by the user and saved in the database
description The gallery title as entered by the user and saved in the database
home The filename of the home page of the web
table Generate an HTML table (see below)
firstimage The name of the first image in the drag and drop event
lastimage The name of the last image in the drag and drop event
iterateImages Generate HTML code for each image in the image list (see below)
Table Generation

One of the more complex tags is the one for generating HTML code.  It creates an HTML table by creating a table framework and creating a cell definition for each image in the web gallery.

{web table numColumns {cell definition}}

A {web table...} key phrase may appear anywhere in any html page.  It allows you to define an html table of rows and columns on a web page.  A cell is created for each image.  The number of of columns is determined by the first parameter, numColumns.  If there are more than that number of images, they will be split up into rows that are numColumns wide.  The second parameter is the cell definition.  This html code will be inserted in each cell of the table.  Text Substitutions will be applied to this html code.

The html following html code will create a 4 column wide table of image titles with each title centered within its cell.

{table 4 {<center>{image title}</center>}}

The html following html code will create a 5 column wide table of thumbnails with titles and links to a pages named for each image.  The alternate text for the thumbnail is set to the image description so that in most browsers a pop-up will appear with the text if

{table 5 {<center><a href="{image name}.htm"><img src="{image thumbnail}" alt="{image description}"><br>{image title}</a><br> </center>}}
 

Image Iteration

Image Iteration is a general purpose method of iterating through all the images in the gallery to generate HTML code.  It is very useful for generating HTML code for each image within a page, such as creating a list of images for scripts etc. 

{web iterateImages {1 to n-1 item definition} {nth item definition}}

Given a drag and drop event with n images, the first item definition will have text substitution applied for the first 1 to n-1 images of of the drag and drop event.  The second item definition will be applied only to the last image in the list.  This allows for definitions like the one below:

{web iterateImages {"{image name}.htm",} {"{image name}.htm"}}

Given a list of images mypic1.jpg - mypic5.jpg, this text substitution will create the following HTML code:

"mypic1.jpg, mypic2.jpg, mypic3.jpg, mypic4.jpg, mypic5.jpg"

Note that the first four image names are followed by commas while the last one is not.  This is made possible by "nth item definition" which does not include a comma.

Saver

The following tags are legal for the key word "file" in file name definitions in the Saver.  In order to save display space, these key phrases do not require the word file.  Thus these work for key phrases of the form "{tag}" where tag is one of the tags described in the table below.  The date referred to is calculated by looking up the EXIF digitized date.  If this date is not available, the image file creation date is used.

File Tag   Description  
Year The year of the image
Month The month of the image
MonthNum The month number of the image
FullMonth The full month name of the image
Day The numerical date of the image
Hour The hour of the image
Minute The minute of the image
Second The numeric seconds value of the image
SerialNumber An ever increasing serial number

 

Back Home Up

 privacy policy
legal information

Copyright © 2003 Pixlabs.  All rights reserved.