Skip to content

Commit f39ffea

Browse files
authored
[Pillow] Add Base and GPS enums in PIL.ExifTags (#10051)
1 parent 7dcec5b commit f39ffea

File tree

1 file changed

+305
-0
lines changed

1 file changed

+305
-0
lines changed

stubs/Pillow/PIL/ExifTags.pyi

+305
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,312 @@
11
from collections.abc import Mapping
22
from enum import IntEnum
33

4+
class Base(IntEnum):
5+
InteropIndex: int
6+
ProcessingSoftware: int
7+
NewSubfileType: int
8+
SubfileType: int
9+
ImageWidth: int
10+
ImageLength: int
11+
BitsPerSample: int
12+
Compression: int
13+
PhotometricInterpretation: int
14+
Thresholding: int
15+
CellWidth: int
16+
CellLength: int
17+
FillOrder: int
18+
DocumentName: int
19+
ImageDescription: int
20+
Make: int
21+
Model: int
22+
StripOffsets: int
23+
Orientation: int
24+
SamplesPerPixel: int
25+
RowsPerStrip: int
26+
StripByteCounts: int
27+
MinSampleValue: int
28+
MaxSampleValue: int
29+
XResolution: int
30+
YResolution: int
31+
PlanarConfiguration: int
32+
PageName: int
33+
FreeOffsets: int
34+
FreeByteCounts: int
35+
GrayResponseUnit: int
36+
GrayResponseCurve: int
37+
T4Options: int
38+
T6Options: int
39+
ResolutionUnit: int
40+
PageNumber: int
41+
TransferFunction: int
42+
Software: int
43+
DateTime: int
44+
Artist: int
45+
HostComputer: int
46+
Predictor: int
47+
WhitePoint: int
48+
PrimaryChromaticities: int
49+
ColorMap: int
50+
HalftoneHints: int
51+
TileWidth: int
52+
TileLength: int
53+
TileOffsets: int
54+
TileByteCounts: int
55+
SubIFDs: int
56+
InkSet: int
57+
InkNames: int
58+
NumberOfInks: int
59+
DotRange: int
60+
TargetPrinter: int
61+
ExtraSamples: int
62+
SampleFormat: int
63+
SMinSampleValue: int
64+
SMaxSampleValue: int
65+
TransferRange: int
66+
ClipPath: int
67+
XClipPathUnits: int
68+
YClipPathUnits: int
69+
Indexed: int
70+
JPEGTables: int
71+
OPIProxy: int
72+
JPEGProc: int
73+
JpegIFOffset: int
74+
JpegIFByteCount: int
75+
JpegRestartInterval: int
76+
JpegLosslessPredictors: int
77+
JpegPointTransforms: int
78+
JpegQTables: int
79+
JpegDCTables: int
80+
JpegACTables: int
81+
YCbCrCoefficients: int
82+
YCbCrSubSampling: int
83+
YCbCrPositioning: int
84+
ReferenceBlackWhite: int
85+
XMLPacket: int
86+
RelatedImageFileFormat: int
87+
RelatedImageWidth: int
88+
RelatedImageLength: int
89+
Rating: int
90+
RatingPercent: int
91+
ImageID: int
92+
CFARepeatPatternDim: int
93+
BatteryLevel: int
94+
Copyright: int
95+
ExposureTime: int
96+
FNumber: int
97+
IPTCNAA: int
98+
ImageResources: int
99+
ExifOffset: int
100+
InterColorProfile: int
101+
ExposureProgram: int
102+
SpectralSensitivity: int
103+
GPSInfo: int
104+
ISOSpeedRatings: int
105+
OECF: int
106+
Interlace: int
107+
TimeZoneOffset: int
108+
SelfTimerMode: int
109+
SensitivityType: int
110+
StandardOutputSensitivity: int
111+
RecommendedExposureIndex: int
112+
ISOSpeed: int
113+
ISOSpeedLatitudeyyy: int
114+
ISOSpeedLatitudezzz: int
115+
ExifVersion: int
116+
DateTimeOriginal: int
117+
DateTimeDigitized: int
118+
OffsetTime: int
119+
OffsetTimeOriginal: int
120+
OffsetTimeDigitized: int
121+
ComponentsConfiguration: int
122+
CompressedBitsPerPixel: int
123+
ShutterSpeedValue: int
124+
ApertureValue: int
125+
BrightnessValue: int
126+
ExposureBiasValue: int
127+
MaxApertureValue: int
128+
SubjectDistance: int
129+
MeteringMode: int
130+
LightSource: int
131+
Flash: int
132+
FocalLength: int
133+
Noise: int
134+
ImageNumber: int
135+
SecurityClassification: int
136+
ImageHistory: int
137+
TIFFEPStandardID: int
138+
MakerNote: int
139+
UserComment: int
140+
SubsecTime: int
141+
SubsecTimeOriginal: int
142+
SubsecTimeDigitized: int
143+
AmbientTemperature: int
144+
Humidity: int
145+
Pressure: int
146+
WaterDepth: int
147+
Acceleration: int
148+
CameraElevationAngle: int
149+
XPTitle: int
150+
XPComment: int
151+
XPAuthor: int
152+
XPKeywords: int
153+
XPSubject: int
154+
FlashPixVersion: int
155+
ColorSpace: int
156+
ExifImageWidth: int
157+
ExifImageHeight: int
158+
RelatedSoundFile: int
159+
ExifInteroperabilityOffset: int
160+
FlashEnergy: int
161+
SpatialFrequencyResponse: int
162+
FocalPlaneXResolution: int
163+
FocalPlaneYResolution: int
164+
FocalPlaneResolutionUnit: int
165+
SubjectLocation: int
166+
ExposureIndex: int
167+
SensingMethod: int
168+
FileSource: int
169+
SceneType: int
170+
CFAPattern: int
171+
CustomRendered: int
172+
ExposureMode: int
173+
WhiteBalance: int
174+
DigitalZoomRatio: int
175+
FocalLengthIn35mmFilm: int
176+
SceneCaptureType: int
177+
GainControl: int
178+
Contrast: int
179+
Saturation: int
180+
Sharpness: int
181+
DeviceSettingDescription: int
182+
SubjectDistanceRange: int
183+
ImageUniqueID: int
184+
CameraOwnerName: int
185+
BodySerialNumber: int
186+
LensSpecification: int
187+
LensMake: int
188+
LensModel: int
189+
LensSerialNumber: int
190+
CompositeImage: int
191+
CompositeImageCount: int
192+
CompositeImageExposureTimes: int
193+
Gamma: int
194+
PrintImageMatching: int
195+
DNGVersion: int
196+
DNGBackwardVersion: int
197+
UniqueCameraModel: int
198+
LocalizedCameraModel: int
199+
CFAPlaneColor: int
200+
CFALayout: int
201+
LinearizationTable: int
202+
BlackLevelRepeatDim: int
203+
BlackLevel: int
204+
BlackLevelDeltaH: int
205+
BlackLevelDeltaV: int
206+
WhiteLevel: int
207+
DefaultScale: int
208+
DefaultCropOrigin: int
209+
DefaultCropSize: int
210+
ColorMatrix1: int
211+
ColorMatrix2: int
212+
CameraCalibration1: int
213+
CameraCalibration2: int
214+
ReductionMatrix1: int
215+
ReductionMatrix2: int
216+
AnalogBalance: int
217+
AsShotNeutral: int
218+
AsShotWhiteXY: int
219+
BaselineExposure: int
220+
BaselineNoise: int
221+
BaselineSharpness: int
222+
BayerGreenSplit: int
223+
LinearResponseLimit: int
224+
CameraSerialNumber: int
225+
LensInfo: int
226+
ChromaBlurRadius: int
227+
AntiAliasStrength: int
228+
ShadowScale: int
229+
DNGPrivateData: int
230+
MakerNoteSafety: int
231+
CalibrationIlluminant1: int
232+
CalibrationIlluminant2: int
233+
BestQualityScale: int
234+
RawDataUniqueID: int
235+
OriginalRawFileName: int
236+
OriginalRawFileData: int
237+
ActiveArea: int
238+
MaskedAreas: int
239+
AsShotICCProfile: int
240+
AsShotPreProfileMatrix: int
241+
CurrentICCProfile: int
242+
CurrentPreProfileMatrix: int
243+
ColorimetricReference: int
244+
CameraCalibrationSignature: int
245+
ProfileCalibrationSignature: int
246+
AsShotProfileName: int
247+
NoiseReductionApplied: int
248+
ProfileName: int
249+
ProfileHueSatMapDims: int
250+
ProfileHueSatMapData1: int
251+
ProfileHueSatMapData2: int
252+
ProfileToneCurve: int
253+
ProfileEmbedPolicy: int
254+
ProfileCopyright: int
255+
ForwardMatrix1: int
256+
ForwardMatrix2: int
257+
PreviewApplicationName: int
258+
PreviewApplicationVersion: int
259+
PreviewSettingsName: int
260+
PreviewSettingsDigest: int
261+
PreviewColorSpace: int
262+
PreviewDateTime: int
263+
RawImageDigest: int
264+
OriginalRawFileDigest: int
265+
SubTileBlockSize: int
266+
RowInterleaveFactor: int
267+
ProfileLookTableDims: int
268+
ProfileLookTableData: int
269+
OpcodeList1: int
270+
OpcodeList2: int
271+
OpcodeList3: int
272+
NoiseProfile: int
273+
4274
TAGS: Mapping[int, str]
275+
276+
class GPS(IntEnum):
277+
GPSVersionID: int
278+
GPSLatitudeRef: int
279+
GPSLatitude: int
280+
GPSLongitudeRef: int
281+
GPSLongitude: int
282+
GPSAltitudeRef: int
283+
GPSAltitude: int
284+
GPSTimeStamp: int
285+
GPSSatellites: int
286+
GPSStatus: int
287+
GPSMeasureMode: int
288+
GPSDOP: int
289+
GPSSpeedRef: int
290+
GPSSpeed: int
291+
GPSTrackRef: int
292+
GPSTrack: int
293+
GPSImgDirectionRef: int
294+
GPSImgDirection: int
295+
GPSMapDatum: int
296+
GPSDestLatitudeRef: int
297+
GPSDestLatitude: int
298+
GPSDestLongitudeRef: int
299+
GPSDestLongitude: int
300+
GPSDestBearingRef: int
301+
GPSDestBearing: int
302+
GPSDestDistanceRef: int
303+
GPSDestDistance: int
304+
GPSProcessingMethod: int
305+
GPSAreaInformation: int
306+
GPSDateStamp: int
307+
GPSDifferential: int
308+
GPSHPositioningError: int
309+
5310
GPSTAGS: Mapping[int, str]
6311

7312
class Interop(IntEnum):

0 commit comments

Comments
 (0)