## Pentax Tags

The Pentax tags are also used in Asahi cameras.

> Tag ID | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 0x0000 | PentaxVersion | int8u[4] |
> 0x0001 | PentaxModelType | int16u |
> 0x0002 | PreviewImageSize | int16u[2]~ |
> 0x0003 | PreviewImageLength | int32u* |
> 0x0004 | PreviewImageStart | int32u* |
> 0x0005 | PentaxModelID | int32u | --> Pentax PentaxModelID Values
> 0x0006 | Date | undef[4] | (changing either Date or Time will affect ShutterCount decryption)
> 0x0007 | Time | undef[3] |
> 0x0008 | Quality | int16u | 0 = Good 1 = Better 2 = Best 3 = TIFF 4 = RAW 5 = Premium
> 0x0009 | PentaxImageSize | int16u | 0 = 640x480 1 = Full 2 = 1024x768 3 = 1280x960 4 = 1600x1200 5 = 2048x1536 8 = 2560x1920 or 2304x1728 9 = 3072x2304 10 = 3264x2448 19 = 320x240 20 = 2288x1712 21 = 2592x1944 22 = 2304x1728 or 2592x1944 23 = 3056x2296 25 = 2816x2212 or 2816x2112 27 = 3648x2736 '0 0' = 2304x1728 '4 0' = 1600x1200 '5 0' = 2048x1536 '8 0' = 2560x1920 '32 2' = 960x640 '33 2' = 1152x768 '34 2' = 1536x1024 '35 1' = 2400x1600 '36 0' = 3008x2008 or 3040x2024 '37 0' = 3008x2000
> 0x000b | PictureMode | int16u[n] | (1 or 2 values) [Value 0] 0 = Program 1 = Shutter Speed Priority 2 = Program AE 3 = Manual 5 = Portrait 6 = Landscape 8 = Sport 9 = Night Scene 11 = Soft 12 = Surf & Snow 13 = Candlelight 14 = Autumn 15 = Macro 17 = Fireworks 18 = Text 19 = Panorama 30 = Self Portrait 31 = Illustrations 33 = Digital Filter 37 = Museum 38 = Food 40 = Green Mode 49 = Light Pet 50 = Dark Pet 51 = Medium Pet 53 = Underwater 54 = Candlelight 55 = Natural Skin Tone 56 = Synchro Sound Record 58 = Frame Composite 60 = Kids 61 = Blur Reduction 255 = Digital Filter?
> 0x000c | FlashMode | int16u[n] | [Value 0] 0x0 = Auto, Did not fire 0x1 = Off 0x2 = On, Did not fire 0x3 = Auto, Did not fire, Red-eye reduction 0x100 = Auto, Fired 0x102 = On 0x103 = Auto, Fired, Red-eye reduction 0x104 = On, Red-eye reduction 0x105 = On, Wireless (Master) 0x106 = On, Wireless (Control) 0x108 = On, Soft 0x109 = On, Slow-sync 0x10a = On, Slow-sync, Red-eye reduction 0x10b = On, Trailing-curtain Sync [Value 1] 0x3f = Internal 0x100 = External, Auto 0x23f = External, Flash Problem 0x300 = External, Manual 0x304 = External, P-TTL Auto 0x305 = External, Contrast-control Sync 0x306 = External, High-speed Sync 0x30c = External, Wireless 0x30d = External, Wireless, High-speed Sync
> 0x000d | FocusMode | int16u | (Pentax models) 0 = Normal 1 = Macro 2 = Infinity 3 = Manual 4 = Super Macro 5 = Pan Focus 16 = AF-S 17 = AF-C (Asahi models) 0 = Normal 1 = Macro (1) 2 = Macro (2) 3 = Infinity
> 0x000e | AFPointSelected | int16u | 1 = Upper-left 2 = Top 3 = Upper-right 4 = Left 5 = Mid-left 6 = Center 7 = Mid-right 8 = Right 9 = Lower-left 10 = Bottom 11 = Lower-right 65532 = Face Recognition AF 65533 = Automatic Tracking AF 65534 = Fixed Center 65535 = Auto
> 0x000f | AFPointsInFocus | int16u | 0x0 = Fixed Center or Multiple 0x1 = Top-left 0x2 = Top-center 0x3 = Top-right 0x4 = Left 0x5 = Center 0x6 = Right 0x7 = Bottom-left 0x8 = Bottom-center 0x9 = Bottom-right 0xffff = None
> 0x0010 | FocusPosition | int16u | (related to focus distance but affected by focal length)
> 0x0012 | ExposureTime | int32u |
> 0x0013 | FNumber | int16u |
> 0x0014 | ISO | int16u | (may be different than EXIF:ISO, which can round to the nearest full stop) 3 = 50 4 = 64 5 = 80 6 = 100 7 = 125 8 = 160 9 = 200 10 = 250 11 = 320 12 = 400 13 = 500 14 = 640 15 = 800 16 = 1000 17 = 1250 18 = 1600 19 = 2000 20 = 2500 21 = 3200 22 = 4000 23 = 5000 24 = 6400 50 = 50 100 = 100 200 = 200 258 = 50 259 = 70 260 = 100 261 = 140 262 = 200 263 = 280 264 = 400 265 = 560 266 = 800 267 = 1100 268 = 1600 269 = 2200 270 = 3200 400 = 400 800 = 800 1600 = 1600 3200 = 3200
> 0x0015 | LightReading | int16u | (calibrated differently for different models. For the Optio WP, add 6 to get approximate Light Value. May not be valid for some models, ie. Optio S)
> 0x0016 | ExposureCompensation | int16u |
> 0x0017 | MeteringMode | int16u | 0 = Multi-segment 1 = Center-weighted average 2 = Spot
> 0x0018 | AutoBracketing | int16u[n] | (1 or 2 values: exposure bracket step in EV, then extended bracket if available. Extended bracket values are printed as 'WB-BA', 'WB-GM', 'Saturation', 'Sharpness' or 'Contrast' followed by '+1', '+2' or '+3' for step size)
> 0x0019 | WhiteBalance | int16u | 0 = Auto 1 = Daylight 2 = Shade 3 = Fluorescent 4 = Tungsten 5 = Manual 6 = DaylightFluorescent 7 = DaywhiteFluorescent 8 = WhiteFluorescent 9 = Flash 10 = Cloudy 17 = Kelvin 65534 = Unknown 65535 = User-Selected
> 0x001a | WhiteBalanceMode | int16u | 1 = Auto (Daylight) 2 = Auto (Shade) 3 = Auto (Flash) 4 = Auto (Tungsten) 6 = Auto (DaylightFluorescent) 7 = Auto (DaywhiteFluorescent) 8 = Auto (WhiteFluorescent) 10 = Auto (Cloudy) 65534 = Unknown 65535 = User-Selected
> 0x001b | BlueBalance | int16u |
> 0x001c | RedBalance | int16u |
> 0x001d | FocalLength | int32u |
> 0x001e | DigitalZoom | int16u |
> 0x001f | Saturation | int16u[n] | (1 or 2 values) [Value 0] 0 = Low 1 = Normal 2 = High 3 = Med Low 4 = Med High 5 = Very Low 6 = Very High 65535 = None
> 0x0020 | Contrast | int16u[n] | (1 or 2 values) [Value 0] 0 = Low 1 = Normal 2 = High 3 = Med Low 4 = Med High 5 = Very Low 6 = Very High
> 0x0021 | Sharpness | int16u[n] | (1 or 2 values) [Value 0] 0 = Soft 1 = Normal 2 = Hard 3 = Med Soft 4 = Med Hard 5 = Very Soft 6 = Very Hard
> 0x0022 | WorldTimeLocation | int16u | 0 = Hometown 1 = Destination
> 0x0023 | HometownCity | int16u | --> Pentax City Values
> 0x0024 | DestinationCity | int16u | --> Pentax City Values
> 0x0025 | HometownDST | int16u | 0 = No 1 = Yes
> 0x0026 | DestinationDST | int16u | 0 = No 1 = Yes
> 0x0027 | DSPFirmwareVersion | undef |
> 0x0028 | CPUFirmwareVersion | undef |
> 0x0029 | FrameNumber | int32u |
> 0x002d | EffectiveLV | int16u | (camera-calculated light value, but includes exposure compensation)
> 0x0032 | ImageProcessing | undef[4] | '0 0' = Unprocessed '0 0 0 0' = Unprocessed '0 0 0 4' = Digital Filter '2 0 0 0' = Cropped '4 0 0 0' = Color Filter '16 0 0 0' = Frame Synthesis?
> 0x0033 | PictureMode | int8u[3] | [Values 0 and 1] '0 0' = Program '0 1' = Hi-speed Program '0 2' = DOF Program '0 3' = MTF Program '0 4' = Standard '0 5' = Portrait '0 6' = Landscape '0 7' = Macro '0 8' = Sport '0 9' = Night Scene Portrait '0 10' = No Flash '0 11' = Night Scene '0 12' = Surf & Snow '0 13' = Text '0 14' = Sunset '0 15' = Kids '0 16' = Pet '0 17' = Candlelight '0 18' = Museum '1 4' = Auto PICT (Standard) '1 5' = Auto PICT (Portrait) '1 6' = Auto PICT (Landscape) '1 7' = Auto PICT (Macro) '1 8' = Auto PICT (Sport) '2 0' = Program (HyP) '2 1' = Hi-speed Program (HyP) '2 2' = DOF Program (HyP) '2 3' = MTF Program (HyP) '3 0' = Green Mode '4 0' = Shutter Speed Priority '5 0' = Aperture Priority '6 0' = Program Tv Shift '7 0' = Program Av Shift '8 0' = Manual '9 0' = Bulb '10 0' = Aperture Priority, Off-Auto-Aperture '11 0' = Manual, Off-Auto-Aperture '12 0' = Bulb, Off-Auto-Aperture '13 0' = Shutter & Aperture Priority AE '15 0' = Sensitivity Priority AE '16 0' = Flash X-Sync Speed AE [Value 2] 0 = 1/2 EV steps 1 = 1/3 EV steps
> 0x0034 | DriveMode | int8u[4] | [Value 0] 0 = Single-frame 1 = Continuous 2 = Continuous (Hi) 3 = Burst [Value 1] 0 = No Timer 1 = Self-timer (12 s) 2 = Self-timer (2 s) [Value 2] 0 = Shutter Button 1 = Remote Control (3 s delay) 2 = Remote Control [Value 3] 0 = Single Exposure 1 = Multiple Exposure
> 0x0037 | ColorSpace | int16u | 0 = sRGB 1 = Adobe RGB
> 0x0038 | ImageAreaOffset | int16u[2] |
> 0x0039 | RawImageSize | int16u[2]~ |
> 0x003c | AFPointsInFocus | N | (*istD only) Bit 0 = Upper-left Bit 1 = Top Bit 2 = Upper-right Bit 3 = Left Bit 4 = Mid-left Bit 5 = Center Bit 6 = Mid-right Bit 7 = Right Bit 8 = Lower-left Bit 9 = Bottom Bit 10 = Lower-right
> 0x003e | PreviewImageBorders | int8u[4] | (top, bottom, left, right)
> 0x003f | LensType | int8u[2] | --> Pentax LensType Values
> 0x0040 | SensitivityAdjust | int16u |
> 0x0041 | ImageProcessingCount | int16u |
> 0x0047 | CameraTemperature | int8s |
> 0x0048 | AELock | int16u | 0 = Off 1 = On
> 0x0049 | NoiseReduction | int16u | 0 = Off 1 = On
> 0x004d | FlashExposureComp | int32s |
> 0x004f | ImageTone | int16u | 0 = Natural 1 = Bright 2 = Portrait 3 = Landscape 4 = Vibrant 5 = Monochrome
> 0x0050 | ColorTemperature | int16u |
> 0x005c | ShakeReductionInfo | - | --> Pentax SRInfo Tags
> 0x005d | ShutterCount | undef[4] |
> 0x0069 | DynamicRangeExpansion | undef[4] | '0 0 0 0' = Off '1 0 0 0' = On
> 0x0071 | HighISONoiseReduction | int8u | 0 = Off 1 = Weakest 2 = Weak 3 = Strong
> 0x0072 | AFAdjustment | int16s |
> 0x0200 | BlackPoint | int16u[4] |
> 0x0201 | WhitePoint | int16u[4] |
> 0x0203 | ColorMatrixA | int16s[9] |
> 0x0204 | ColorMatrixB | int16s[9] |
> 0x0205 | CameraSettings | - | --> Pentax CameraSettings Tags
> 0x0206 | AEInfo | - | --> Pentax AEInfo Tags
> 0x0207 | LensInfo | - | --> Pentax LensInfo Tags --> Pentax LensInfo2 Tags
> 0x0208 | FlashInfo | - | --> Pentax FlashInfo Tags
> 0x0209 | AEMeteringSegments | int8u[16] | (measurements from each of the 16 AE metering segments, converted to LV)
> 0x020a | FlashMeteringSegments | int8u[16] |
> 0x020b | SlaveFlashMeteringSegments | int8u[16] | (used in wireless control mode)
> 0x020d | WB_RGGBLevelsDaylight | int16u[4] |
> 0x020e | WB_RGGBLevelsShade | int16u[4] |
> 0x020f | WB_RGGBLevelsCloudy | int16u[4] |
> 0x0210 | WB_RGGBLevelsTungsten | int16u[4] |
> 0x0211 | WB_RGGBLevelsFluorescentD | int16u[4] |
> 0x0212 | WB_RGGBLevelsFluorescentN | int16u[4] |
> 0x0213 | WB_RGGBLevelsFluorescentW | int16u[4] |
> 0x0214 | WB_RGGBLevelsFlash | int16u[4] |
> 0x0215 | CameraInfo | - | --> Pentax CameraInfo Tags
> 0x0216 | BatteryInfo | - | --> Pentax BatteryInfo Tags
> 0x021f | AFInfo | - | --> Pentax AFInfo Tags
> 0x0222 | ColorInfo | - | --> Pentax ColorInfo Tags
> 0x03fe | DataDump | N |
> 0x03ff | UnknownInfo | - | --> Pentax UnknownInfo Tags
> 0x0402 | ToneCurve | Y~ |
> 0x0403 | ToneCurves | Y~ |
> 0x0e00 | PrintIM | - | --> PrintIM Tags

