Class PanasonicMakernoteDirectory
java.lang.Object
com.drew.metadata.Directory
com.drew.metadata.exif.makernotes.PanasonicMakernoteDirectory
Describes tags specific to Panasonic and Leica cameras.
- Author:
- Drew Noakes https://drewnoakes.com, Philipp Sandhaus
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final int
1 = Normal
2 = Outdoor/Illuminations/Flower/HDR Art
3 = Indoor/Architecture/Objects/HDR B&W
4 = Creative
5 = Auto
7 = Expressive
8 = Retro
9 = Pure
10 = Elegant
12 = Monochrome
13 = Dynamic Art
14 = Silhouettestatic final int
2 bytes
(DMC-FZ10)
'0 1' = Spot Mode On
'0 16' = Spot Mode Off
'(other models)
16 = Normal?
'0 1' = 9-area
'0 16' = 3-area (high speed)
'1 0' = Spot Focusing
'1 1' = 5-area
'16 0' = 1-area
'16 16' = 1-area (high speed)
'32 0' = Auto or Face Detect
'32 1' = 3-area (left)?
'32 2' = 3-area (center)?
'32 3' = 3-area (right)?
'64 0' = Face Detectstatic final int1 = Fired
2 = Enabled nut not used
3 = Disabled but required
4 = Disabled and not requiredstatic final intstatic final int1 = Yes
2 = Nostatic final intstatic final intstatic final intstatic final intstatic final int0 = Off
1 = On
2 = Infinite
4 = Unlimitedstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final int1 = Off
2 = Warm
3 = Cool
4 = Black & White
5 = Sepiastatic final int0 = Normal
1 = Natural
2 = Vividstatic final intstatic final int0 = Normalstatic final int(this decoding seems to work for some models such as the LC1, LX2, FZ7, FZ8, FZ18 and FZ50, but may not be correct for other models such as the FX10, G1, L1, L10 and LC80)
0x0 = Normal
0x1 = Low
0x2 = High
0x6 = Medium Low
0x7 = Medium High
0x100 = Low
0x110 = Normal
0x120 = High
(these values are used by the GF1)
0 = -2
1 = -1
2 = Normal
3 = +1
4 = +2
7 = Nature (Color Film)
12 = Smooth (Color Film) or Pure (My Color)
17 = Dynamic (B&W Film)
22 = Smooth (B&W Film)
27 = Dynamic (Color Film)
32 = Vibrant (Color Film) or Expressive (My Color)
33 = Elegant (My Color)
37 = Nostalgic (Color Film)
41 = Dynamic Art (My Color)
42 = Retro (My Color)static final int1 = Off
2 = Wide
3 = Telephoto
4 = Macrostatic final intstatic final intstatic final intPanasonic Exif Versionstatic final int
Integer (16Bit) Indexes:
0 Number Face Positions (maybe less than Faces Detected)
1-4 Face Position 1
5-8 Face Position 2
and so on
The four Integers are interpreted as follows:
(XYWH) X,Y Center of Face, (W,H) Width and Height
All values are in respect to double the size of the thumbnail imagestatic final intByte Indexes:
0 Int (2 Byte) Number of Recognized Faces
4 String(20 Byte) Recognized Face 1 Name
24 4 Int (8 Byte) Recognized Face 1 Position (Same Format as Face Detection)
32 String(20 Byte) Recognized Face 1 Age
52 String(20 Byte) Recognized Face 2 Name
72 4 Int (8 Byte) Recognized Face 2 Position (Same Format as Face Detection)
80 String(20 Byte) Recognized Face 2 Age
And so on
The four Integers are interpreted as follows:
(XYWH) X,Y Center of Face, (W,H) Width and Height
All values are in respect to double the size of the thumbnail imagestatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final int0 = No
1 = Yesstatic final int
1 = Auto
2 = Manual
4 = Auto, Focus Button
5 = Auto, Continuousstatic final intstatic final int
2 = On, Mode 1
3 = Off
4 = On, Mode 2static final intstatic final int0 = Off
1 = Low
2 = Standard
3 = Highstatic final int0 = Off
2 = Auto
3 = Onstatic final intstatic final intthis number is unique, and contains the date of manufacture, but is not the same as the number printed on the camera bodystatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final int
1 = On
2 = Offstatic final intstatic final int0 = Standard
1 = Low (-1)
2 = High (+1)
3 = Lowest (-2)
4 = Highest (+2)static final int1 = Standard
2 = Extendedstatic final intstatic final intstatic final intstatic final intstatic final intInfo at http://www.ozhiker.com/electronics/pjmt/jpeg_info/pim.htmlstatic final intstatic final int
2 = High
3 = Normal
6 = Very High
7 = Raw
9 = Motion Picturestatic final intstatic final int
1 = Normal
2 = Portrait
3 = Scenery
4 = Sports
5 = Night Portrait
6 = Program
7 = Aperture Priority
8 = Shutter Priority
9 = Macro
10= Spot
11= Manual
12= Movie Preview
13= Panning
14= Simple
15= Color Effects
16= Self Portrait
17= Economy
18= Fireworks
19= Party
20= Snow
21= Night Scenery
22= Food
23= Baby
24= Soft Skin
25= Candlelight
26= Starry Night
27= High Sensitivity
28= Panorama Assist
29= Underwater
30= Beach
31= Aerial Photo
32= Sunset
33= Pet
34= Intelligent ISO
35= Clipboard
36= High Speed Continuous Shooting
37= Intelligent Auto
39= Multi-aspect
41= Transform
42= Flash Burst
43= Pin Hole
44= Film Grain
45= My Color
46= Photo Frame
51= HDRstatic final intstatic final int1 = 0 DG
3 = 180 DG
6 = 90 DG
8 = 270 DGstatic final intstatic final intstatic final int1 = Off
2 = 10 s
3 = 2 sstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final int1 = Off
2 = Onstatic final int1 = Off
2 = Onstatic final intstatic final intstatic final intstatic final intstatic final intstatic final int(decoded as two 16-bit signed integers) '-1 1' = Slim Low '-3 2' = Slim High '0 0' = Off '1 1' = Stretch Low '3 2' = Stretch Highstatic final int(decoded as two 16-bit signed integers) '-1 1' = Slim Low '-3 2' = Slim High '0 0' = Off '1 1' = Stretch Low '3 2' = Stretch Highstatic final intstatic final intNo idea, what this isstatic final int4 Bytes
Time in 1/100 s from when the camera was powered on to when the image is written to memory cardstatic final intWB adjust AB.static final intWB adjust GM.static final intstatic final intstatic final intstatic final int
1 = Auto
2 = Daylight
3 = Cloudy
4 = Incandescent
5 = Manual
8 = Flash
10 = Black & White
11 = Manual
12 = Shadestatic final intstatic final int
1 = Home
2 = Destination -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.drew.metadata.Directory
addError, containsTag, getBoolean, getBooleanObject, getByteArray, getDate, getDate, getDate, getDescription, getDouble, getDoubleObject, getErrorCount, getErrors, getFloat, getFloatObject, getInt, getIntArray, getInteger, getLong, getLongObject, getObject, getParent, getRational, getRationalArray, getString, getString, getStringArray, getStringValue, getStringValueArray, getTagCount, getTagName, getTags, hasErrors, hasTagName, isEmpty, setBoolean, setByteArray, setDate, setDescriptor, setDouble, setDoubleArray, setFloat, setFloatArray, setInt, setIntArray, setLong, setObject, setObjectArray, setParent, setRational, setRationalArray, setString, setStringArray, setStringValue, setStringValueArray, toString
-
Field Details
-
TAG_QUALITY_MODE
public static final int TAG_QUALITY_MODE
2 = High
3 = Normal
6 = Very High
7 = Raw
9 = Motion Picture- See Also:
-
TAG_FIRMWARE_VERSION
public static final int TAG_FIRMWARE_VERSION- See Also:
-
TAG_WHITE_BALANCE
public static final int TAG_WHITE_BALANCE
1 = Auto
2 = Daylight
3 = Cloudy
4 = Incandescent
5 = Manual
8 = Flash
10 = Black & White
11 = Manual
12 = Shade- See Also:
-
TAG_FOCUS_MODE
public static final int TAG_FOCUS_MODE
1 = Auto
2 = Manual
4 = Auto, Focus Button
5 = Auto, Continuous- See Also:
-
TAG_AF_AREA_MODE
public static final int TAG_AF_AREA_MODE
2 bytes
(DMC-FZ10)
'0 1' = Spot Mode On
'0 16' = Spot Mode Off
'(other models)
16 = Normal?
'0 1' = 9-area
'0 16' = 3-area (high speed)
'1 0' = Spot Focusing
'1 1' = 5-area
'16 0' = 1-area
'16 16' = 1-area (high speed)
'32 0' = Auto or Face Detect
'32 1' = 3-area (left)?
'32 2' = 3-area (center)?
'32 3' = 3-area (right)?
'64 0' = Face Detect- See Also:
-
TAG_IMAGE_STABILIZATION
public static final int TAG_IMAGE_STABILIZATION
2 = On, Mode 1
3 = Off
4 = On, Mode 2- See Also:
-
TAG_MACRO_MODE
public static final int TAG_MACRO_MODE
1 = On
2 = Off- See Also:
-
TAG_RECORD_MODE
public static final int TAG_RECORD_MODE
1 = Normal
2 = Portrait
3 = Scenery
4 = Sports
5 = Night Portrait
6 = Program
7 = Aperture Priority
8 = Shutter Priority
9 = Macro
10= Spot
11= Manual
12= Movie Preview
13= Panning
14= Simple
15= Color Effects
16= Self Portrait
17= Economy
18= Fireworks
19= Party
20= Snow
21= Night Scenery
22= Food
23= Baby
24= Soft Skin
25= Candlelight
26= Starry Night
27= High Sensitivity
28= Panorama Assist
29= Underwater
30= Beach
31= Aerial Photo
32= Sunset
33= Pet
34= Intelligent ISO
35= Clipboard
36= High Speed Continuous Shooting
37= Intelligent Auto
39= Multi-aspect
41= Transform
42= Flash Burst
43= Pin Hole
44= Film Grain
45= My Color
46= Photo Frame
51= HDR- See Also:
-
TAG_AUDIO
public static final int TAG_AUDIO1 = Yes
2 = No- See Also:
-
TAG_UNKNOWN_DATA_DUMP
public static final int TAG_UNKNOWN_DATA_DUMPNo idea, what this is- See Also:
-
TAG_EASY_MODE
public static final int TAG_EASY_MODE- See Also:
-
TAG_WHITE_BALANCE_BIAS
public static final int TAG_WHITE_BALANCE_BIAS- See Also:
-
TAG_FLASH_BIAS
public static final int TAG_FLASH_BIAS- See Also:
-
TAG_INTERNAL_SERIAL_NUMBER
public static final int TAG_INTERNAL_SERIAL_NUMBERthis number is unique, and contains the date of manufacture, but is not the same as the number printed on the camera body- See Also:
-
TAG_EXIF_VERSION
public static final int TAG_EXIF_VERSIONPanasonic Exif Version- See Also:
-
TAG_COLOR_EFFECT
public static final int TAG_COLOR_EFFECT1 = Off
2 = Warm
3 = Cool
4 = Black & White
5 = Sepia- See Also:
-
TAG_UPTIME
public static final int TAG_UPTIME4 Bytes
Time in 1/100 s from when the camera was powered on to when the image is written to memory card- See Also:
-
TAG_BURST_MODE
public static final int TAG_BURST_MODE0 = Off
1 = On
2 = Infinite
4 = Unlimited- See Also:
-
TAG_SEQUENCE_NUMBER
public static final int TAG_SEQUENCE_NUMBER- See Also:
-
TAG_CONTRAST_MODE
public static final int TAG_CONTRAST_MODE(this decoding seems to work for some models such as the LC1, LX2, FZ7, FZ8, FZ18 and FZ50, but may not be correct for other models such as the FX10, G1, L1, L10 and LC80)
0x0 = Normal
0x1 = Low
0x2 = High
0x6 = Medium Low
0x7 = Medium High
0x100 = Low
0x110 = Normal
0x120 = High
(these values are used by the GF1)
0 = -2
1 = -1
2 = Normal
3 = +1
4 = +2
7 = Nature (Color Film)
12 = Smooth (Color Film) or Pure (My Color)
17 = Dynamic (B&W Film)
22 = Smooth (B&W Film)
27 = Dynamic (Color Film)
32 = Vibrant (Color Film) or Expressive (My Color)
33 = Elegant (My Color)
37 = Nostalgic (Color Film)
41 = Dynamic Art (My Color)
42 = Retro (My Color)- See Also:
-
TAG_NOISE_REDUCTION
public static final int TAG_NOISE_REDUCTION0 = Standard
1 = Low (-1)
2 = High (+1)
3 = Lowest (-2)
4 = Highest (+2)- See Also:
-
TAG_SELF_TIMER
public static final int TAG_SELF_TIMER1 = Off
2 = 10 s
3 = 2 s- See Also:
-
TAG_ROTATION
public static final int TAG_ROTATION1 = 0 DG
3 = 180 DG
6 = 90 DG
8 = 270 DG- See Also:
-
TAG_AF_ASSIST_LAMP
public static final int TAG_AF_ASSIST_LAMP1 = Fired
2 = Enabled nut not used
3 = Disabled but required
4 = Disabled and not required- See Also:
-
TAG_COLOR_MODE
public static final int TAG_COLOR_MODE0 = Normal
1 = Natural
2 = Vivid- See Also:
-
TAG_BABY_AGE
public static final int TAG_BABY_AGE- See Also:
-
TAG_OPTICAL_ZOOM_MODE
public static final int TAG_OPTICAL_ZOOM_MODE1 = Standard
2 = Extended- See Also:
-
TAG_CONVERSION_LENS
public static final int TAG_CONVERSION_LENS1 = Off
2 = Wide
3 = Telephoto
4 = Macro- See Also:
-
TAG_TRAVEL_DAY
public static final int TAG_TRAVEL_DAY- See Also:
-
TAG_CONTRAST
public static final int TAG_CONTRAST0 = Normal- See Also:
-
TAG_WORLD_TIME_LOCATION
public static final int TAG_WORLD_TIME_LOCATION
1 = Home
2 = Destination- See Also:
-
TAG_TEXT_STAMP
public static final int TAG_TEXT_STAMP1 = Off
2 = On- See Also:
-
TAG_PROGRAM_ISO
public static final int TAG_PROGRAM_ISO- See Also:
-
TAG_ADVANCED_SCENE_MODE
public static final int TAG_ADVANCED_SCENE_MODE
1 = Normal
2 = Outdoor/Illuminations/Flower/HDR Art
3 = Indoor/Architecture/Objects/HDR B&W
4 = Creative
5 = Auto
7 = Expressive
8 = Retro
9 = Pure
10 = Elegant
12 = Monochrome
13 = Dynamic Art
14 = Silhouette- See Also:
-
TAG_TEXT_STAMP_1
public static final int TAG_TEXT_STAMP_11 = Off
2 = On- See Also:
-
TAG_FACES_DETECTED
public static final int TAG_FACES_DETECTED- See Also:
-
TAG_SATURATION
public static final int TAG_SATURATION- See Also:
-
TAG_SHARPNESS
public static final int TAG_SHARPNESS- See Also:
-
TAG_FILM_MODE
public static final int TAG_FILM_MODE- See Also:
-
TAG_COLOR_TEMP_KELVIN
public static final int TAG_COLOR_TEMP_KELVIN- See Also:
-
TAG_BRACKET_SETTINGS
public static final int TAG_BRACKET_SETTINGS- See Also:
-
TAG_WB_ADJUST_AB
public static final int TAG_WB_ADJUST_ABWB adjust AB. Positive is a shift toward blue.- See Also:
-
TAG_WB_ADJUST_GM
public static final int TAG_WB_ADJUST_GMWB adjust GM. Positive is a shift toward green.- See Also:
-
TAG_FLASH_CURTAIN
public static final int TAG_FLASH_CURTAIN- See Also:
-
TAG_LONG_EXPOSURE_NOISE_REDUCTION
public static final int TAG_LONG_EXPOSURE_NOISE_REDUCTION- See Also:
-
TAG_PANASONIC_IMAGE_WIDTH
public static final int TAG_PANASONIC_IMAGE_WIDTH- See Also:
-
TAG_PANASONIC_IMAGE_HEIGHT
public static final int TAG_PANASONIC_IMAGE_HEIGHT- See Also:
-
TAG_AF_POINT_POSITION
public static final int TAG_AF_POINT_POSITION- See Also:
-
TAG_FACE_DETECTION_INFO
public static final int TAG_FACE_DETECTION_INFO
Integer (16Bit) Indexes:
0 Number Face Positions (maybe less than Faces Detected)
1-4 Face Position 1
5-8 Face Position 2
and so on
The four Integers are interpreted as follows:
(XYWH) X,Y Center of Face, (W,H) Width and Height
All values are in respect to double the size of the thumbnail image- See Also:
-
TAG_LENS_TYPE
public static final int TAG_LENS_TYPE- See Also:
-
TAG_LENS_SERIAL_NUMBER
public static final int TAG_LENS_SERIAL_NUMBER- See Also:
-
TAG_ACCESSORY_TYPE
public static final int TAG_ACCESSORY_TYPE- See Also:
-
TAG_ACCESSORY_SERIAL_NUMBER
public static final int TAG_ACCESSORY_SERIAL_NUMBER- See Also:
-
TAG_TRANSFORM
public static final int TAG_TRANSFORM(decoded as two 16-bit signed integers) '-1 1' = Slim Low '-3 2' = Slim High '0 0' = Off '1 1' = Stretch Low '3 2' = Stretch High- See Also:
-
TAG_INTELLIGENT_EXPOSURE
public static final int TAG_INTELLIGENT_EXPOSURE0 = Off
1 = Low
2 = Standard
3 = High- See Also:
-
TAG_LENS_FIRMWARE_VERSION
public static final int TAG_LENS_FIRMWARE_VERSION- See Also:
-
TAG_BURST_SPEED
public static final int TAG_BURST_SPEED- See Also:
-
TAG_INTELLIGENT_D_RANGE
public static final int TAG_INTELLIGENT_D_RANGE- See Also:
-
TAG_CLEAR_RETOUCH
public static final int TAG_CLEAR_RETOUCH- See Also:
-
TAG_CITY2
public static final int TAG_CITY2- See Also:
-
TAG_PHOTO_STYLE
public static final int TAG_PHOTO_STYLE- See Also:
-
TAG_SHADING_COMPENSATION
public static final int TAG_SHADING_COMPENSATION- See Also:
-
TAG_ACCELEROMETER_Z
public static final int TAG_ACCELEROMETER_Z- See Also:
-
TAG_ACCELEROMETER_X
public static final int TAG_ACCELEROMETER_X- See Also:
-
TAG_ACCELEROMETER_Y
public static final int TAG_ACCELEROMETER_Y- See Also:
-
TAG_CAMERA_ORIENTATION
public static final int TAG_CAMERA_ORIENTATION- See Also:
-
TAG_ROLL_ANGLE
public static final int TAG_ROLL_ANGLE- See Also:
-
TAG_PITCH_ANGLE
public static final int TAG_PITCH_ANGLE- See Also:
-
TAG_SWEEP_PANORAMA_DIRECTION
public static final int TAG_SWEEP_PANORAMA_DIRECTION- See Also:
-
TAG_SWEEP_PANORAMA_FIELD_OF_VIEW
public static final int TAG_SWEEP_PANORAMA_FIELD_OF_VIEW- See Also:
-
TAG_TIMER_RECORDING
public static final int TAG_TIMER_RECORDING- See Also:
-
TAG_INTERNAL_ND_FILTER
public static final int TAG_INTERNAL_ND_FILTER- See Also:
-
TAG_HDR
public static final int TAG_HDR- See Also:
-
TAG_SHUTTER_TYPE
public static final int TAG_SHUTTER_TYPE- See Also:
-
TAG_CLEAR_RETOUCH_VALUE
public static final int TAG_CLEAR_RETOUCH_VALUE- See Also:
-
TAG_TOUCH_AE
public static final int TAG_TOUCH_AE- See Also:
-
TAG_PRINT_IMAGE_MATCHING_INFO
public static final int TAG_PRINT_IMAGE_MATCHING_INFOInfo at http://www.ozhiker.com/electronics/pjmt/jpeg_info/pim.html- See Also:
-
TAG_FACE_RECOGNITION_INFO
public static final int TAG_FACE_RECOGNITION_INFOByte Indexes:
0 Int (2 Byte) Number of Recognized Faces
4 String(20 Byte) Recognized Face 1 Name
24 4 Int (8 Byte) Recognized Face 1 Position (Same Format as Face Detection)
32 String(20 Byte) Recognized Face 1 Age
52 String(20 Byte) Recognized Face 2 Name
72 4 Int (8 Byte) Recognized Face 2 Position (Same Format as Face Detection)
80 String(20 Byte) Recognized Face 2 Age
And so on
The four Integers are interpreted as follows:
(XYWH) X,Y Center of Face, (W,H) Width and Height
All values are in respect to double the size of the thumbnail image- See Also:
-
TAG_FLASH_WARNING
public static final int TAG_FLASH_WARNING0 = No
1 = Yes- See Also:
-
TAG_RECOGNIZED_FACE_FLAGS
public static final int TAG_RECOGNIZED_FACE_FLAGS- See Also:
-
TAG_TITLE
public static final int TAG_TITLE- See Also:
-
TAG_BABY_NAME
public static final int TAG_BABY_NAME- See Also:
-
TAG_LOCATION
public static final int TAG_LOCATION- See Also:
-
TAG_COUNTRY
public static final int TAG_COUNTRY- See Also:
-
TAG_STATE
public static final int TAG_STATE- See Also:
-
TAG_CITY
public static final int TAG_CITY- See Also:
-
TAG_LANDMARK
public static final int TAG_LANDMARK- See Also:
-
TAG_INTELLIGENT_RESOLUTION
public static final int TAG_INTELLIGENT_RESOLUTION0 = Off
2 = Auto
3 = On- See Also:
-
TAG_MAKERNOTE_VERSION
public static final int TAG_MAKERNOTE_VERSION- See Also:
-
TAG_SCENE_MODE
public static final int TAG_SCENE_MODE- See Also:
-
TAG_WB_RED_LEVEL
public static final int TAG_WB_RED_LEVEL- See Also:
-
TAG_WB_GREEN_LEVEL
public static final int TAG_WB_GREEN_LEVEL- See Also:
-
TAG_WB_BLUE_LEVEL
public static final int TAG_WB_BLUE_LEVEL- See Also:
-
TAG_FLASH_FIRED
public static final int TAG_FLASH_FIRED- See Also:
-
TAG_TEXT_STAMP_2
public static final int TAG_TEXT_STAMP_2- See Also:
-
TAG_TEXT_STAMP_3
public static final int TAG_TEXT_STAMP_3- See Also:
-
TAG_BABY_AGE_1
public static final int TAG_BABY_AGE_1- See Also:
-
TAG_TRANSFORM_1
public static final int TAG_TRANSFORM_1(decoded as two 16-bit signed integers) '-1 1' = Slim Low '-3 2' = Slim High '0 0' = Off '1 1' = Stretch Low '3 2' = Stretch High- See Also:
-
-
Constructor Details
-
PanasonicMakernoteDirectory
public PanasonicMakernoteDirectory()
-
-
Method Details
-
getName
Description copied from class:DirectoryProvides the name of the directory, for display purposes. E.g.Exif -
getDetectedFaces
-
getRecognizedFaces
-
getAge
Attempts to convert the underlying string value (as stored in the directory) into an Age object.- Parameters:
tag- The tag identifier.- Returns:
- The parsed Age object, or null if the tag was empty of the value unable to be parsed.
-