## Pentax Tags

These tags are used in Pentax/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 7 = RAW (pixel shift enabled) 65535 = n/a
> 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 |  | 29 = 4000x3000 30 = 4288x3216 31 = 4608x3456 129 = 1920x1080 135 = 4608x2592 257 = 3216x3216 '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. Decimal values differentiate Optio 555 modes which are different from other models) [Value 0]
> 0 = Program 0.1 = Av 1 = Shutter Speed Priority 1.1 = M 2 = Program AE 2.1 = Tv 3 = Manual 3.1 = USER 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 20 = 3-D 21 = Black & White 22 = Sepia 23 = Red 24 = Pink 25 = Purple 26 = Blue 27 = Green 28 = Yellow 30 = Self Portrait |  | 31 = Illustrations 33 = Digital Filter 35 = Night Scene Portrait 37 = Museum 38 = Food 39 = Underwater 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 59 = Report 60 = Kids 61 = Blur Reduction 63 = Panorama 2 65 = Half-length Portrait 66 = Portrait 2 74 = Digital Microscope 75 = Blue Sky 80 = Miniature 81 = HDR 83 = Fisheye 85 = Digital Filter 4 221 = P 255 = PICT
> 0x000c | FlashMode | int16u[n] | [Value 0]
> 0x0 = Auto, Did not fire 0x1 = Off, Did not fire 0x2 = On, Did not fire 0x3 = Auto, Did not fire, Red-eye reduction 0x5 = On, Did not fire, Wireless (Master) 0x100 = Auto, Fired 0x102 = On, Fired 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]
> 0x0 = n/a - Off-Auto-Aperture 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 (Focus-priority) 17 = AF-C (Focus-priority) |  | 18 = AF-A (Focus-priority) 32 = Contrast-detect (Focus-priority) 33 = Tracking Contrast-detect (Focus-priority) 272 = AF-S (Release-priority) 273 = AF-C (Release-priority) 274 = AF-A (Release-priority) 288 = Contrast-detect (Release-priority)
> (Asahi models) 0 = Normal 1 = Macro (1) 2 = Macro (2) 3 = Infinity
> 0x000e | AFPointSelected | int16u | (K-1) [Value 0]
> 0 = None 1 = Top-left 2 = Top Near-left 3 = Top 4 = Top Near-right 5 = Top-right 6 = Upper Far-left 7 = Upper-left 8 = Upper Near-left 9 = Upper-middle 10 = Upper Near-right 11 = Upper-right 12 = Upper Far-right 13 = Far Far Left 14 = Far Left 15 = Left 16 = Near-left 17 = Center 18 = Near-right 19 = Right 20 = Far Right 21 = Far Far Right 22 = Lower Far-left 23 = Lower-left 24 = Lower Near-left 25 = Lower-middle 26 = Lower Near-right 27 = Lower-right |  | 28 = Lower Far-right 29 = Bottom-left 30 = Bottom Near-left 31 = Bottom 32 = Bottom Near-right 33 = Bottom-right 263 = Zone Select Upper-left 264 = Zone Select Upper Near-left 265 = Zone Select Upper Middle 266 = Zone Select Upper Near-right 267 = Zone Select Upper-right 270 = Zone Select Far Left 271 = Zone Select Left 272 = Zone Select Near-left 273 = Zone Select Center 274 = Zone Select Near-right 275 = Zone Select Right 276 = Zone Select Far Right 279 = Zone Select Lower-left 280 = Zone Select Lower Near-left 281 = Zone Select Lower-middle 282 = Zone Select Lower Near-right 283 = Zone Select Lower-right 65531 = AF Select 65532 = Face Detect AF 65533 = Automatic Tracking AF 65534 = Fixed Center 65535 = Auto
> [Value 1]
> 0 = Single Point 1 = Expanded Area 9-point (S) |  | 3 = Expanded Area 25-point (M) 5 = Expanded Area 33-point (L)
> (K-3) [Value 0]
> 0 = None 1 = Top-left 2 = Top Near-left 3 = Top 4 = Top Near-right 5 = Top-right 6 = Upper-left 7 = Upper Near-left 8 = Upper-middle 9 = Upper Near-right 10 = Upper-right 11 = Far Left 12 = Left 13 = Near-left 14 = Center 15 = Near-right 16 = Right 17 = Far Right 18 = Lower-left 19 = Lower Near-left 20 = Lower-middle 21 = Lower Near-right 22 = Lower-right 23 = Bottom-left 24 = Bottom Near-left 25 = Bottom 26 = Bottom Near-right 27 = Bottom-right 257 = Zone Select Top-left 258 = Zone Select Top Near-left |  | 259 = Zone Select Top 260 = Zone Select Top Near-right 261 = Zone Select Top-right 262 = Zone Select Upper-left 263 = Zone Select Upper Near-left 264 = Zone Select Upper-middle 265 = Zone Select Upper Near-right 266 = Zone Select Upper-right 267 = Zone Select Far Left 268 = Zone Select Left 269 = Zone Select Near-left 270 = Zone Select Center 271 = Zone Select Near-right 272 = Zone Select Right 273 = Zone Select Far Right 274 = Zone Select Lower-left 275 = Zone Select Lower Near-left 276 = Zone Select Lower-middle 277 = Zone Select Lower Near-right 278 = Zone Select Lower-right 279 = Zone Select Bottom-left 280 = Zone Select Bottom Near-left 281 = Zone Select Bottom 282 = Zone Select Bottom Near-right 283 = Zone Select Bottom-right 65531 = AF Select 65532 = Face Detect AF 65533 = Automatic Tracking AF 65534 = Fixed Center 65535 = Auto
> [Value 1]
> 0 = Single Point 1 = Expanded Area 9-point (S) |  | 3 = Expanded Area 25-point (M) 5 = Expanded Area 27-point (L)
> (other models) [Value 0]
> 0 = None 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 65531 = AF Select 65532 = Face Detect AF 65533 = Automatic Tracking AF 65534 = Fixed Center 65535 = Auto
> 0x000f | AFPointsInFocus AFPointsInFocus | int32u int16u | (K-3 only)
> 0x0 = (none) Bit 0 = Top-left Bit 1 = Top Near-left Bit 2 = Top Bit 3 = Top Near-right Bit 4 = Top-right Bit 5 = Upper-left Bit 6 = Upper Near-left Bit 7 = Upper-middle Bit 8 = Upper Near-right Bit 9 = Upper-right Bit 10 = Far Left Bit 11 = Left Bit 12 = Near-left Bit 13 = Center Bit 14 = Near-right Bit 15 = Right Bit 16 = Far Right Bit 17 = Lower-left Bit 18 = Lower Near-left Bit 19 = Lower-middle Bit 20 = Lower Near-right Bit 21 = Lower-right Bit 22 = Bottom-left Bit 23 = Bottom Near-left Bit 24 = Bottom Bit 25 = Bottom Near-right Bit 26 = Bottom-right
> (other models)
> 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 25 = 8000 26 = 10000 27 = 12800 28 = 16000 29 = 20000 30 = 25600 31 = 32000 32 = 40000 33 = 51200 34 = 64000 35 = 80000 36 = 102400 37 = 128000 38 = 160000 39 = 204800 40 = 256000 41 = 320000 42 = 409600 43 = 512000 44 = 640000 |  | 45 = 819200 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 271 = 4500 272 = 6400 273 = 9000 274 = 12800 |  | 275 = 18000 276 = 25600 277 = 36000 278 = 51200 279 = 72000 280 = 102400 281 = 144000 282 = 204800 283 = 288000 284 = 409600 285 = 576000 286 = 819200 400 = 400 800 = 800 1600 = 1600 3200 = 3200 65534 = Auto 2 65535 = Auto
> 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, eg. Optio S)
> 0x0016 | ExposureCompensation ExposureCompensation | int16u int16u[2] | (some models write two values here. The second value is meaning of the second value is not yet known)
> 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', 'Contrast', 'Hue' or 'HighLowKey' 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 = Daylight Fluorescent 7 = Day White Fluorescent 8 = White Fluorescent |  | 9 = Flash 10 = Cloudy 11 = Warm White Fluorescent 14 = Multi Auto 15 = Color Temperature Enhancement 17 = Kelvin 65534 = Unknown 65535 = User-Selected
> 0x001a | WhiteBalanceMode | int16u |
> 1 = Auto (Daylight) 2 = Auto (Shade) 3 = Auto (Flash) 4 = Auto (Tungsten) 6 = Auto (Daylight Fluorescent) 7 = Auto (Day White Fluorescent) 8 = Auto (White Fluorescent) 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 = -2 (low) 1 = 0 (normal) 2 = +2 (high) 3 = -1 (medium low) 4 = +1 (medium high) |  | 5 = -3 (very low) 6 = +3 (very high) 7 = -4 (minimum) 8 = +4 (maximum) 65535 = None
> 0x0020 | Contrast | int16u[n] | (1 or 2 values) [Value 0]
> 0 = -2 (low) 1 = 0 (normal) 2 = +2 (high) 3 = -1 (medium low) 4 = +1 (medium high) |  | 5 = -3 (very low) 6 = +3 (very high) 7 = -4 (minimum) 8 = +4 (maximum) 65535 = n/a
> 0x0021 | Sharpness | int16u[n] | (1 or 2 values) [Value 0]
> 0 = -2 (soft) 1 = 0 (normal) 2 = +2 (hard) 3 = -1 (medium soft) 4 = +1 (medium hard) |  | 5 = -3 (very soft) 6 = +3 (very hard) 7 = -4 (minimum) 8 = +4 (maximum)
> 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 EffectiveLV | int16u int32u | (camera-calculated light value, but includes exposure compensation)
> 0x0032 | ImageEditing | undef[4] |
> '0 0' = None '0 0 0 0' = None '0 0 0 4' = Digital Filter '1 0 0 0' = Resized '2 0 0 0' = Cropped '4 0 0 0' = Digital Filter 4 '6 0 0 0' = Digital Filter 6 '8 0 0 0' = Red-eye Correction '16 0 0 0' = Frame Synthesis?
> 0x0033 | PictureMode | int8u[3] | [Values 0-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 '0 19' = Food '0 20' = Stage Lighting '0 21' = Night Snap '0 23' = Blue Sky '0 24' = Sunset '0 26' = Night Scene HDR '0 27' = HDR '0 28' = Quick Macro '0 29' = Forest '0 30' = Backlight Silhouette '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) '2 22' = Shallow DOF (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 '18 0' = Auto Program (Normal) '18 1' = Auto Program (Hi-speed) '18 2' = Auto Program (DOF) '18 3' = Auto Program (MTF) '18 22' = Auto Program (Shallow DOF) '19 0' = Astrotracer '20 22' = Blur Control '249 0' = Movie (TAv) '250 0' = Movie (TAv, Auto Aperture) '251 0' = Movie (Manual) '252 0' = Movie (Manual, Auto Aperture) '253 0' = Movie (Av) '254 0' = Movie (Av, Auto Aperture) '255 0' = Movie (P, Auto Aperture) '255 4' = Video (4)
> [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 (Lo) |  | 3 = Burst 4 = Continuous (Medium) 255 = Video
> [Value 1]
> 0 = No Timer 1 = Self-timer (12 s) 2 = Self-timer (2 s) |  | 15 = Video 16 = Mirror Lock-up 255 = n/a
> [Value 2] 0 = Shutter Button 1 = Remote Control (3 s delay) 2 = Remote Control 4 = Remote Continuous Shooting [Value 3]
> 0 = Single Exposure 1 = Multiple Exposure 2 = Composite Average 3 = Composite Additive 4 = Composite Bright 8 = Interval Shooting 10 = Interval Composite Average 11 = Interval Composite Additive 12 = Interval Composite Bright 15 = Interval Movie 16 = HDR 32 = HDR Strong 1 48 = HDR Strong 2 64 = HDR Strong 3 80 = HDR Manual 224 = HDR Auto 255 = Video
> 0x0035 | SensorSize | int16u[2] | (includes masked pixels)
> 0x0037 | ColorSpace | int16u | 0 = sRGB 1 = Adobe RGB
> 0x0038 | ImageAreaOffset | int16u[2] |
> 0x0039 | RawImageSize | int16u[2]~ |
> 0x003c | AFPointsInFocus | no | (*istD only)
> 0x0 = (none) 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
> 0x003d | DataScaling | int16u |
> 0x003e | PreviewImageBorders | int8u[4] | (top, bottom, left, right)
> 0x003f | LensRec | - | --> Pentax LensRec Tags
> 0x0040 | SensitivityAdjust | int16u |
> 0x0041 | ImageEditCount | int16u |
> 0x0047 | CameraTemperature | int8s |
> 0x0048 | AELock | int16u | 0 = Off 1 = On
> 0x0049 | NoiseReduction | int16u | 0 = Off 1 = On
> 0x004d | FlashExposureComp FlashExposureComp | int32s int8s[2] |
> 0x004f | ImageTone | int16u |
> 0 = Natural 1 = Bright 2 = Portrait 3 = Landscape 4 = Vibrant 5 = Monochrome |  | 6 = Muted 7 = Reversal Film 8 = Bleach Bypass 9 = Radiant 10 = Cross Processing 11 = Flat
> 0x0050 | ColorTemperature | int16u |
> 0x0053 | ColorTempDaylight | undef[4] | (0x0053-0x005a are 3 numbers: Kelvin, shift AB, shift GM)
> 0x0054 | ColorTempShade | undef[4] |
> 0x0055 | ColorTempCloudy | undef[4] |
> 0x0056 | ColorTempTungsten | undef[4] |
> 0x0057 | ColorTempFluorescentD | undef[4] |
> 0x0058 | ColorTempFluorescentN | undef[4] |
> 0x0059 | ColorTempFluorescentW | undef[4] |
> 0x005a | ColorTempFlash | undef[4] |
> 0x005c | ShakeReductionInfo | - | --> Pentax SRInfo Tags --> Pentax SRInfo2 Tags
> 0x005d | ShutterCount | undef[4] | (Note: May be reset by servicing! Also, does not include shutter actuations for live view or video recording)
> 0x0060 | FaceInfo | - | --> Pentax FaceInfo Tags
> 0x0062 | RawDevelopmentProcess | int16u |
> 1 = 1 (K10D,K200D,K2000,K-m) 3 = 3 (K20D) 4 = 4 (K-7) 5 = 5 (K-x) 6 = 6 (645D) 7 = 7 (K-r) 8 = 8 (K-5,K-5II,K-5IIs) 9 = 9 (Q) 10 = 10 (K-01,K-30,K-50,K-500) 11 = 11 (Q10) 12 = 12 (MX-1,Q-S1,Q7) 13 = 13 (K-3,K-3II) 14 = 14 (645Z) 15 = 15 (K-S1,K-S2) 16 = 16 (K-1) 17 = 17 (K-70) 18 = 18 (KP)
> 0x0067 | Hue | int16u |
> 0 = -2 1 = Normal 2 = 2 3 = -1 4 = 1 |  | 5 = -3 6 = 3 7 = -4 8 = 4 65535 = None
> 0x0068 | AWBInfo | - | --> Pentax AWBInfo Tags
> 0x0069 | DynamicRangeExpansion | undef[4] | (called highlight correction by Pentax for the K20D, K-5, K-01 and maybe other models) [Value 0] 0 = Off 1 = On [Value 1] 0 = 0 1 = Enabled 2 = Auto
> 0x006b | TimeInfo | - | --> Pentax TimeInfo Tags
> 0x006c | HighLowKeyAdj | int16s[2] |
> '-1 0' = -1 '-2 0' = -2 '-3 0' = -3 |  | '-4 0' = -4 '0 0' = 0 '1 0' = 1 |  | '2 0' = 2 '3 0' = 3 '4 0' = 4
> 0x006d | ContrastHighlight | int16s[2] |
> '-1 0' = -1 '-2 0' = -2 '-3 0' = -3 |  | '-4 0' = -4 '0 0' = 0 '1 0' = 1 |  | '2 0' = 2 '3 0' = 3 '4 0' = 4
> 0x006e | ContrastShadow | int16s[2] |
> '-1 0' = -1 '-2 0' = -2 '-3 0' = -3 |  | '-4 0' = -4 '0 0' = 0 '1 0' = 1 |  | '2 0' = 2 '3 0' = 3 '4 0' = 4
> 0x006f | ContrastHighlightShadowAdj | int8u | 0 = Off 1 = On
> 0x0070 | FineSharpness | int8u[n] | [Value 0] 0 = Off 1 = On [Value 1] 0 = Normal 2 = Extra fine
> 0x0071 | HighISONoiseReduction | int8u | [Value 0]
> 0 = Off 1 = Weakest 2 = Weak |  | 3 = Strong 4 = Medium 255 = Auto
> [Value 1] 0 = Inactive 1 = Active 2 = Active (Weak) 3 = Active (Strong) 4 = Active (Medium) [Value 2] 48 = ISO>400 56 = ISO>800 64 = ISO>1600 72 = ISO>3200
> 0x0072 | AFAdjustment | int16s |
> 0x0073 | MonochromeFilterEffect | int16u |
> 1 = Green 2 = Yellow 3 = Orange 4 = Red 5 = Magenta |  | 6 = Blue 7 = Cyan 8 = Infrared 65535 = None
> 0x0074 | MonochromeToning | int16u |
> 0 = -4 1 = -3 2 = -2 3 = -1 4 = 0 |  | 5 = 1 6 = 2 7 = 3 8 = 4 65535 = None
> 0x0076 | FaceDetect | int8u[2] |
> 0x0077 | FaceDetectFrameSize | int16u[2] |
> 0x0079 | ShadowCorrection | int8u[n] |
> 0 = Off 1 = On 2 = Auto 2 '0 0' = Off |  | '1 1' = Weak '1 2' = Normal '1 3' = Strong '2 4' = Auto
> 0x007a | ISOAutoParameters | int8u[2] | '1 0' = Slow '2 0' = Standard '3 0' = Fast
> 0x007b | CrossProcess | int8u |
> 0 = Off 1 = Random 2 = Preset 1 3 = Preset 2 |  | 4 = Preset 3 33 = Favorite 1 34 = Favorite 2 35 = Favorite 3
> 0x007d | LensCorr | - | --> Pentax LensCorr Tags
> 0x007e | WhiteLevel | int32u |
> 0x007f | BleachBypassToning | int16u |
> 0 = Off 1 = Green 2 = Yellow 3 = Orange 4 = Red |  | 5 = Magenta 6 = Purple 7 = Blue 8 = Cyan 65535 = n/a
> 0x0080 | AspectRatio | yes | 0 = 4:3 1 = 3:2 2 = 16:9 3 = 1:1
> 0x0082 | BlurControl | int8u[4] | [Value 0] 0 = Off 1 = Low 2 = Medium 3 = High
> 0x0085 | HDR | int8u[4] | [Value 0]
> 0 = Off 1 = HDR Auto 2 = HDR 1 |  | 3 = HDR 2 4 = HDR 3 5 = HDR Advanced
> [Value 1] 0 = Auto-align Off 1 = Auto-align On [Value 2] 0 = n/a 4 = 1 EV 8 = 2 EV 12 = 3 EV
> 0x0088 | NeutralDensityFilter | int8u | 0 = Off 1 = On
> 0x008b | ISO | int32u |
> 0x0092 | IntervalShooting | int16u[2] | (2 numbers: 1. Shot number 2. Total number of shots) '0 0' = Off
> 0x0095 | SkinToneCorrection | int8s[2] | '0 0' = Off '1 1' = On (type 1) '1 2' = On (type 2)
> 0x0096 | ClarityControl | int8s[2] | '0 0' = Off
> 0x0200 | BlackPoint | int16u[4] |
> 0x0201 | WhitePoint | int16u[4] |
> 0x0203 | ColorMatrixA | int16s[9] |
> 0x0204 | ColorMatrixB | int16s[9] |
> 0x0205 | CameraSettings CameraSettingsUnknown | - - | --> Pentax CameraSettings Tags --> Pentax CameraSettingsUnknown Tags
> 0x0206 | AEInfo AEInfo2 AEInfo3 AEInfoUnknown | - - - - | --> Pentax AEInfo Tags --> Pentax AEInfo2 Tags --> Pentax AEInfo3 Tags --> Pentax AEInfoUnknown Tags
> 0x0207 | LensInfo | - | --> Pentax LensInfo Tags --> Pentax LensInfo2 Tags --> Pentax LensInfo3 Tags --> Pentax LensInfo4 Tags --> Pentax LensInfo5 Tags
> 0x0208 | FlashInfo FlashInfoUnknown | - - | --> Pentax FlashInfo Tags --> Pentax FlashInfoUnknown Tags
> 0x0209 | AEMeteringSegments | int8u[n] | (measurements from each of the 16 AE metering segments for models such as the K10D, 77 metering segments for models such as the K-5, and 4050 metering segments for the K-3, converted to LV)
> 0x020a | FlashMeteringSegments | int8u[n] |
> 0x020b | SlaveFlashMeteringSegments | int8u[n] | (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
> 0x021b | SaturationInfo? | no | (only in PEF and DNG images)
> 0x021f | AFInfo | - | --> Pentax AFInfo Tags
> 0x0220 | HuffmanTable? | no | (found in K10D, K20D and K2000D PEF images)
> 0x0221 | KelvinWB | - | --> Pentax KelvinWB Tags
> 0x0222 | ColorInfo | - | --> Pentax ColorInfo Tags
> 0x0224 | EVStepInfo | - | --> Pentax EVStepInfo Tags
> 0x0226 | ShotInfo | - | --> Pentax ShotInfo Tags
> 0x0227 | FacePos | - | --> Pentax FacePos Tags
> 0x0228 | FaceSize | - | --> Pentax FaceSize Tags
> 0x0229 | SerialNumber | string | (left blank by some cameras)
> 0x022a | FilterInfo | - | --> Pentax FilterInfo Tags
> 0x022b | LevelInfo | - | --> Pentax LevelInfo Tags
> 0x022d | WBLevels | - | --> Pentax WBLevels Tags
> 0x022e | Artist | string |
> 0x022f | Copyright | string |
> 0x0230 | FirmwareVersion | string | (only in videos)
> 0x0231 | ContrastDetectAFArea | int16u[4] | (AF area of the most recent contrast-detect focus operation. Coordinates are left, top, width and height in a 720x480 frame, with Y downwards)
> 0x0235 | CrossProcessParams | undef[10] |
> 0x0239 | LensInfoQ | - | --> Pentax LensInfoQ Tags
> 0x023f | Model | string |
> 0x0243 | PixelShiftInfo | - | --> Pentax PixelShiftInfo Tags
> 0x0245 | AFPointInfo | - | --> Pentax AFPointInfo Tags
> 0x03fe | DataDump | no |
> 0x03ff | TempInfo UnknownInfo | - - | --> Pentax TempInfo Tags --> Pentax UnknownInfo Tags
> 0x0402 | ToneCurve | yes~ |
> 0x0403 | ToneCurves | yes~ |
> 0x0405 | UnknownBlock? | undef | (large unknown data block in PEF/DNG images but not JPG images)
> 0x0e00 | PrintIM | - | --> PrintIM Tags

## Pentax PentaxModelID Values

> Value | PentaxModelID | Value | PentaxModelID | Value | PentaxModelID
> --- | --- | --- | --- | --- | ---
> 0xd | = Optio 330/430 | 0x12c20 | = Samsung GX10 | 0x12e3a | = Optio I-10
> 0x12926 | = Optio 230 | 0x12c28 | = Optio S7 | 0x12e44 | = Optio H90
> 0x12958 | = Optio 330GS | 0x12c2d | = Optio L20 | 0x12e4e | = Optio E90
> 0x12962 | = Optio 450/550 | 0x12c32 | = Optio M20 | 0x12e58 | = X90
> 0x1296c | = Optio S | 0x12c3c | = Optio W20 | 0x12e6c | = K-r
> 0x12971 | = Optio S V1.01 | 0x12c46 | = Optio A20 | 0x12e76 | = K-5
> 0x12994 | = *ist D | 0x12c78 | = Optio E30 | 0x12e8a | = Optio RS1000/RS1500
> 0x129b2 | = Optio 33L | 0x12c7d | = Optio E35 | 0x12e94 | = Optio RZ10
> 0x129bc | = Optio 33LF | 0x12c82 | = Optio T30 | 0x12e9e | = Optio LS1000
> 0x129c6 | = Optio 33WR/43WR/555 | 0x12c8c | = Optio M30 | 0x12ebc | = Optio WG-1 GPS
> 0x129d5 | = Optio S4 | 0x12c91 | = Optio L30 | 0x12ed0 | = Optio S1
> 0x12a02 | = Optio MX | 0x12c96 | = Optio W30 | 0x12ee4 | = Q
> 0x12a0c | = Optio S40 | 0x12ca0 | = Optio A30 | 0x12ef8 | = K-01
> 0x12a16 | = Optio S4i | 0x12cb4 | = Optio E40 | 0x12f0c | = Optio RZ18
> 0x12a34 | = Optio 30 | 0x12cbe | = Optio M40 | 0x12f16 | = Optio VS20
> 0x12a52 | = Optio S30 | 0x12cc3 | = Optio L40 | 0x12f2a | = Optio WG-2 GPS
> 0x12a66 | = Optio 750Z | 0x12cc5 | = Optio L36 | 0x12f48 | = Optio LS465
> 0x12a70 | = Optio SV | 0x12cc8 | = Optio Z10 | 0x12f52 | = K-30
> 0x12a75 | = Optio SVi | 0x12cd2 | = K20D | 0x12f5c | = X-5
> 0x12a7a | = Optio X | 0x12cd4 | = Samsung GX20 | 0x12f66 | = Q10
> 0x12a8e | = Optio S5i | 0x12cdc | = Optio S10 | 0x12f70 | = K-5 II
> 0x12a98 | = Optio S50 | 0x12ce6 | = Optio A40 | 0x12f71 | = K-5 II s
> 0x12aa2 | = *ist DS | 0x12cf0 | = Optio V10 | 0x12f7a | = Q7
> 0x12ab6 | = Optio MX4 | 0x12cfa | = K200D | 0x12f84 | = MX-1
> 0x12ac0 | = Optio S5n | 0x12d04 | = Optio S12 | 0x12f8e | = WG-3 GPS
> 0x12aca | = Optio WP | 0x12d0e | = Optio E50 | 0x12f98 | = WG-3
> 0x12afc | = Optio S55 | 0x12d18 | = Optio M50 | 0x12fa2 | = WG-10
> 0x12b10 | = Optio S5z | 0x12d22 | = Optio L50 | 0x12fb6 | = K-50
> 0x12b1a | = *ist DL | 0x12d2c | = Optio V20 | 0x12fc0 | = K-3
> 0x12b24 | = Optio S60 | 0x12d40 | = Optio W60 | 0x12fca | = K-500
> 0x12b2e | = Optio S45 | 0x12d4a | = Optio M60 | 0x12fde | = WG-4 GPS
> 0x12b38 | = Optio S6 | 0x12d68 | = Optio E60/M90 | 0x12fe8 | = WG-4
> 0x12b4c | = Optio WPi | 0x12d72 | = K2000 | 0x13006 | = WG-20
> 0x12b56 | = BenQ DC X600 | 0x12d73 | = K-m | 0x13010 | = 645Z
> 0x12b60 | = *ist DS2 | 0x12d86 | = Optio P70 | 0x1301a | = K-S1
> 0x12b62 | = Samsung GX-1S | 0x12d90 | = Optio L70 | 0x13024 | = K-S2
> 0x12b6a | = Optio A10 | 0x12d9a | = Optio E70 | 0x1302e | = Q-S1
> 0x12b7e | = *ist DL2 | 0x12dae | = X70 | 0x13056 | = WG-30
> 0x12b80 | = Samsung GX-1L | 0x12db8 | = K-7 | 0x1307e | = WG-30W
> 0x12b9c | = K100D | 0x12dcc | = Optio W80 | 0x13088 | = WG-5 GPS
> 0x12b9d | = K110D | 0x12dea | = Optio P80 | 0x13092 | = K-1
> 0x12ba2 | = K100D Super | 0x12df4 | = Optio WS80 | 0x1309c | = K-3 II
> 0x12bb0 | = Optio T10/T20 | 0x12dfe | = K-x | 0x131f0 | = WG-M2
> 0x12be2 | = Optio W10 | 0x12e08 | = 645D | 0x13222 | = K-70
> 0x12bf6 | = Optio M10 | 0x12e12 | = Optio E80 | 0x1322c | = KP
> 0x12c1e | = K10D | 0x12e30 | = Optio W90 |  |

## Pentax City Values

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

## Pentax LensRec Tags

This record stores the LensType, plus one or two unknown bytes for some models.

> Index1 | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 0 | LensType | int8u[2] | --> Pentax LensType Values
> 3 | ExtenderStatus | int8u | (not valid if a non-AF lens is used) 0 = Not attached 1 = Attached

## 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. Decimal values have been added to differentiate lenses which would otherwise have the same LensType, and are used by the Composite LensID tag when attempting to identify the specific lens model.

> Value | LensType
> --- | ---
> '0 0' | = M-42 or No Lens
> '1 0' | = K or 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 or Sigma Lens
> '3 23.1' | = Sigma AF 28-300mm F3.5-5.6 DL IF
> '3 23.2' | = Sigma AF 28-300mm F3.5-6.3 DG IF Macro
> '3 23.3' | = Tokina 80-200mm F2.8 ATX-Pro
> '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 Lens
> '3 25.1' | = Sigma 55-200mm F4-5.6 DC
> '3 25.2' | = Sigma AF 28-300mm F3.5-5.6 DL IF
> '3 25.3' | = Sigma AF 28-300mm F3.5-6.3 DL IF
> '3 25.4' | = Sigma AF 28-300mm F3.5-6.3 DG IF Macro
> '3 25.5' | = Tokina 80-200mm F2.8 ATX-Pro
> '3 26' | = smc PENTAX-F* 250-600mm F5.6 ED[IF]
> '3 27' | = smc PENTAX-F 28-80mm F3.5-4.5 or Tokina Lens
> '3 27.1' | = Tokina AT-X Pro AF 28-70mm F2.6-2.8
> '3 28' | = smc PENTAX-F 35-70mm F3.5-4.5 or Tokina Lens
> '3 28.1' | = Tokina 19-35mm F3.5-4.5 AF
> '3 28.2' | = Tokina AT-X AF 400mm F5.6
> '3 29' | = PENTAX-F 28-80mm F3.5-4.5 or Sigma or Tokina Lens
> '3 29.1' | = Sigma AF 18-125mm F3.5-5.6 DC
> '3 29.2' | = Tokina AT-X PRO 28-70mm F2.6-2.8
> '3 30' | = PENTAX-F 70-200mm F4-5.6
> '3 31' | = smc PENTAX-F 70-210mm F4-5.6 or Tokina or Takumar Lens
> '3 31.1' | = Tokina AF 730 75-300mm F4.5-5.6
> '3 31.2' | = Takumar-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 Lens
> '3 41.1' | = Sigma 50mm F2.8 Macro
> '3 42' | = Sigma 300mm F2.8 EX DG APO IF
> '3 44' | = Sigma or Tamron Lens (3 44)
> '3 44.1' | = Sigma AF 10-20mm F4-5.6 EX DC
> '3 44.2' | = Sigma 12-24mm F4.5-5.6 EX DG
> '3 44.3' | = Sigma 17-70mm F2.8-4.5 DC Macro
> '3 44.4' | = Sigma 18-50mm F3.5-5.6 DC
> '3 44.5' | = Sigma 17-35mm F2.8-4 EX DG
> '3 44.6' | = Tamron 35-90mm F4 AF
> '3 44.7' | = Sigma AF 18-35mm F3.5-4.5 Aspherical
> '3 46' | = Sigma or Samsung Lens (3 46)
> '3 46.1' | = Sigma APO 70-200mm F2.8 EX
> '3 46.2' | = Sigma EX APO 100-300mm F4 IF
> '3 46.3' | = Samsung/Schneider D-XENON 50-200mm F4-5.6 ED
> '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] or Tamron Lens
> '3 52.1' | = Tamron AF LD 28-200mm F3.8-5.6 [IF] Aspherical (171D)
> '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 Lens (3 255)
> '3 255.1' | = Sigma 18-200mm F3.5-6.3 DC
> '3 255.2' | = Sigma DL-II 35-80mm F4-5.6
> '3 255.3' | = Sigma DL Zoom 75-300mm F4-5.6
> '3 255.4' | = Sigma DF EX Aspherical 28-70mm F2.8
> '3 255.5' | = Sigma AF Tele 400mm F5.6 Multi-coated
> '3 255.6' | = Sigma 24-60mm F2.8 EX DG
> '3 255.7' | = Sigma 70-300mm F4-5.6 Macro
> '3 255.8' | = Sigma 55-200mm F4-5.6 DC
> '3 255.9' | = Sigma 18-50mm F2.8 EX DC
> '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 9' | = Irix 11mm F4 Firefly
> '4 10' | = Irix 15mm F2.4
> '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 21' | = Cosina AF 100-300mm F5.6-6.7
> '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 or Cosina Lens
> '4 26.1' | = Cosina 100mm F3.5 Macro
> '4 27' | = Tamron AF 28-300mm F3.5-6.3 LD Aspherical[IF] Macro (185D/285D)
> '4 28' | = smc PENTAX-FA 35mm F2 AL
> '4 29' | = Tamron AF 28-200mm F3.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 AF 70-300mm F4-5.6 LD Macro 1:2
> '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.8 AL 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 Lens (4 45)
> '4 45.1' | = Tamron 28-300mm F3.5-6.3 Ultra zoom XR
> '4 45.2' | = Tamron AF 28-300mm F3.5-6.3 XR Di LD Aspherical [IF] Macro
> '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 LD Aspherical [IF] Macro
> '4 51' | = smc PENTAX-D FA 50mm F2.8 Macro
> '4 52' | = smc PENTAX-D FA 100mm F2.8 Macro
> '4 55' | = Samsung/Schneider D-XENOGON 35mm F2
> '4 56' | = Samsung/Schneider D-XENON 100mm F2.8 Macro
> '4 75' | = Tamron SP AF 70-200mm F2.8 Di LD [IF] Macro (A001)
> '4 214' | = smc PENTAX-DA 35mm F2.4 AL
> '4 229' | = smc PENTAX-DA 18-55mm F3.5-5.6 AL II
> '4 230' | = Tamron SP AF 17-50mm F2.8 XR Di II
> '4 231' | = smc PENTAX-DA 18-250mm F3.5-6.3 ED AL [IF]
> '4 237' | = Samsung/Schneider D-XENOGON 10-17mm F3.5-4.5
> '4 239' | = Samsung/Schneider D-XENON 12-24mm F4 ED AL [IF]
> '4 242' | = smc PENTAX-DA* 16-50mm F2.8 ED AL [IF] SDM (SDM unused)
> '4 243' | = smc PENTAX-DA 70mm F2.4 Limited
> '4 244' | = smc PENTAX-DA 21mm F3.2 AL Limited
> '4 245' | = Samsung/Schneider D-XENON 50-200mm F4-5.6
> '4 246' | = Samsung/Schneider D-XENON 18-55mm F3.5-5.6
> '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
> '5 98' | = 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 58' | = smc PENTAX-D FA Macro 100mm F2.8 WR
> '7 75' | = Tamron SP AF 70-200mm F2.8 Di LD [IF] Macro (A001)
> '7 201' | = smc Pentax-DA L 50-200mm F4-5.6 ED WR
> '7 202' | = smc PENTAX-DA L 18-55mm F3.5-5.6 AL WR
> '7 203' | = HD PENTAX-DA 55-300mm F4-5.8 ED WR
> '7 204' | = HD PENTAX-DA 15mm F4 ED AL Limited
> '7 205' | = HD PENTAX-DA 35mm F2.8 Macro Limited
> '7 206' | = HD PENTAX-DA 70mm F2.4 Limited
> '7 207' | = HD PENTAX-DA 21mm F3.2 ED AL Limited
> '7 208' | = HD PENTAX-DA 40mm F2.8 Limited
> '7 212' | = smc PENTAX-DA 50mm F1.8
> '7 213' | = smc PENTAX-DA 40mm F2.8 XS
> '7 214' | = smc PENTAX-DA 35mm F2.4 AL
> '7 216' | = smc PENTAX-DA L 55-300mm F4-5.8 ED
> '7 217' | = smc PENTAX-DA 50-200mm F4-5.6 ED WR
> '7 218' | = smc PENTAX-DA 18-55mm F3.5-5.6 AL WR
> '7 220' | = Tamron SP AF 10-24mm F3.5-4.5 Di II LD Aspherical [IF]
> '7 221' | = smc PENTAX-DA L 50-200mm F4-5.6 ED
> '7 222' | = smc PENTAX-DA L 18-55mm F3.5-5.6
> '7 223' | = Samsung/Schneider D-XENON 18-55mm F3.5-5.6 II
> '7 224' | = smc PENTAX-DA 15mm F4 ED AL Limited
> '7 225' | = Samsung/Schneider D-XENON 18-250mm F3.5-6.3
> '7 226' | = smc PENTAX-DA* 55mm F1.4 SDM (SDM unused)
> '7 227' | = smc PENTAX-DA* 60-250mm F4 [IF] SDM (SDM unused)
> '7 228' | = Samsung 16-45mm F4 ED
> '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 234' | = smc PENTAX-DA* 300mm F4 ED [IF] SDM (SDM unused)
> '7 235' | = smc PENTAX-DA* 200mm F2.8 ED [IF] SDM (SDM unused)
> '7 236' | = smc PENTAX-DA 55-300mm F4-5.8 ED
> '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 0' | = Sigma 50-150mm F2.8 II APO EX DC HSM
> '8 3' | = Sigma AF 18-125mm F3.5-5.6 DC
> '8 4' | = Sigma 50mm F1.4 EX DG HSM
> '8 7' | = Sigma 24-70mm F2.8 IF EX DG HSM
> '8 8' | = Sigma 18-250mm F3.5-6.3 DC OS HSM
> '8 11' | = Sigma 10-20mm F3.5 EX DC HSM
> '8 12' | = Sigma 70-300mm F4-5.6 DG OS
> '8 13' | = Sigma 120-400mm F4.5-5.6 APO DG OS HSM
> '8 14' | = Sigma 17-70mm F2.8-4.0 DC Macro OS HSM
> '8 15' | = Sigma 150-500mm F5-6.3 APO DG OS HSM
> '8 16' | = Sigma 70-200mm F2.8 EX DG Macro HSM II
> '8 17' | = Sigma 50-500mm F4.5-6.3 DG OS HSM
> '8 18' | = Sigma 8-16mm F4.5-5.6 DC HSM
> '8 21' | = Sigma 17-50mm F2.8 EX DC OS HSM
> '8 22' | = Sigma 85mm F1.4 EX DG HSM
> '8 23' | = Sigma 70-200mm F2.8 APO EX DG OS HSM
> '8 25' | = Sigma 17-50mm F2.8 EX DC HSM
> '8 27' | = Sigma 18-200mm F3.5-6.3 II DC HSM
> '8 28' | = Sigma 18-250mm F3.5-6.3 DC Macro HSM
> '8 29' | = Sigma 35mm F1.4 DG HSM
> '8 30' | = Sigma 17-70mm F2.8-4 DC Macro HSM | C
> '8 31' | = Sigma 18-35mm F1.8 DC HSM
> '8 32' | = Sigma 30mm F1.4 DC HSM | A
> '8 33' | = Sigma 18-200mm F3.5-6.3 DC Macro HSM
> '8 34' | = Sigma 18-300mm F3.5-6.3 DC Macro HSM
> '8 59' | = HD PENTAX-D FA 150-450mm F4.5-5.6 ED DC AW
> '8 60' | = HD PENTAX-D FA* 70-200mm F2.8 ED DC AW
> '8 61' | = HD PENTAX-D FA 28-105mm F3.5-5.6 ED DC WR
> '8 62' | = HD PENTAX-D FA 24-70mm F2.8 ED SDM WR
> '8 63' | = HD PENTAX-D FA 15-30mm F2.8 ED SDM WR
> '8 197' | = HD PENTAX-DA 55-300mm F4.5-6.3 ED PLM WR RE
> '8 198' | = smc PENTAX-DA L 18-50mm F4-5.6 DC WR RE
> '8 199' | = HD PENTAX-DA 18-50mm F4-5.6 DC WR RE
> '8 200' | = HD PENTAX-DA 16-85mm F3.5-5.6 ED DC WR
> '8 209' | = HD PENTAX-DA 20-40mm F2.8-4 ED Limited DC WR
> '8 210' | = smc PENTAX-DA 18-270mm F3.5-6.3 ED SDM
> '8 211' | = HD PENTAX-DA 560mm F5.6 ED AW
> '8 215' | = smc PENTAX-DA 18-135mm F3.5-5.6 ED AL [IF] DC WR
> '8 226' | = smc PENTAX-DA* 55mm F1.4 SDM
> '8 227' | = smc PENTAX-DA* 60-250mm F4 [IF] SDM
> '8 232' | = smc PENTAX-DA 17-70mm F4 AL [IF] SDM
> '8 234' | = smc PENTAX-DA* 300mm F4 ED [IF] SDM
> '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
> '8 255' | = Sigma Lens (8 255)
> '8 255.1' | = Sigma 70-200mm F2.8 EX DG Macro HSM II
> '8 255.2' | = Sigma 150-500mm F5-6.3 DG APO [OS] HSM
> '8 255.3' | = Sigma 50-150mm F2.8 II APO EX DC HSM
> '8 255.4' | = Sigma 4.5mm F2.8 EX DC HSM Circular Fisheye
> '8 255.5' | = Sigma 50-200mm F4-5.6 DC OS
> '8 255.6' | = Sigma 24-70mm F2.8 EX DG HSM
> '9 0' | = 645 Manual Lens
> '10 0' | = 645 A Series Lens
> '11 1' | = smc PENTAX-FA 645 75mm F2.8
> '11 2' | = smc PENTAX-FA 645 45mm F2.8
> '11 3' | = smc PENTAX-FA* 645 300mm F4 ED [IF]
> '11 4' | = smc PENTAX-FA 645 45-85mm F4.5
> '11 5' | = smc PENTAX-FA 645 400mm F5.6 ED [IF]
> '11 7' | = smc PENTAX-FA 645 Macro 120mm F4
> '11 8' | = smc PENTAX-FA 645 80-160mm F4.5
> '11 9' | = smc PENTAX-FA 645 200mm F4 [IF]
> '11 10' | = smc PENTAX-FA 645 150mm F2.8 [IF]
> '11 11' | = smc PENTAX-FA 645 35mm F3.5 AL [IF]
> '11 12' | = smc PENTAX-FA 645 300mm F5.6 ED [IF]
> '11 14' | = smc PENTAX-FA 645 55-110mm F5.6
> '11 16' | = smc PENTAX-FA 645 33-55mm F4.5 AL
> '11 17' | = smc PENTAX-FA 645 150-300mm F5.6 ED [IF]
> '11 21' | = HD PENTAX-D FA 645 35mm F3.5 AL [IF]
> '13 18' | = smc PENTAX-D FA 645 55mm F2.8 AL [IF] SDM AW
> '13 19' | = smc PENTAX-D FA 645 25mm F4 AL [IF] SDM AW
> '13 20' | = HD PENTAX-D FA 645 90mm F2.8 ED AW SR
> '13 253' | = HD PENTAX-DA 645 28-45mm F4.5 ED AW SR
> '13 254' | = smc PENTAX-DA 645 25mm F4 AL [IF] SDM AW
> '21 0' | = Pentax Q Manual Lens
> '21 1' | = 01 Standard Prime 8.5mm F1.9
> '21 2' | = 02 Standard Zoom 5-15mm F2.8-4.5
> '21 6' | = 06 Telephoto Zoom 15-45mm F2.8
> '21 7' | = 07 Mount Shield 11.5mm F9
> '21 8' | = 08 Wide Zoom 3.8-5.9mm F3.7-4
> '21 233' | = Adapter Q for K-mount Lens
> '22 3' | = 03 Fish-eye 3.2mm F5.6
> '22 4' | = 04 Toy Lens Wide 6.3mm F7.1
> '22 5' | = 05 Toy Lens Telephoto 18mm F8

## Pentax SRInfo Tags

Shake reduction information.

> Index1 | 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) 5 = On but Disabled 6 = On (Video) |  | 7 = On (7) 15 = On (15) 39 = On (mode 2) 135 = On (135) 167 = On (mode 1)
> 2 | SRHalfPressTime | int8u | (time from when the shutter button was half pressed to when the shutter was released, including time for focusing. Not valid for some models)
> 3 | SRFocalLength | int8u |

## Pentax SRInfo2 Tags

Shake reduction information for the K-3.

> Index1 | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 0 | SRResult? | int8u |
> 1 | ShakeReduction | int8u |
> 0 = Off 1 = On 4 = Off (AA simulation off) 5 = On but Disabled 6 = On (Video) 7 = On (AA simulation off) 8 = Off (AA simulation type 1) (8) 12 = Off (AA simulation type 1) 15 = On (AA simulation type 1) 16 = Off (AA simulation type 2) (16) 20 = Off (AA simulation type 2) 23 = On (AA simulation type 2)

## Pentax FaceInfo Tags

> Index1 | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 0 | FacesDetected | int8u |
> 2 | FacePosition | int8u[2] | (X/Y coordinates of the center of the main face in percent of frame size, with positive Y downwards)

## Pentax AWBInfo Tags

> Index1 | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 0 | WhiteBalanceAutoAdjustment | int8u | 0 = Off 1 = On
> 1 | TungstenAWB | int8u | 0 = Subtle Correction 1 = Strong Correction

## Pentax TimeInfo Tags

> Index1 | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 0.1 | WorldTimeLocation | int8u | [Mask 0x01] 0x0 = Hometown 0x1 = Destination
> 0.2 | HometownDST | int8u | [Mask 0x02] 0x0 = No 0x2 = Yes
> 0.3 | DestinationDST | int8u | [Mask 0x04] 0x0 = No 0x4 = Yes
> 2 | HometownCity | int8u | --> Pentax City Values
> 3 | DestinationCity | int8u | --> Pentax City Values

## Pentax LensCorr Tags

> Index1 | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 0 | DistortionCorrection | int8u | 0 = Off 1 = On
> 1 | ChromaticAberrationCorrection | int8u | 0 = Off 1 = On
> 2 | PeripheralIlluminationCorr | int8u | 0 = Off 1 = On
> 3 | DiffractionCorrection | int8u | 0 = Off 16 = On

## Pentax CameraSettings Tags

Camera settings information written by Pentax DSLR cameras.

> Index1 | 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 0x03] 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
> 1.4 | ApertureRingUse | int8u | [Mask 0x80] 0x0 = Prohibited 0x80 = Permitted
> 2 | FlashOptions | int8u | (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, eg. *ist D) [Mask 0x0f] 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 0x0f] 0x0 = Manual 0x1 = AF-S 0x2 = AF-C 0x3 = AF-A
> 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 1 = Continuous (Lo) 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 0x2 = 1 of 2 0x3 = 1 of 3 0x5 = 1 of 5 |  | 0x12 = 2 of 2 0x13 = 2 of 3 0x15 = 2 of 5 0x23 = 3 of 3 |  | 0x25 = 3 of 5 0x35 = 4 of 5 0x45 = 5 of 5
> 10 | WhiteBalanceSet | int8u | [Mask 0xf0]
> 0x0 = Auto 0x10 = Daylight 0x20 = Shade 0x30 = Cloudy 0x40 = Daylight Fluorescent 0x50 = Day White Fluorescent 0x60 = White Fluorescent 0x70 = Tungsten 0x80 = Flash 0x90 = Manual 0xc0 = Set Color Temperature 1 0xd0 = Set Color Temperature 2 0xe0 = Set Color Temperature 3
> 10.1 | MultipleExposureSet | int8u | [Mask 0x0f] 0x0 = Off 0x1 = On
> 13 | RawAndJpgRecording | int8u | (K10D only)
> 0x1 = JPEG (Best) 0x4 = RAW (PEF, Best) 0x5 = RAW+JPEG (PEF, Best) 0x8 = RAW (DNG, Best) 0x9 = RAW+JPEG (DNG, Best) 0x21 = JPEG (Better) 0x24 = RAW (PEF, Better) 0x25 = RAW+JPEG (PEF, Better) 0x28 = RAW (DNG, Better) 0x29 = RAW+JPEG (DNG, Better) 0x41 = JPEG (Good) 0x44 = RAW (PEF, Good) 0x45 = RAW+JPEG (PEF, Good) 0x48 = RAW (DNG, Good) 0x49 = RAW+JPEG (DNG, Good)
> 14.1 | JpgRecordedPixels | int8u | (K10D only) [Mask 0x03] 0x0 = 10 MP 0x1 = 6 MP 0x2 = 2 MP
> 14.2 | LinkAEToAFPoint | int8u | (K-5 only) [Mask 0x01] 0x0 = Off 0x1 = On
> 14.3 | SensitivitySteps | int8u | (K-5 only) [Mask 0x02] 0x0 = 1 EV Steps 0x2 = As EV Steps
> 14.4 | ISOAuto | int8u | (K-5 only) [Mask 0x04] 0x0 = Off 0x4 = On
> 16 | FlashOptions2 | int8u | (K10D only; set even if the flash is off) [Mask 0xf0]
> 0x0 = Normal 0x10 = Red-eye reduction 0x20 = Auto 0x30 = Auto, 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 0x0f] 0x0 = Multi-segment Bit 0 = Center-weighted average Bit 1 = Spot
> 17.1 | SRActive | int8u | (K10D only; SR is active only when ShakeReduction is On, DriveMode is not Remote or Self-timer, and Internal/ExternalFlashMode is not "On, Wireless") [Mask 0x80] 0x0 = No 0x80 = Yes
> 17.2 | Rotation | int8u | (K10D only) [Mask 0x60] 0x0 = Horizontal (normal) 0x20 = Rotate 180 0x40 = Rotate 90 CW 0x60 = Rotate 270 CW
> 17.3 | ISOSetting | int8u | (K10D only) [Mask 0x04] 0x0 = Manual 0x4 = Auto
> 17.4 | SensitivitySteps | int8u | (K10D only) [Mask 0x02] 0x0 = 1 EV Steps 0x2 = As EV Steps
> 18 | TvExposureTimeSetting | int8u | (K10D only)
> 19 | AvApertureSetting | int8u | (K10D only)
> 20 | SvISOSetting | int8u | (K10D only)
> 21 | BaseExposureCompensation | int8u | (K10D only; exposure compensation without auto bracketing)