## Pentax PentaxModelID Values

> Value | PentaxModelID | Value | PentaxModelID
> --- | --- | --- | ---
> 0xd | = Optio 330/430 | 0x12b60 | = *ist DS2
> 0x12926 | = Optio 230 | 0x12b62 | = Samsung GX-1S
> 0x12958 | = Optio 330GS | 0x12b6a | = Optio A10
> 0x12962 | = Optio 450/550 | 0x12b7e | = *ist DL2
> 0x1296c | = Optio S | 0x12b80 | = Samsung GX-1L
> 0x12994 | = *ist D | 0x12b9c | = K100D
> 0x129b2 | = Optio 33L | 0x12b9d | = K110D
> 0x129bc | = Optio 33LF | 0x12ba2 | = K100D Super
> 0x129c6 | = Optio 33WR/43WR/555 | 0x12bb0 | = Optio T10/T20
> 0x129d5 | = Optio S4 | 0x12be2 | = Optio W10
> 0x12a02 | = Optio MX | 0x12bf6 | = Optio M10
> 0x12a0c | = Optio S40 | 0x12c1e | = K10D
> 0x12a16 | = Optio S4i | 0x12c20 | = Samsung GX10
> 0x12a34 | = Optio 30 | 0x12c28 | = Optio S7
> 0x12a52 | = Optio S30 | 0x12c2d | = Optio L20
> 0x12a66 | = Optio 750Z | 0x12c32 | = Optio M20
> 0x12a70 | = Optio SV | 0x12c3c | = Optio W20
> 0x12a75 | = Optio SVi | 0x12c46 | = Optio A20
> 0x12a7a | = Optio X | 0x12c78 | = Optio E30
> 0x12a8e | = Optio S5i | 0x12c82 | = Optio T30
> 0x12a98 | = Optio S50 | 0x12c8c | = Optio M30
> 0x12aa2 | = *ist DS | 0x12c96 | = Optio W30
> 0x12ab6 | = Optio MX4 | 0x12ca0 | = Optio A30
> 0x12ac0 | = Optio S5n | 0x12cb4 | = Optio E40
> 0x12aca | = Optio WP | 0x12cbe | = Optio M40
> 0x12afc | = Optio S55 | 0x12cc8 | = Optio Z10
> 0x12b10 | = Optio S5z | 0x12cd2 | = K20D
> 0x12b1a | = *ist DL | 0x12cdc | = Optio S10
> 0x12b24 | = Optio S60 | 0x12ce6 | = Optio A40
> 0x12b2e | = Optio S45 | 0x12cf0 | = Optio V10
> 0x12b38 | = Optio S6 | 0x12cfa | = K200D
> 0x12b4c | = Optio WPi | 0x12d0e | = Optio E50
> 0x12b56 | = BenQ DC X600 | 0x12d18 | = Optio M50

