ExifData Class

Summary: EXIF data container.

Module: aspose.imaging.exif

Full Name: aspose.imaging.exif.ExifData

Inheritance: TiffDataTypeController

Constructors

NameDescription
ExifData()Initializes a new instance of the ExifData class.
ExifData(common_tags, exif_tags, gps_tags)Initializes a new instance of the ExifData class with data from array.
ExifData(exifdata)Initializes a new instance of the ExifData class with data from array.

Properties

NameTypeAccessDescription
aperture_valueTiffRationalr/wGets or sets the aperture value.
body_serial_numberstringr/wGets or sets camera body serial number.
brightness_valueTiffSRationalr/wGets or sets the brightness value.
camera_owner_namestringr/wGets or sets camera owner name
cfa_patternbyter/wGets or sets the CFA pattern.
color_spaceExifColorSpacer/wGets or sets the color space.
common_tagsTiffDataType[]r/wGets or sets tags, which belong to common section. This applies only to jpeg images, in tiff format tiffOptions are being used instead
components_configurationbyter/wGets or sets the components configuration.
compressed_bits_per_pixelTiffRationalr/wGets or sets the compressed bits per pixel.
contrastExifContrastr/wGets or sets the contrast.
custom_renderedExifCustomRenderedr/wGets or sets the custom rendered.
date_time_digitizedstringr/wGets or sets the date time digitized.
date_time_originalstringr/wGets or sets the date time original.
device_setting_descriptionbyter/wGets or sets device settings description
digital_zoom_ratioTiffRationalr/wGets or sets the digital zoom ratio.
exif_tagsTiffDataType[]r/wGets or sets tags which belong to EXIF section only.
exif_versionbyter/wGets or sets the EXIF version.
exposure_bias_valueTiffSRationalr/wGets or sets the exposure bias value.
exposure_indexTiffRationalr/wGets or sets the exposure index.
exposure_modeExifExposureModer/wGets or sets the exposure mode.
exposure_programExifExposureProgramr/wGets or sets the exposure program.
exposure_timeTiffRationalr/wGets or sets the exposure time.
f_numberTiffRationalr/wGets or sets the F-number.
file_sourceExifFileSourcer/wGets or sets the file source type.
flashExifFlashr/wGets or sets the flash.
flash_energyTiffRationalr/wGets or sets the flash energy.
flashpix_versionbyter/wGets or sets the flash pix version.
focal_lengthTiffRationalr/wGets or sets the focal length.
focal_length_in_35_mm_filmushortr/wGets or sets the focal length in 35 mm film.
focal_plane_resolution_unitExifUnitr/wGets or sets the focal plane resolution unit.
focal_plane_x_resolutionTiffRationalr/wGets or sets the focal plane x resolution.
focal_plane_y_resolutionTiffRationalr/wGets or sets the focal plane y resolution.
gain_controlExifGainControlr/wGets or sets the degree of overall image gain adjustment.
gammaTiffRationalr/wGets or sets the gamma.
gps_altitudeTiffRationalr/wGets or sets the GPS altitude.
gps_altitude_refExifGPSAltitudeRefr/wGets or sets the GPS altitude used as the reference altitude.
gps_area_informationbyter/wGets or sets the GPS area information.
gps_date_stampstringr/wGets or sets the GPS character string recording date and time information relative to UTC (Coordinated Universal Time).
gps_dest_bearingTiffRationalr/wGets or sets the GPS bearing to the destination point.
gps_dest_bearing_refstringr/wGets or sets the GPS reference used for giving the bearing to the destination point.
gps_dest_distanceTiffRationalr/wGets or sets the GPS distance to the destination point.
gps_dest_distance_refstringr/wGets or sets the GPS unit used to express the distance to the destination point.
gps_dest_latitudeTiffRational[]r/wGets or sets the GPS latitude of the destination point.
gps_dest_latitude_refstringr/wGets or sets the GPS value which indicates whether the latitude of the destination point is north or south latitude.
gps_dest_longitudeTiffRational[]r/wGets or sets the GPS longitude of the destination point.
gps_dest_longitude_refstringr/wGets or sets the GPS value which indicates whether the longitude of the destination point is east or west longitude.
gps_differentialushortr/wGets or sets a GPS value which indicates whether differential correction is applied to the GPS receiver.
gps_img_directionTiffRationalr/wGets or sets the GPS direction of the image when it was captured.
gps_img_direction_refstringr/wGets or sets the GPS reference for giving the direction of the image when it is captured.
gps_latitudeTiffRational[]r/wGets or sets the GPS latitude.
gps_latitude_refstringr/wGets or sets the GPS latitude is north or south latitude.
gps_longitudeTiffRational[]r/wGets or sets the GPS longitude.
gps_longitude_refstringr/wGets or sets the GPS longitude is east or west longitude.
gps_map_datumstringr/wGets or sets the GPS geodetic survey data used by the GPS receiver.
gps_measure_modestringr/wGets or sets the GPS measurement mode.
gps_processing_methodbyter/wGets or sets the GPS character string recording the name of the method used for location finding.
gps_satellitesstringr/wGets or sets the GPS satellites used for measurements.
gps_speedTiffRationalr/wGets or sets the speed of GPS receiver movement.
gps_speed_refstringr/wGets or sets the unit used to express the GPS receiver speed of movement.
gps_statusstringr/wGets or sets the status of the GPS receiver when the image is recorded.
gps_tagsTiffDataType[]r/wGets or sets tags, which belong to GPS section only.
gps_timestampTiffRational[]r/wGets or sets the GPS time as UTC (Coordinated Universal Time).
gps_trackstringr/wGets or sets direction of GPS receiver movement.
gps_track_refstringr/wGets or sets the reference for giving the direction of GPS receiver movement.
gps_version_idbyter/wGets or sets the GPS version identifier.
gpsdopTiffRationalr/wGets or sets the GPS DOP (data degree of precision).
image_unique_idstringr/wGets or sets the image unique identifier.
is_big_endianboolr/wGets or sets a value indicating whether the stream EXIF data created from is big endian.
iso_speeduintr/wGets or sets ISO speed
iso_speed_latitude_yyyuintr/wGets or sets the ISO speed latitude yyy value of a camera or input device that is defined in ISO 12232.
iso_speed_latitude_zzzuintr/wGets or sets the ISO speed latitude zzz value of a camera or input device that is defined in ISO 12232.
lens_makestringr/wGets or sets the maker of lens.
lens_modelstringr/wGets or sets the lens model.
lens_serial_numberstringr/wGets or sets the lens serial number.
lens_specificationTiffRational[]r/wGets or sets the lens specification
light_sourceExifLightSourcer/wGets or sets the light source.
makestringr/wGets or sets the manufacturer of the recording equipment.
maker_note_dataTiffDataType[]rGets the maker note data.
maker_note_raw_databyter/wGets or sets the maker note raw data.
maker_notesMakerNote[]rGets the maker notes.
max_aperture_valueTiffRationalr/wGets or sets the maximum aperture value.
metering_modeExifMeteringModer/wGets or sets the metering mode.
oecfbyter/wGets or sets the Opto-Electric Conversion Function (OECF) specified in ISO 14524.
photographic_sensitivityuintr/wGets or sets the photographic sensitivity.
pixel_x_dimensionuintr/wGets or sets the pixel x dimension.
pixel_y_dimensionuintr/wGets or sets the pixel y dimension.
propertiesTiffDataType[]r/wGets or sets all the EXIF tags (including common and GPS tags).
recommended_exposure_indexuintr/wGets or sets the recommended exposure index.
related_sound_filestringr/wGets or sets the related sound file.
saturationExifSaturationr/wGets or sets the saturation.
scene_capture_typeExifSceneCaptureTyper/wGets or sets the scene capture type.
scene_typebyter/wGets or sets the scene type.
sensing_methodExifSensingMethodr/wGets or sets the sensing method.
sensitivity_typeushortr/wGets or sets the sensitivity type.
sharpnessushortr/wGets or sets the sharpness.
shutter_speed_valueTiffSRationalr/wGets or sets the shutter speed value.
spatial_frequency_responsebyter/wGets or sets the spatial frequency response.
spectral_sensitivitystringr/wGets or sets the spectral sensitivity.
standard_output_sensitivityuintr/wGets or sets standard output sensitivity
subject_areaushortr/wGets or sets the subject area.
subject_distanceTiffRationalr/wGets or sets the subject distance.
subject_distance_rangeExifSubjectDistanceRanger/wGets or sets the subject distance range.
subject_locationushortr/wGets or sets the subject location.
subsec_timestringr/wGets or sets the fractions of seconds for the DateTime tag.
subsec_time_digitizedstringr/wGets or sets the fractions of seconds for the DateTimeDigitized tag.
subsec_time_originalstringr/wGets or sets the fractions of seconds for the DateTimeOriginal tag.
user_commentstringr/wGets or sets the user comment.
white_balanceExifWhiteBalancer/wGets or sets the white balance.
white_pointTiffRational[]r/wGets or sets the chromaticity of the white point of the image.