## Pentax CameraSettingsUnknown Tags

This information has not yet been decoded for models such as the K-01.

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

## Pentax AEInfo Tags

Auto-exposure information for most Pentax models.

> Index1 | 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 | AEMinExposureTime | 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 104 = Night Snap 107 = Text 115 = Sunset 123 = Kids 131 = Pet 139 = Candlelight 144 = SCN 147 = Museum 160 = Program 184 = Shallow DOF Program 216 = HDR
> 7 | AEFlags | no | (indices after this are incremented by 1 for some models) Bit 3 = AE lock Bit 4 = Flash recommended? Bit 7 = Aperture wide open
> 8 | AEApertureSteps | int8u | (number of steps the aperture has been stopped down from wide open. There are roughly 8 steps per F-stop for most lenses, or 18 steps for 645D lenses, but it varies slightly by lens)
> 9 | AEMaxAperture | int8u | (val = 2**((raw-68)/16))
> 10 | AEMaxAperture2 | int8u | (val = 2**((raw-68)/16))
> 11 | AEMinAperture | int8u | (val = 2**((raw-68)/16))
> 12 | AEMeteringMode | int8u | 0x0 = Multi-segment Bit 4 = Center-weighted average Bit 5 = Spot
> 13 | AEWhiteBalance | int8u | (K7 and Kx) [Mask 0xf0]
> 0x0 = Standard 0x10 = Daylight 0x20 = Shade 0x30 = Cloudy 0x40 = Daylight Fluorescent 0x50 = Day White Fluorescent 0x60 = White Fluorescent 0x70 = Tungsten 0x80 = Unknown
> 13.1 | AEMeteringMode2 | int8u | (K7 and Kx, override for an incompatible metering mode setting) [Mask 0x0f] 0x0 = Multi-segment Bit 0 = Center-weighted average Bit 1 = 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)
> 21 | LevelIndicator | int8u |