## Pentax City Values

> Value | City | Value | City | Value | City
> --- | --- | --- | --- | --- | ---
> 0 | = Pago Pago | 24 | = Berlin | 48 | = Hong Kong
> 1 | = Honolulu | 25 | = Johannesburg | 49 | = Perth
> 2 | = Anchorage | 26 | = Istanbul | 50 | = Beijing
> 3 | = Vancouver | 27 | = Cairo | 51 | = Shanghai
> 4 | = San Fransisco | 28 | = Jerusalem | 52 | = Manila
> 5 | = Los Angeles | 29 | = Moscow | 53 | = Taipei
> 6 | = Calgary | 30 | = Jeddah | 54 | = Seoul
> 7 | = Denver | 31 | = Tehran | 55 | = Adelaide
> 8 | = Mexico City | 32 | = Dubai | 56 | = Tokyo
> 9 | = Chicago | 33 | = Karachi | 57 | = Guam
> 10 | = Miami | 34 | = Kabul | 58 | = Sydney
> 11 | = Toronto | 35 | = Male | 59 | = Noumea
> 12 | = New York | 36 | = Delhi | 60 | = Wellington
> 13 | = Santiago | 37 | = Colombo | 61 | = Auckland
> 14 | = Caracus | 38 | = Kathmandu | 62 | = Lima
> 15 | = Halifax | 39 | = Dacca | 63 | = Dakar
> 16 | = Buenos Aires | 40 | = Yangon | 64 | = Algiers
> 17 | = Sao Paulo | 41 | = Bangkok | 65 | = Helsinki
> 18 | = Rio de Janeiro | 42 | = Kuala Lumpur | 66 | = Athens
> 19 | = Madrid | 43 | = Vientiane | 67 | = Nairobi
> 20 | = London | 44 | = Singapore | 68 | = Amsterdam
> 21 | = Paris | 45 | = Phnom Penh | 69 | = Stockholm
> 22 | = Milan | 46 | = Ho Chi Minh | 70 | = Lisbon
> 23 | = Rome | 47 | = Jakarta |  |

