Author Topic: Additional Variables  (Read 3668 times)

Offline IanGoldstein

  • Member
  • **
  • Posts: 98
    • View Profile
Additional Variables
« on: June 20, 2007, 10:40:54 PM »
A few other ideas for possible variables...

{raw} = 1 if file is a RAW file, otherwise 0
      This could be very useful when conditional expressions is eventually implemented

{filetype} = filename extension (e.g. JPG, NEF, CR2, etc.), or {extension}, {ext}, etc.

{saturation} = Camera Saturation Setting (IEXF tag 0xA409)

Nikon specific data:
         {colorspace} = Color Space "sRGB" or "Adobe RGB" (MakerNotes tag 0x001E)
         {wbft} = White Balance Fine Tuning Value (MakerNotes tag 0x000B)
         {hueadjust} = Hue Adjustment Value (MakerNotes tag 0x0092)
         {shootingmode} = Shooting Mode (MakerNotes tag 0x0089)
         {hsc} = High Speed Crop Mode on/off (MakerNotes tag 0x001B)
         {nr} = Noise Reduction on/off (MakerNotes tag 0x0095)

Special Characters
         {c} = Copyright Symbol "©" (ISO-8859-1 char 0169, Unicode char 0x00A9)
         {ff} = Function Symbol "ƒ" (Unicode char 0x0192) - useful when showing f-stop
         {d} = Degree Symbol "°" (ISO-8859-1 char 0176, Unicode char 0x00B0)
         {tm} = Trademark Symbol "™"(Unicode char 0x2122)
         {rtm} = Registered Trademark Symbol "®"(ISO-8859-1 char 174, Unicode char 0x00AE)

Thanks,
Ian

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 20582
    • View Profile
    • Camera Bits, Inc.
Re: Additional Variables
« Reply #1 on: July 05, 2007, 02:57:31 PM »
Ian,

A few other ideas for possible variables...

{raw} = 1 if file is a RAW file, otherwise 0
      This could be very useful when conditional expressions is eventually implemented

{filetype} = filename extension (e.g. JPG, NEF, CR2, etc.), or {extension}, {ext}, etc.

{saturation} = Camera Saturation Setting (IEXF tag 0xA409)

Nikon specific data:
         {colorspace} = Color Space "sRGB" or "Adobe RGB" (MakerNotes tag 0x001E)
         {wbft} = White Balance Fine Tuning Value (MakerNotes tag 0x000B)
         {hueadjust} = Hue Adjustment Value (MakerNotes tag 0x0092)
         {shootingmode} = Shooting Mode (MakerNotes tag 0x0089)
         {hsc} = High Speed Crop Mode on/off (MakerNotes tag 0x001B)
         {nr} = Noise Reduction on/off (MakerNotes tag 0x0095)

Special Characters
         {c} = Copyright Symbol "©" (ISO-8859-1 char 0169, Unicode char 0x00A9)
         {ff} = Function Symbol "ƒ" (Unicode char 0x0192) - useful when showing f-stop
         {d} = Degree Symbol "°" (ISO-8859-1 char 0176, Unicode char 0x00B0)
         {tm} = Trademark Symbol "™"(Unicode char 0x2122)
         {rtm} = Registered Trademark Symbol "®"(ISO-8859-1 char 174, Unicode char 0x00AE)

Sure, we could add some of those at some point.

-Kirk

Offline devenh

  • Sr. Member
  • ****
  • Posts: 435
    • View Profile
Re: Additional Variables
« Reply #2 on: July 06, 2007, 08:01:39 AM »
I think that is a good list!

One word of caution, however.  If you shoot Raw + Jpg, then the {filetype} would obviously be different for the raw and the jpg version of the same file.  This would mean that the IPTC info would not be identical between the raw and jpg versions.  This may cause a problem if you try to sync them up or otherwise check to see if they are the IPTC info is the same.

Deven

Offline IanGoldstein

  • Member
  • **
  • Posts: 98
    • View Profile
Re: Additional Variables
« Reply #3 on: July 06, 2007, 11:53:53 AM »
I agree that {filetype} would have to be used carefully, and it is therefore not likely to be commonly used. However, it should be a simple enough piece of data to make available as a variable, and for those cases when it is needed it could be invaluable. Two cases where I can see it being useful...
  (1) During an injest process to store RAW and JPG images to separate folders (something some people have asked to be able to do)
  (2) Similarly, during a move and/or copy operation to store the files to separate folders

-Ian