## Pentax AEInfo2 Tags

Auto-exposure information for the K-01.

> Index1 | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 2 | AEExposureTime | int8u | (val = 24 * 2**((32-raw)/8))
> 3 | AEAperture | int8u | (val = 2**((raw-68)/16))
> 4 | AE_ISO | int8u | (val = 100 * 2**((raw-32)/8))
> 5 | AEXv | int8u | (val = (raw-64)/8)
> 6 | AEBXv | int8s | (val = raw / 8)
> 8 | AEError | int8s |
> 11 | AEApertureSteps | int8u | (number of steps the aperture has been stopped down from wide open. There are roughly 8 steps per F-stop, but it varies slightly by lens)
> 15 | SceneMode | int8u |
> 0 = Off 1 = HDR 4 = Auto PICT 5 = Portrait 6 = Landscape 7 = Macro 8 = Sport 9 = Night Scene Portrait 10 = No Flash 11 = Night Scene 12 = Surf & Snow 14 = Sunset |  | 15 = Kids 16 = Pet 17 = Candlelight 18 = Museum 20 = Food 21 = Stage Lighting 22 = Night Snap 25 = Night Scene HDR 26 = Blue Sky 27 = Forest 29 = Backlight Silhouette
> 16 | AEMaxAperture | int8u | (val = 2**((raw-68)/16))
> 17 | AEMaxAperture2 | int8u | (val = 2**((raw-68)/16))
> 18 | AEMinAperture | int8u | (val = 2**((raw-68)/16))
> 19 | AEMinExposureTime | int8u | (val = 24 * 2**((32-raw)/8))