## Pentax LensType Values

The first number gives the series of the lens, and the second identifies the lens model. Note that newer series numbers may not always be properly identified by cameras running older firmware versions.

> Value | LensType
> --- | ---
> '0 0' | = M-42 or No Lens
> '1 0' | = K,M Lens
> '2 0' | = A Series Lens
> '3 0' | = SIGMA
> '3 17' | = smc PENTAX-FA SOFT 85mm F2.8
> '3 18' | = smc PENTAX-F 1.7X AF ADAPTER
> '3 19' | = smc PENTAX-F 24-50mm F4
> '3 20' | = smc PENTAX-F 35-80mm F4-5.6
> '3 21' | = smc PENTAX-F 80-200mm F4.7-5.6
> '3 22' | = smc PENTAX-F FISH-EYE 17-28mm F3.5-4.5
> '3 23' | = smc PENTAX-F 100-300mm F4.5-5.6
> '3 24' | = smc PENTAX-F 35-135mm F3.5-4.5
> '3 25' | = smc PENTAX-F 35-105mm F4-5.6 or SIGMA or Tokina
> '3 26' | = smc PENTAX-F* 250-600mm F5.6 ED[IF]
> '3 27' | = smc PENTAX-F 28-80mm F3.5-4.5
> '3 28' | = smc PENTAX-F 35-70mm F3.5-4.5
> '3 29' | = PENTAX-F 28-80mm F3.5-4.5 or SIGMA AF 18-125mm F3.5-5.6 DC
> '3 30' | = PENTAX-F 70-200mm F4-5.6
> '3 31' | = smc PENTAX-F 70-210mm F4-5.6
> '3 32' | = smc PENTAX-F 50mm F1.4
> '3 33' | = smc PENTAX-F 50mm F1.7
> '3 34' | = smc PENTAX-F 135mm F2.8 [IF]
> '3 35' | = smc PENTAX-F 28mm F2.8
> '3 36' | = SIGMA 20mm F1.8 EX DG ASPHERICAL RF
> '3 38' | = smc PENTAX-F* 300mm F4.5 ED[IF]
> '3 39' | = smc PENTAX-F* 600mm F4 ED[IF]
> '3 40' | = smc PENTAX-F MACRO 100mm F2.8
> '3 41' | = smc PENTAX-F MACRO 50mm F2.8 or Sigma 50mm F2,8 MACRO
> '3 44' | = Tamron 35-90mm F4 AF or various SIGMA models
> '3 46' | = SIGMA APO 70-200mm F2.8 EX or EX APO 100-300mm F4 IF
> '3 50' | = smc PENTAX-FA 28-70mm F4 AL
> '3 51' | = SIGMA 28mm F1.8 EX DG ASPHERICAL MACRO
> '3 52' | = smc PENTAX-FA 28-200mm F3.8-5.6 AL[IF]
> '3 53' | = smc PENTAX-FA 28-80mm F3.5-5.6 AL
> '3 247' | = smc PENTAX-DA FISH-EYE 10-17mm F3.5-4.5 ED[IF]
> '3 248' | = smc PENTAX-DA 12-24mm F4 ED AL[IF]
> '3 250' | = smc PENTAX-DA 50-200mm F4-5.6 ED
> '3 251' | = smc PENTAX-DA 40mm F2.8 Limited
> '3 252' | = smc PENTAX-DA 18-55mm F3.5-5.6 AL
> '3 253' | = smc PENTAX-DA 14mm F2.8 ED[IF]
> '3 254' | = smc PENTAX-DA 16-45mm F4 ED AL
> '3 255' | = SIGMA
> '4 1' | = smc PENTAX-FA SOFT 28mm F2.8
> '4 2' | = smc PENTAX-FA 80-320mm F4.5-5.6
> '4 3' | = smc PENTAX-FA 43mm F1.9 Limited
> '4 6' | = smc PENTAX-FA 35-80mm F4-5.6
> '4 12' | = smc PENTAX-FA 50mm F1.4
> '4 15' | = smc PENTAX-FA 28-105mm F4-5.6 [IF]
> '4 16' | = TAMRON AF 80-210mm F4-5.6 (178D)
> '4 19' | = TAMRON SP AF 90mm F2.8 (172E)
> '4 20' | = smc PENTAX-FA 28-80mm F3.5-5.6
> '4 22' | = TOKINA 28-80mm F3.5-5.6
> '4 23' | = smc PENTAX-FA 20-35mm F4 AL
> '4 24' | = smc PENTAX-FA 77mm F1.8 Limited
> '4 25' | = TAMRON SP AF 14mm F2.8
> '4 26' | = smc PENTAX-FA MACRO 100mm F3.5
> '4 27' | = TAMRON AF28-300mm F/3.5-6.3 LD Aspherical[IF] MACRO (185D/285D)
> '4 28' | = smc PENTAX-FA 35mm F2 AL
> '4 29' | = TAMRON AF 28-200mm F/3.8-5.6 LD Super II MACRO (371D)
> '4 34' | = smc PENTAX-FA 24-90mm F3.5-4.5 AL[IF]
> '4 35' | = smc PENTAX-FA 100-300mm F4.7-5.8
> '4 36' | = TAMRON AF70-300mm F/4-5.6 LD MACRO
> '4 37' | = TAMRON SP AF 24-135mm F3.5-5.6 AD AL (190D)
> '4 38' | = smc PENTAX-FA 28-105mm F3.2-4.5 AL[IF]
> '4 39' | = smc PENTAX-FA 31mm F1.8AL Limited
> '4 41' | = TAMRON AF 28-200mm Super Zoom F3.8-5.6 Aspherical XR [IF] MACRO (A03)
> '4 43' | = smc PENTAX-FA 28-90mm F3.5-5.6
> '4 44' | = smc PENTAX-FA J 75-300mm F4.5-5.8 AL
> '4 45' | = TAMRON 28-300mm F3.5-6.3 Ultra zoom XR
> '4 46' | = smc PENTAX-FA J 28-80mm F3.5-5.6 AL
> '4 47' | = smc PENTAX-FA J 18-35mm F4-5.6 AL
> '4 49' | = TAMRON SP AF 28-75mm F2.8 XR Di (A09)
> '4 51' | = smc PENTAX-D FA 50mm F2.8 MACRO
> '4 52' | = smc PENTAX-D FA 100mm F2.8 MACRO
> '4 243' | = smc PENTAX-DA 70mm F2.4 Limited
> '4 244' | = smc PENTAX-DA 21mm F3.2 AL Limited
> '4 245' | = Schneider D-XENON 50-200mm
> '4 246' | = Schneider D-XENON 18-55mm
> '4 247' | = smc PENTAX-DA FISH-EYE 10-17mm F3.5-4.5 ED[IF]
> '4 248' | = smc PENTAX-DA 12-24mm F4 ED AL [IF]
> '4 249' | = TAMRON XR DiII 18-200mm F3.5-6.3 (A14)
> '4 250' | = smc PENTAX-DA 50-200mm F4-5.6 ED
> '4 251' | = smc PENTAX-DA 40mm F2.8 Limited
> '4 252' | = smc PENTAX-DA 18-55mm F3.5-5.6 AL
> '4 253' | = smc PENTAX-DA 14mm F2.8 ED[IF]
> '4 254' | = smc PENTAX-DA 16-45mm F4 ED AL
> '5 1' | = smc PENTAX-FA* 24mm F2 AL[IF]
> '5 2' | = smc PENTAX-FA 28mm F2.8 AL
> '5 3' | = smc PENTAX-FA 50mm F1.7
> '5 4' | = smc PENTAX-FA 50mm F1.4
> '5 5' | = smc PENTAX-FA* 600mm F4 ED[IF]
> '5 6' | = smc PENTAX-FA* 300mm F4.5 ED[IF]
> '5 7' | = smc PENTAX-FA 135mm F2.8 [IF]
> '5 8' | = smc PENTAX-FA MACRO 50mm F2.8
> '5 9' | = smc PENTAX-FA MACRO 100mm F2.8
> '5 10' | = smc PENTAX-FA* 85mm F1.4 [IF]
> '5 11' | = smc PENTAX-FA* 200mm F2.8 ED[IF]
> '5 12' | = smc PENTAX-FA 28-80mm F3.5-4.7
> '5 13' | = smc PENTAX-FA 70-200mm F4-5.6
> '5 14' | = smc PENTAX-FA* 250-600mm F5.6 ED[IF]
> '5 15' | = smc PENTAX-FA 28-105mm F4-5.6
> '5 16' | = smc PENTAX-FA 100-300mm F4.5-5.6
> '6 1' | = smc PENTAX-FA* 85mm F1.4 [IF]
> '6 2' | = smc PENTAX-FA* 200mm F2.8 ED[IF]
> '6 3' | = smc PENTAX-FA* 300mm F2.8 ED[IF]
> '6 4' | = smc PENTAX-FA* 28-70mm F2.8 AL
> '6 5' | = smc PENTAX-FA* 80-200mm F2.8 ED[IF]
> '6 6' | = smc PENTAX-FA* 28-70mm F2.8 AL
> '6 7' | = smc PENTAX-FA* 80-200mm F2.8 ED[IF]
> '6 8' | = smc PENTAX-FA 28-70mm F4AL
> '6 9' | = smc PENTAX-FA 20mm F2.8
> '6 10' | = smc PENTAX-FA* 400mm F5.6 ED[IF]
> '6 13' | = smc PENTAX-FA* 400mm F5.6 ED[IF]
> '6 14' | = smc PENTAX-FA* MACRO 200mm F4 ED[IF]
> '7 0' | = smc PENTAX-DA 21mm F3.2 AL Limited
> '7 229' | = smc PENTAX-DA 18-55mm F3.5-5.6 AL II
> '7 230' | = Tamron AF 17-50mm F2.8 XR Di-II LD (Model A16)
> '7 231' | = smc PENTAX-DA 18-250mm F3.5-6.3 ED AL [IF]
> '7 233' | = smc PENTAX-DA 35mm F2.8 Macro Limited
> '7 235' | = smc PENTAX-DA* 200mm F2.8 ED [IF] SDM (SDM unused)
> '7 238' | = TAMRON AF 18-250mm F3.5-6.3 Di II LD Aspherical [IF] MACRO
> '7 241' | = smc PENTAX-DA* 50-135mm F2.8 ED [IF] SDM (SDM unused)
> '7 242' | = smc PENTAX-DA* 16-50mm F2.8 ED AL [IF] SDM (SDM unused)
> '7 243' | = smc PENTAX-DA 70mm F2.4 Limited
> '7 244' | = smc PENTAX-DA 21mm F3.2 AL Limited
> '8 235' | = smc PENTAX-DA* 200mm F2.8 ED [IF] SDM
> '8 241' | = smc PENTAX-DA* 50-135mm F2.8 ED [IF] SDM
> '8 242' | = smc PENTAX-DA* 16-50mm F2.8 ED AL [IF] SDM

