TIOParams.EXIF_HasEXIFData
Declaration
property EXIF_HasEXIFData: Boolean;
Description
If True, the loaded image contains EXIF information tags. EXIF data is commonly added by digital cameras to provide meta data on a photo.

Note: If you do not wish to maintain the original EXIF info, set EXIF_HasEXIFData to False before saving.
Important Note: If an image is assigned from a
TImageEnView to another, the EXIF tags is NOT automatically assigned.
To maintain EXIF data in the second
TImageEnView or
TImageEnVect, you must also assign the EXIF Data. This applies to all ImageEn "Display" components including TImageEnView and TImageEnVect.
Typical situations:
1) You want to maintain the EXIF data untouched:
Do nothing... (default behavior)
2) You want to set some EXIF fields, e.g.
ImageEnView1.IO.Params.EXIF_Software := 'ImageEn';
ImageEnView1.IO.Params.EXIF_HasEXIFData := true;
3) You want to remove all EXIF data:
ImageEnView1.IO.Params.ResetEXIF();
Demo
| Demos\InputOutput\EXIF\EXIF.dpr |
Example
// In this example, a form named DlgEXIF has a TImageEnView (ImageEnView1) and another form has a TImageEnView (ImageEnView). Both the image and its EXIF data are passed from one to another via assign.
// Assign the image to DlgEXIF
DlgEXIF.ImageEnView1.Assign ( ImageEnView );
// Assign EXIF data to DlgEXIF.ImageEnView1
DlgEXIF.ImageEnView1.IO.Params.Assign ( ImageEnView.IO.Params );
See Also
-
ResetEXIF-
GetMetaData