## Pentax AEInfo3 Tags

Auto-exposure information for the K-3, K-30, K-50 and K-500.

> Index1 | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 16 | AEExposureTime | int8u | (val = 24 * 2**((32-raw)/8))
> 17 | AEAperture | int8u | (val = 2**((raw-68)/16))
> 18 | AE_ISO | int8u | (val = 100 * 2**((raw-32)/8))
> 28 | AEMaxAperture | int8u | (val = 2**((raw-68)/16))
> 29 | AEMaxAperture2 | int8u | (val = 2**((raw-68)/16))
> 30 | AEMinAperture | int8u | (val = 2**((raw-68)/16))
> 31 | AEMinExposureTime | int8u | (val = 24 * 2**((32-raw)/8))

## Pentax AEInfoUnknown Tags

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

## Pentax LensInfo Tags

Pentax lens information structure for models such as the *istD.

> Index1 | 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 models such as the K10D and K20D.

> Index1 | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 0 | LensType | int8u[4] | --> 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.

> Index1 | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 0.1 | AutoAperture | int8u | (not valid for the K-r, K-5 or K-5II) [Mask 0x01] 0x0 = On 0x1 = Off
> 0.2 | MinAperture | int8u | (not valid for the K-r, K-5 or K-5II) [Mask 0x06] 0x0 = 22 0x2 = 32 0x4 = 45 0x6 = 16
> 0.3 | LensFStops | int8u | (not valid for the K-r, K-5 or K-5II) [Mask 0x70]
> 1 | LensKind? | int8u |
> 2 | LC1? | int8u |
> 3 | MinFocusDistance | int8u | (minimum focus distance for the lens) [Mask 0xf8]
> 0x0 = 0.13-0.19 m 0x8 = 0.20-0.24 m 0x10 = 0.25-0.28 m 0x18 = 0.28-0.30 m 0x20 = 0.35-0.38 m 0x28 = 0.40-0.45 m 0x30 = 0.49-0.50 m 0x38 = 0.6 m 0x40 = 0.7 m 0x48 = 0.8-0.9 m 0x50 = 1.0 m |  | 0x58 = 1.1-1.2 m 0x60 = 1.4-1.5 m 0x68 = 1.5 m 0x70 = 2.0 m 0x78 = 2.0-2.1 m 0x80 = 2.1 m 0x88 = 2.2-2.9 m 0x90 = 3.0 m 0x98 = 4-5 m 0xa0 = 5.6 m
> 3.1 | FocusRangeIndex | int8u | [Mask 0x07]
> 0x0 = 5 0x1 = 4 0x2 = 6 (far) 0x3 = 7 (very far) |  | 0x4 = 2 0x5 = 3 0x6 = 1 (close) 0x7 = 0 (very close)
> 4 | LC3? | int8u |
> 5 | LC4? | int8u |
> 6 | LC5? | int8u |
> 7 | LC6? | int8u |
> 8 | LC7? | int8u |
> 9 | LensFocalLength LC8? | int8u int8u | (focal length of lens alone, without adapter)
> 10 | NominalMaxAperture | int8u | [Mask 0xf0]
> 10.1 | NominalMinAperture | int8u | [Mask 0x0f]
> 11 | LC10? | int8u |
> 12 | LC11? | int8u |
> 13 | LC12? | int8u | (ID's 13-16 are offset by 1 for the K-r, K-5 and K-5II)
> 14.1 | MaxAperture | int8u | (effective wide open aperture for current focal length) [Mask 0x7f]
> 15 | LC14? | int8u |
> 16 | LC15? | int8u |

## Pentax LensInfo3 Tags

Pentax lens information structure for 645D.

> Index1 | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 1 | LensType | int8u[4] | --> Pentax LensType Values
> 13 | LensData | - | --> Pentax LensData Tags

## Pentax LensInfo4 Tags

Pentax lens information structure for models such as the K-5 and K-r.

> Index1 | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 1 | LensType | int8u[4] | --> Pentax LensType Values
> 12 | LensData | - | --> Pentax LensData Tags

## Pentax LensInfo5 Tags

Pentax lens information structure for the K-01 and newer models.

> Index1 | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 1 | LensType | int8u[5] | --> Pentax LensType Values
> 15 | LensData | - | --> Pentax LensData Tags

## Pentax FlashInfo Tags

Flash information tags for the K10D, K20D and K200D.

> Index1 | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 0 | FlashStatus | int8u |
> 0x0 = Off 0x1 = Off (1) 0x2 = External, Did not fire 0x6 = External, Fired 0x8 = Internal, Did not fire (0x08) 0x9 = Internal, Did not fire 0xd = Internal, Fired
> 1 | InternalFlashMode | int8u | 0x0 = n/a - Off-Auto-Aperture 0x86 = Fired, Wireless (Control) 0x95 = Fired, Wireless (Master) 0xc0 = Fired 0xc1 = Fired, Red-eye reduction 0xc2 = Fired, Auto 0xc3 = Fired, Auto, Red-eye reduction 0xc6 = Fired, Wireless (Control), Fired normally not as control 0xc8 = Fired, Slow-sync 0xc9 = Fired, Slow-sync, Red-eye reduction 0xca = Fired, Trailing-curtain Sync 0xf0 = Did not fire, Normal 0xf1 = Did not fire, Red-eye reduction 0xf2 = Did not fire, Auto 0xf3 = Did not fire, Auto, Red-eye reduction 0xf4 = Did not fire, (Unknown 0xf4) 0xf5 = Did not fire, Wireless (Master) 0xf6 = Did not fire, Wireless (Control) 0xf8 = Did not fire, Slow-sync 0xf9 = Did not fire, Slow-sync, Red-eye reduction 0xfa = Did not fire, Trailing-curtain Sync
> 2 | ExternalFlashMode | int8u |
> 0x0 = n/a - Off-Auto-Aperture 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 0xf0 = Not Connected
> 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 |
> 24.1 | ExternalFlashGuideNumber | int8u | (val = 2**(raw/16 + 4), with a few exceptions) [Mask 0x1f]
> 25 | ExternalFlashExposureComp | int8u |
> 0 = n/a 144 = n/a (Manual Mode) 164 = -3.0 167 = -2.5 168 = -2.0 171 = -1.5 |  | 172 = -1.0 175 = -0.5 176 = 0.0 179 = 0.5 180 = 1.0
> 26 | ExternalFlashBounce | int8u | (saved from the most recent external flash picture) 0 = n/a 16 = Direct 48 = Bounce

## Pentax FlashInfoUnknown Tags

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

## Pentax CameraInfo Tags

> Index4 | 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 | ProductionCode | int32u[2] |
> 4 | InternalSerialNumber | int32u |

## Pentax BatteryInfo Tags

> Index1 | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 0.1 | PowerSource | int8u | [Mask 0x0f] 0x2 = Body Battery 0x3 = Grip Battery 0x4 = External Power Supply
> 1.1 | BodyBatteryState | int8u | (*istD, K100D, K200D, K10D and K20D) [Mask 0xf0] 0x10 = Empty or Missing 0x20 = Almost Empty 0x30 = Running Low 0x40 = Full (other models except the K110D, K2000 and K-m) [Mask 0xf0] 0x10 = Empty or Missing 0x20 = Almost Empty 0x30 = Running Low 0x40 = Close to Full 0x50 = Full (decoding unknown for other models) [Mask 0xf0]
> 1.2 | GripBatteryState GripBatteryState? | int8u int8u | (K10D and K20D) [Mask 0x0f] 0x1 = Empty or Missing 0x2 = Almost Empty 0x3 = Running Low 0x4 = Full (decoding unknown for other models) [Mask 0x0f]
> 2 | BodyBatteryADNoLoad BodyBatteryVoltage1 | int8u int16u | (roughly calibrated for K10D with a new Pentax battery)
> 3 | BodyBatteryADLoad | int8u | (roughly calibrated for K10D with a new Pentax battery)
> 4 | GripBatteryADNoLoad BodyBatteryVoltage2 | int8u int16u |
> 5 | GripBatteryADLoad | int8u |
> 6 | BodyBatteryVoltage3 | int16u | (K-5, K-r and 645D only)
> 8 | BodyBatteryVoltage4 | int16u | (K-5 and K-r only)

## Pentax AFInfo Tags

> Index1 | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 0 | AFPointsUnknown1? | int16u |
> 0x0 = (none) 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 | (models other than the K-1 and K-3. 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
> 509 | AFHold | int8u | (decoded only for the K-3 II) 0 = Off 1 = Short 2 = Medium 3 = Long

## Pentax KelvinWB Tags

White balance Blue/Red gains as a function of color temperature.

> Index2 | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 1 | KelvinWB_Daylight | int16u[4] |
> 5 | KelvinWB_01 | int16u[4] |
> 9 | KelvinWB_02 | int16u[4] |
> 13 | KelvinWB_03 | int16u[4] |
> 17 | KelvinWB_04 | int16u[4] |
> 21 | KelvinWB_05 | int16u[4] |
> 25 | KelvinWB_06 | int16u[4] |
> 29 | KelvinWB_07 | int16u[4] |
> 33 | KelvinWB_08 | int16u[4] |
> 37 | KelvinWB_09 | int16u[4] |
> 41 | KelvinWB_10 | int16u[4] |
> 45 | KelvinWB_11 | int16u[4] |
> 49 | KelvinWB_12 | int16u[4] |
> 53 | KelvinWB_13 | int16u[4] |
> 57 | KelvinWB_14 | int16u[4] |
> 61 | KelvinWB_15 | int16u[4] |
> 65 | KelvinWB_16 | int16u[4] |

## Pentax ColorInfo Tags

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

## Pentax EVStepInfo Tags

> Index1 | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 0 | EVSteps | int8u | 0 = 1/2 EV Steps 1 = 1/3 EV Steps
> 1 | SensitivitySteps | int8u | 0 = 1 EV Steps 1 = As EV Steps

## Pentax ShotInfo Tags

> Index1 | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 1 | CameraOrientation | int8u | (K-5, K-7, K-r and K-x)
> 0x10 = Horizontal (normal) 0x20 = Rotate 180 0x30 = Rotate 90 CW 0x40 = Rotate 270 CW 0x50 = Upwards 0x60 = Downwards

## Pentax FacePos Tags

> Index2 | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 0 | Face1Position | int16u[2] | (X/Y coordinates of face center in full-sized image)
> 2 | Face2Position | int16u[2] |
> 4 | Face3Position | int16u[2] |
> 6 | Face4Position | int16u[2] |
> 8 | Face5Position | int16u[2] |
> 10 | Face6Position | int16u[2] |
> 12 | Face7Position | int16u[2] |
> 14 | Face8Position | int16u[2] |
> 16 | Face9Position | int16u[2] |
> 18 | Face10Position | int16u[2] |
> 20 | Face11Position | int16u[2] |
> 22 | Face12Position | int16u[2] |
> 24 | Face13Position | int16u[2] |
> 26 | Face14Position | int16u[2] |
> 28 | Face15Position | int16u[2] |
> 30 | Face16Position | int16u[2] |
> 32 | Face17Position | int16u[2] |
> 34 | Face18Position | int16u[2] |
> 36 | Face19Position | int16u[2] |
> 38 | Face20Position | int16u[2] |
> 40 | Face21Position | int16u[2] |
> 42 | Face22Position | int16u[2] |
> 44 | Face23Position | int16u[2] |
> 46 | Face24Position | int16u[2] |
> 48 | Face25Position | int16u[2] |
> 50 | Face26Position | int16u[2] |
> 52 | Face27Position | int16u[2] |
> 54 | Face28Position | int16u[2] |
> 56 | Face29Position | int16u[2] |
> 58 | Face30Position | int16u[2] |
> 60 | Face31Position | int16u[2] |
> 62 | Face32Position | int16u[2] |

## Pentax FaceSize Tags

> Index2 | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 0 | Face1Size | int16u[2] |
> 2 | Face2Size | int16u[2] |
> 4 | Face3Size | int16u[2] |
> 6 | Face4Size | int16u[2] |
> 8 | Face5Size | int16u[2] |
> 10 | Face6Size | int16u[2] |
> 12 | Face7Size | int16u[2] |
> 14 | Face8Size | int16u[2] |
> 16 | Face9Size | int16u[2] |
> 18 | Face10Size | int16u[2] |
> 20 | Face11Size | int16u[2] |
> 22 | Face12Size | int16u[2] |
> 24 | Face13Size | int16u[2] |
> 26 | Face14Size | int16u[2] |
> 28 | Face15Size | int16u[2] |
> 30 | Face16Size | int16u[2] |
> 32 | Face17Size | int16u[2] |
> 34 | Face18Size | int16u[2] |
> 36 | Face19Size | int16u[2] |
> 38 | Face20Size | int16u[2] |
> 40 | Face21Size | int16u[2] |
> 42 | Face22Size | int16u[2] |
> 44 | Face23Size | int16u[2] |
> 46 | Face24Size | int16u[2] |
> 48 | Face25Size | int16u[2] |
> 50 | Face26Size | int16u[2] |
> 52 | Face27Size | int16u[2] |
> 54 | Face28Size | int16u[2] |
> 56 | Face29Size | int16u[2] |
> 58 | Face30Size | int16u[2] |
> 60 | Face31Size | int16u[2] |
> 62 | Face32Size | int16u[2] |

## Pentax FilterInfo Tags

The parameters associated with each type of digital filter are unique, and these settings are also extracted with the DigitalFilter tag. Information is not extracted for filters that are "Off" unless the Unknown option is used.

> Index1 | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 0 | SourceDirectoryIndex | int16u |
> 2 | SourceFileIndex | int16u |
> 5 | DigitalFilter01 | undef[17] | --> Pentax DigitalFilter Values
> 22 | DigitalFilter02 | undef[17] | --> Pentax DigitalFilter Values
> 39 | DigitalFilter03 | undef[17] | --> Pentax DigitalFilter Values
> 56 | DigitalFilter04 | undef[17] | --> Pentax DigitalFilter Values
> 73 | DigitalFilter05 | undef[17] | --> Pentax DigitalFilter Values
> 90 | DigitalFilter06 | undef[17] | --> Pentax DigitalFilter Values
> 107 | DigitalFilter07 | undef[17] | --> Pentax DigitalFilter Values
> 124 | DigitalFilter08 | undef[17] | --> Pentax DigitalFilter Values
> 141 | DigitalFilter09 | undef[17] | --> Pentax DigitalFilter Values
> 158 | DigitalFilter10 | undef[17] | --> Pentax DigitalFilter Values
> 175 | DigitalFilter11 | undef[17] | --> Pentax DigitalFilter Values
> 192 | DigitalFilter12 | undef[17] | --> Pentax DigitalFilter Values
> 209 | DigitalFilter13 | undef[17] | --> Pentax DigitalFilter Values
> 226 | DigitalFilter14 | undef[17] | --> Pentax DigitalFilter Values
> 243 | DigitalFilter15 | undef[17] | --> Pentax DigitalFilter Values
> 260 | DigitalFilter16 | undef[17] | --> Pentax DigitalFilter Values
> 277 | DigitalFilter17 | undef[17] | --> Pentax DigitalFilter Values
> 294 | DigitalFilter18 | undef[17] | --> Pentax DigitalFilter Values
> 311 | DigitalFilter19 | undef[17] | --> Pentax DigitalFilter Values
> 328 | DigitalFilter20 | undef[17] | --> Pentax DigitalFilter Values

## Pentax DigitalFilter Values

> Value | DigitalFilter | Value | DigitalFilter | Value | DigitalFilter
> --- | --- | --- | --- | --- | ---
> 0 | = Off | 10 | = Toy Camera | 20 | = Shading
> 1 | = Base Parameter Adjust | 11 | = Retro | 21 | = Invert Color
> 2 | = Soft Focus | 12 | = Pastel | 23 | = Tone Expansion
> 3 | = High Contrast | 13 | = Water Color | 27 | = Unicolor Bold
> 4 | = Color Filter | 14 | = HDR | 28 | = Bold Monochrome
> 5 | = Extract Color | 16 | = Miniature | 29 | = Replace Color
> 6 | = Monochrome | 17 | = Starburst | 254 | = Custom Filter
> 7 | = Slim | 18 | = Posterization |  |
> 9 | = Fisheye | 19 | = Sketch Filter |  |

## Pentax LevelInfo Tags

Tags decoded from the electronic level information for the K-5. May not be valid for other models.

> Index1 | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 0 | LevelOrientation | int8s | [Mask 0x0f]
> 1 = Horizontal (normal) 2 = Rotate 180 3 = Rotate 90 CW 4 = Rotate 270 CW 9 = Horizontal; Off Level 10 = Rotate 180; Off Level 11 = Rotate 90 CW; Off Level 12 = Rotate 270 CW; Off Level 13 = Upwards 14 = Downwards
> 0.1 | CompositionAdjust | int8s | [Mask 0xf0] 0x0 = Off 0x20 = Composition Adjust 0xa0 = Composition Adjust + Horizon Correction 0xc0 = Horizon Correction
> 1 | RollAngle | int8s | (converted to degrees of clockwise camera rotation)
> 2 | PitchAngle | int8s | (converted to degrees of upward camera tilt)
> 5 | CompositionAdjustX | int8s | (steps to the right, 1/16 mm per step)
> 6 | CompositionAdjustY | int8s | (steps up, 1/16 mm per step)
> 7 | CompositionAdjustRotation | int8s | (steps clockwise, 1/8 degree per step)

## Pentax WBLevels Tags

> Index1 | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 2 | WB_RGGBLevelsDaylight | int16u[4] |
> 11 | WB_RGGBLevelsShade | int16u[4] |
> 20 | WB_RGGBLevelsCloudy | int16u[4] |
> 29 | WB_RGGBLevelsTungsten | int16u[4] |
> 38 | WB_RGGBLevelsFluorescentD | int16u[4] |
> 47 | WB_RGGBLevelsFluorescentN | int16u[4] |
> 56 | WB_RGGBLevelsFluorescentW | int16u[4] |
> 65 | WB_RGGBLevelsFlash | int16u[4] |
> 74 | WB_RGGBLevelsFluorescentL | int16u[4] |
> 83 | WB_RGGBLevelsUnknown? | int16u[4] |
> 92 | WB_RGGBLevelsUserSelected | int16u[4] |

## Pentax LensInfoQ Tags

More lens information stored by the Pentax Q.

> Index1 | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 12 | LensModel | string[30] |
> 42 | LensInfo | string[20] |

## Pentax PixelShiftInfo Tags

Pixel shift information stored by the K-3 II.

> Index1 | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 0 | PixelShiftResolution | int8u | 0 = Off 1 = On

## Pentax AFPointInfo Tags

AF point information written by the K-1.

> Index1 | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 2 | NumAFPoints | int16u |
> 4 | AFPointsInFocus | int8u[9]~ |
> 4.1 | AFPointsSelected | int8u[9]~ |
> 4.2 | AFPointsSpecial | int8u[9]~ |

## Pentax TempInfo Tags

A number of additional temperature readings are extracted from this 256-byte binary-data block in images from models such as the K-01, K-3, K-5, K-50 and K-500. It is currently not known where the corresponding temperature sensors are located in the camera.

> Index1 | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 12 | SensorTemperature | int16s |
> 14 | SensorTemperature2 | int16s |
> 20 | CameraTemperature4 | int16s |
> 22 | CameraTemperature5 | int16s |

## Pentax UnknownInfo Tags

> Index1 | 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 65534 = Auto 2 65535 = Auto
> 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 and E25. 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 | no |

## Pentax S1 Tags

Tags extracted from the maker notes of AVI videos from the Optio S1.

> Tag ID | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 0x0000 | MakerNoteVersion | undef[4] |

## Pentax PENT Tags

Tags found in the PENT atom of MOV videos from the Optio WG-2 GPS.

> Index1 | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 0 | Make | no |
> 26 | Model | no |
> 56 | ExposureTime | no |
> 60 | FNumber | no |
> 68 | ExposureCompensation | no |
> 84 | FocalLength | no |
> 113 | DateTime1 | no |
> 139 | DateTime2 | no |
> 167 | ISO | no |
> 199 | GPSVersionID | no |
> 207 | GPSLatitudeRef | no | 'N' = North 'S' = South
> 209 | GPSLatitude | no |
> 233 | GPSLongitudeRef | no | 'E' = East 'W' = West
> 235 | GPSLongitude | no |
> 259 | GPSAltitudeRef | no | 0 = Above Sea Level 1 = Below Sea Level
> 260 | GPSAltitude | no |
> 284 | GPSTimeStamp | no |
> 308 | GPSSatellites | no |
> 311 | GPSStatus | no | 'A' = Measurement Active 'V' = Measurement Void
> 313 | GPSMeasureMode | no | 2 = 2-Dimensional Measurement 3 = 3-Dimensional Measurement
> 315 | GPSMapDatum | no |
> 322 | GPSDateStamp | no |
> 371 | AudioCodecID | no |
> 2003 | PreviewImage | no | (640x480 JPEG preview image)

## Pentax PXTH Tags

Tags found in the PXTH atom of MOV videos from the K-01.

> Index1 | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 0 | PreviewImageLength | no |
> 4 | PreviewImage | no | (640-pixel-wide JPEG preview)

## Pentax MOV Tags

This information is found in MOV videos from cameras such as the Optio WP.

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

## Pentax Junk Tags

Tags found in the JUNK chunk of AVI videos from the RS1000.

> Index1 | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 12 | Model | no |

## Pentax Junk2 Tags

This information is found in AVI videos from the Optio RZ18.

> Index1 | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 18 | Make | no |
> 44 | Model | no |
> 94 | FNumber | no |
> 131 | DateTime1 | no |
> 157 | DateTime2 | no |
> 299 | ThumbnailWidth | no |
> 301 | ThumbnailHeight | no |
> 303 | ThumbnailLength | no |
> 307 | ThumbnailImage | no | (160x120 JPEG thumbnail image)

## Pentax AVI Tags

Pentax-specific RIFF tags found in AVI videos.

> Tag ID | Tag Name | Writable | Values / Notes
> --- | --- | --- | ---
> 'hymn' | MakerNotes | - | --> Pentax Tags
> 'mknt' | MakerNotes | - | --> Pentax Tags

(This document generated automatically by Image::ExifTool::BuildTagLookup)
Last revised Nov 7, 2017

<-- ExifTool Tag Names