## Pentax SRInfo Tags

Shake reduction information.

> Index | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 0 | SRResult | int8u | 0x0 = Not stabilized Bit 0 = Stabilized Bit 6 = Not ready
> 1 | ShakeReduction | int8u | 0 = Off 1 = On 4 = Off (4) 7 = On (7)
> 2 | SRHalfPressTime | int8u | (time from when the shutter button was half pressed to when the shutter was released, including time for focusing)
> 3 | SRFocalLength | int8u |

## Pentax CameraSettings Tags

Shot information written by Pentax DSLR cameras.

> Index | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 0 | PictureMode2 | int8u | 0 = Scene Mode 1 = Auto PICT 2 = Program AE 3 = Green Mode 4 = Shutter Speed Priority 5 = Aperture Priority 6 = Program Tv Shift 7 = Program Av Shift 8 = Manual 9 = Bulb 10 = Aperture Priority, Off-Auto-Aperture 11 = Manual, Off-Auto-Aperture 12 = Bulb, Off-Auto-Aperture 13 = Shutter & Aperture Priority AE 15 = Sensitivity Priority AE 16 = Flash X-Sync Speed AE
> 1.1 | ProgramLine | int8u | [Mask 0x3] 0x0 = Normal 0x1 = Hi Speed 0x2 = Depth 0x3 = MTF
> 1.2 | EVSteps | int8u | [Mask 0x20] 0x0 = 1/2 EV steps 0x20 = 1/3 EV steps
> 1.3 | E-DialInProgram | int8u | [Mask 0x40] 0x0 = Tv or Av 0x40 = P Shift
> 2 | FlashOptions | N | (the camera flash options settings, set even if the flash is off) [Mask 0xf0] 0x0 = Normal 0x1 = Red-eye reduction 0x2 = Auto 0x3 = Auto, Red-eye reduction 0x5 = Wireless (Master) 0x6 = Wireless (Control) 0x8 = Slow-sync 0x9 = Slow-sync, Red-eye reduction 0xa = Trailing-curtain Sync
> 2.1 | MeteringMode2 | int8u | (may not be valid for some models, ie. *ist D) [Mask 0xf] 0x0 = Multi-segment Bit 0 = Center-weighted average Bit 1 = Spot
> 3 | AFPointMode | int8u | [Mask 0xf0] 0x0 = Auto Bit 4 = Select Bit 5 = Fixed Center
> 3.1 | FocusMode2 | int8u | [Mask 0xf] 0x0 = Manual Bit 0 = AF-S Bit 1 = AF-C
> 4 | AFPointSelected2 | int16u | 0x0 = Auto Bit 0 = Upper-left Bit 1 = Top Bit 2 = Upper-right Bit 3 = Left Bit 4 = Mid-left Bit 5 = Center Bit 6 = Mid-right Bit 7 = Right Bit 8 = Lower-left Bit 9 = Bottom Bit 10 = Lower-right
> 6 | ISOFloor | int8u |
> 7 | DriveMode2 | int8u | 0x0 = Single-frame Bit 0 = Continuous Bit 2 = Self-timer (12 s) Bit 3 = Self-timer (2 s) Bit 4 = Remote Control (3 s delay) Bit 5 = Remote Control Bit 6 = Exposure Bracket Bit 7 = Multiple Exposure
> 8 | ExposureBracketStepSize | int8u | 3 = 0.3 4 = 0.5 5 = 0.7 8 = 1.0 11 = 1.3 12 = 1.5 13 = 1.7 16 = 2.0
> 9 | BracketShotNumber | int8u | 0x0 = n/a 0x3 = 1 of 3 0x5 = 1 of 5 0x13 = 2 of 3 0x15 = 2 of 5 0x23 = 3 of 3 0x25 = 3 of 5 0x35 = 4 of 5 0x45 = 5 of 5
> 13 | RawAndJpgRecording | int8u | (K10D only) 1 = JPEG (Best) 4 = RAW (PEF, Best) 5 = RAW+JPEG (PEF, Best) 8 = RAW (DNG, Best) 9 = RAW+JPEG (DNG, Best) 33 = JPEG (Better) 36 = RAW (PEF, Better) 37 = RAW+JPEG (PEF, Better) 40 = RAW (DNG, Better) 41 = RAW+JPEG (DNG, Better) 65 = JPEG (Good) 68 = RAW (PEF, Good) 69 = RAW+JPEG (PEF, Good) 72 = RAW (DNG, Good) 73 = RAW+JPEG (DNG, Good)
> 14 | JpgRecordedPixels | int8u | (K10D only) 0 = 10 MP 1 = 6 MP 2 = 2 MP
> 16 | FlashOptions2 | int8u | (K10D only, set even if the flash is off) [Mask 0xf0] 0x0 = Normal or Auto (0) 0x10 = Red-eye reduction 0x20 = Normal or Auto (2) 0x30 = Normal or Auto (2), Red-eye reduction 0x50 = Wireless (Master) 0x60 = Wireless (Control) 0x80 = Slow-sync 0x90 = Slow-sync, Red-eye reduction 0xa0 = Trailing-curtain Sync
> 16.1 | MeteringMode3 | int8u | (K10D only) [Mask 0xf] 0x0 = Multi-segment Bit 0 = Center-weighted average Bit 1 = Spot
> 18 | TvExposureTimeSetting | int8u | (K10D only)
> 19 | AvApertureSetting | int8u | (K10D only)
> 20 | SvISOSetting | int8u | (K10D only)
> 21 | BaseExposureCompensation | int8u | (exposure compensation without auto bracketing, K10D only)

