I want to add basic exif info to images like author,camera model,date etc.Is there a way to do this using the Inbuilt classes without using other external libraries.Does the image formats like JPEG,PNG,TIFF,BMP,GIF Support all EXIF Fields.
Asked
Active
Viewed 2.7k times
1 Answers
17
System.Drawing
allows modifying the image properties with PropertyItems
/SetPropertyItem
. A sample can be found here.
But this access is quite basic and there are quite a few libraries around (see for instance How to edit EXIF data in .NET). So I wonder if it's worth the trouble.
After all, only JPEG and TIFF files support EXIF metadata according to Wikipedia.
-
Allows `modify` but not `add`, it's not work if a property item that is not already exist. – huang Jun 17 '20 at 00:56