Methods

NameDescription
remove_tag(tag)Remove tag from container
remove_tag(tag_id)Remove tag from container
remove_tag_id(tag_id)Remove tag from container

Constructor: ExifData()

 ExifData() 

Initializes a new instance of the ExifData class.

Constructor: ExifData(common_tags, exif_tags, gps_tags)

 ExifData(common_tags, exif_tags, gps_tags) 

Initializes a new instance of the ExifData class with data from array.

Parameters:

ParameterTypeDescription
common_tagsTiffDataType[]The common tags.
exif_tagsTiffDataType[]The EXIF tags.
gps_tagsTiffDataType[]The GPS tags.

Constructor: ExifData(exifdata)

 ExifData(exifdata) 

Initializes a new instance of the ExifData class with data from array.

Parameters:

ParameterTypeDescription
exifdataTiffDataType[]Array of EXIF tags together with common and GPS tags.

Property: maker_notes

Gets the maker notes.

See also:

Example # 1: Access camera manufacturer maker notes in Jpeg image.

Method: remove_tag(tag)

 remove_tag(tag) 

Remove tag from container

Parameters:

ParameterTypeDescription
tagExifPropertiesThe tag to remove

Method: remove_tag(tag_id)

 remove_tag(tag_id) 

Remove tag from container

Parameters:

ParameterTypeDescription
tag_idushortThe tag identifier to remove.

Method: remove_tag_id(tag_id)

 remove_tag_id(tag_id) 

Remove tag from container

Parameters:

ParameterTypeDescription
tag_idushortThe tag identifier to remove.

Examples

Access camera manufacturer maker notes in Jpeg image.


from aspose.pycore import as_of
from aspose.imaging import Image
from aspose.imaging.fileformats.jpeg import JpegImage

with as_of(Image.load("Sample.jpg"), JpegImage) as image:
	for makerNote in image.exif_data.maker_notes:
		print(f"Name = {makerNote.name}, Value = {makerNote.value}")