## Pentax AEInfo Tags

> Index | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 0 | AEExposureTime | int8u | (val = 24 * 2**((32-raw)/8))
> 1 | AEAperture | int8u | (val = 2**((raw-68)/16))
> 2 | AE_ISO | int8u | (val = 100 * 2**((raw-32)/8))
> 3 | AEXv | int8u | (val = (raw-64)/8)
> 4 | AEBXv | int8s | (val = raw / 8)
> 5 | AEFlashTv | int8u | (val = 24 * 2**((32-raw)/8))
> 6 | AEProgramMode | int8u | 0 = M, P or TAv 1 = Av, B or X 2 = Tv 3 = Sv or Green Mode 8 = Hi-speed Program 11 = Hi-speed Program (P-Shift) 16 = DOF Program 19 = DOF Program (P-Shift) 24 = MTF Program 27 = MTF Program (P-Shift) 35 = Standard 43 = Portrait 51 = Landscape 59 = Macro 67 = Sport 75 = Night Scene Portrait 83 = No Flash 91 = Night Scene 99 = Surf & Snow 107 = Text 115 = Sunset 123 = Kids 131 = Pet 139 = Candlelight 147 = Museum
> 7 | AEExtra? | int8u |
> 12 | AEMeteringMode | int8u | 0x0 = Multi-segment Bit 4 = Center-weighted average Bit 5 = Spot
> 14 | FlashExposureCompSet | int8s | (reports the camera setting, unlike tag 0x004d which reports 0 in Green mode or if flash was on but did not fire. Both this tag and 0x004d report the setting even if the flash is off)

## Pentax LensInfo Tags

Pentax lens information structure.

> Index | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 0 | LensType | int8u[2] | --> Pentax LensType Values
> 3 | LensData | - | --> Pentax LensData Tags

## Pentax LensInfo2 Tags

Pentax lens information structure for newer models (K10D and later).

> Index | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 0 | LensType | N | --> Pentax LensType Values
> 4 | LensData | - | --> Pentax LensData Tags

## Pentax LensData Tags

Pentax lens data information. Some of these tags require interesting binary gymnastics to decode them into useful values.

> Index | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 0.1 | AutoAperture | int8u | [Mask 0x1] 0x0 = On 0x1 = Off
> 0.2 | MinAperture | int8u | [Mask 0x6] 0x0 = 22 0x2 = 32 0x4 = 45 0x6 = 16
> 0.3 | LensFStops | int8u | [Mask 0x70]
> 1 | LensKind? | int8u |
> 2 | LC1? | int8u |
> 3 | LC2? | int8u |
> 4 | LC3? | int8u |
> 5 | LC4? | int8u |
> 6 | LC5? | int8u |
> 7 | LC6? | int8u |
> 8 | LC7? | int8u |
> 9 | FocalLength | int8u |
> 10 | NominalMaxAperture | int8u | [Mask 0xf0]
> 10.1 | NominalMinAperture | int8u | [Mask 0xf]
> 11 | LC10? | int8u |
> 12 | LC11? | int8u |
> 13 | LC12? | int8u |
> 14.1 | MaxAperture | int8u | (effective wide open aperture for current focal length) [Mask 0x7f]
> 15 | LC14? | int8u |
> 16 | LC15? | int8u |

## Pentax FlashInfo Tags

> Index | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 0 | FlashStatus | int8u | 0x0 = Off 0x2 = External, Did not fire 0x6 = External, Fired 0x9 = Internal, Did not fire 0xd = Internal, Fired
> 1 | InternalFlashMode | int8u | 0x86 = On, Wireless (Control) 0x95 = On, Wireless (Master) 0xc0 = On 0xc1 = On, Red-eye reduction 0xc2 = On, Auto 0xc3 = On, Auto, Red-eye reduction 0xc8 = On, Slow-sync 0xc9 = On, Slow-sync, Red-eye reduction 0xca = On, Trailing-curtain Sync 0xf0 = Off, Normal 0xf1 = Off, Red-eye reduction 0xf2 = Off, Auto 0xf3 = Off, Auto, Red-eye reduction 0xf4 = Off, (Unknown 0xf4) 0xf5 = Off, Wireless (Master) 0xf6 = Off, Wireless (Control) 0xf8 = Off, Slow-sync 0xf9 = Off, Slow-sync, Red-eye reduction 0xfa = Off, Trailing-curtain Sync
> 2 | ExternalFlashMode | int8u | 0x3f = Off 0x40 = On, Auto 0xbf = On, Flash Problem 0xc0 = On, Manual 0xc4 = On, P-TTL Auto 0xc5 = On, Contrast-control Sync 0xc6 = On, High-speed Sync 0xcc = On, Wireless 0xcd = On, Wireless, High-speed Sync
> 3 | InternalFlashStrength | int8u | (saved from the most recent flash picture, on a scale of about 0 to 100)
> 4 | TTL_DA_AUp | int8u |
> 5 | TTL_DA_ADown | int8u |
> 6 | TTL_DA_BUp | int8u |
> 7 | TTL_DA_BDown | int8u |

## Pentax CameraInfo Tags

> Index | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 0 | PentaxModelID | int32u | --> Pentax PentaxModelID Values
> 1 | ManufactureDate | int32u | (this value, and the values of the tags below, may change if the camera is serviced)
> 2 | ModelRevision | int32u[2] |
> 4 | InternalSerialNumber | int32u |

## Pentax BatteryInfo Tags

> Index | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 0 | PowerSource | int8u | 0x2 = Body Battery 0x3 = Grip Battery 0x4 = External Power Supply
> 1 | BatteryStates | int8u | (decoded for K10D only) [Value 0] 1 = Body Battery Empty or Missing 2 = Body Battery Almost Empty 3 = Body Battery Running Low 4 = Body Battery Full [Value 1] 1 = Grip Battery Empty or Missing 2 = Grip Battery Almost Empty 3 = Grip Battery Running Low 4 = Grip Battery Full
> 2 | BatteryADBodyNoLoad | int8u | (roughly calibrated for K10D with a new Pentax battery)
> 3 | BatteryADBodyLoad | int8u |
> 4 | BatteryADGripNoLoad | int8u |
> 5 | BatteryADGripLoad | int8u |

## Pentax AFInfo Tags

> Index | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 0 | AFPointsUnknown1? | int16u | 0x777 = Central 9 points 0x7ff = All Bit 0 = Upper-left Bit 1 = Top Bit 2 = Upper-right Bit 3 = Left Bit 4 = Mid-left Bit 5 = Center Bit 6 = Mid-right Bit 7 = Right Bit 8 = Lower-left Bit 9 = Bottom Bit 10 = Lower-right
> 2 | AFPointsUnknown2? | int16u | 0x0 = Auto Bit 0 = Upper-left Bit 1 = Top Bit 2 = Upper-right Bit 3 = Left Bit 4 = Mid-left Bit 5 = Center Bit 6 = Mid-right Bit 7 = Right Bit 8 = Lower-left Bit 9 = Bottom Bit 10 = Lower-right
> 4 | AFPredictor | int16s |
> 6 | AFDefocus | int8u |
> 7 | AFIntegrationTime | int8u | (times less than 2 ms give a value of 0)
> 11 | AFPointsInFocus | int8u | (may report two points in focus even though a single AFPoint has been selected, in which case the selected AFPoint is the first reported) 0 = None 1 = Lower-left, Bottom 2 = Bottom 3 = Lower-right, Bottom 4 = Mid-left, Center 5 = Center (horizontal) 6 = Mid-right, Center 7 = Upper-left, Top 8 = Top 9 = Upper-right, Top 10 = Right 11 = Lower-left, Mid-left 12 = Upper-left, Mid-left 13 = Bottom, Center 14 = Top, Center 15 = Lower-right, Mid-right 16 = Upper-right, Mid-right 17 = Left 18 = Mid-left 19 = Center (vertical) 20 = Mid-right

## Pentax ColorInfo Tags

> Index | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 16 | WBShiftAB | int8s | (positive is a shift toward blue)
> 17 | WBShiftMG | int8s | (positive is a shift toward green)

## Pentax UnknownInfo Tags

> Index | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> [no tags known]

## Pentax Type2 Tags

These tags are used by the Pentax Optio 330 and 430, and are similar to the tags used by Casio.

> Tag ID | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 0x0001 | RecordingMode | int16u | 0 = Auto 1 = Night Scene 2 = Manual
> 0x0002 | Quality | int16u | 0 = Good 1 = Better 2 = Best
> 0x0003 | FocusMode | int16u | 2 = Custom 3 = Auto
> 0x0004 | FlashMode | int16u | 1 = Auto 2 = On 4 = Off 6 = Red-eye reduction
> 0x0007 | WhiteBalance | int16u | 0 = Auto 1 = Daylight 2 = Shade 3 = Tungsten 4 = Fluorescent 5 = Manual
> 0x000a | DigitalZoom | int32u |
> 0x000b | Sharpness | int16u | 0 = Normal 1 = Soft 2 = Hard
> 0x000c | Contrast | int16u | 0 = Normal 1 = Low 2 = High
> 0x000d | Saturation | int16u | 0 = Normal 1 = Low 2 = High
> 0x0014 | ISO | int16u | 10 = 100 16 = 200 50 = 50 100 = 100 200 = 200 400 = 400 800 = 800 1600 = 1600 3200 = 3200
> 0x0017 | ColorFilter | int16u | 1 = Full 2 = Black & White 3 = Sepia
> 0x0e00 | PrintIM | - | --> PrintIM Tags
> 0x1000 | HometownCityCode | undef[4] |
> 0x1001 | DestinationCityCode | undef[4] |

## Pentax Type4 Tags

The following few tags are extracted from the wealth of information available in maker notes of the Optio E20. These maker notes are stored as ASCII text in a format very similar to some HP models.

> Tag ID | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 'F/W Version' | FirmwareVersion | N |

## Pentax MOV Tags

This information is found in Pentax MOV videos.

> Index | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 0 | Make | N |
> 38 | ExposureTime | N |
> 42 | FNumber | N |
> 50 | ExposureCompensation | N |
> 68 | WhiteBalance | N | 0 = Auto 1 = Daylight 2 = Shade 3 = Fluorescent 4 = Tungsten 5 = Manual
> 72 | FocalLength | N |
> 175 | ISO | N |

(This document generated automatically by Image::ExifTool::BuildTagLookup)
Last revised Apr 16, 2008

<-- ExifTool Tag Names