You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Read image from fileusing(MagickImageimage=newMagickImage("FujiFilmFinePixS1Pro.jpg")){// Retrieve the exif informationExifProfileprofile=image.GetExifProfile();// Check if image contains an exif profileif(profile==null)Console.WriteLine("Image does not contain exif information.");else{// Write all values to the consoleforeach(IExifValuevalueinprofile.Values){Console.WriteLine("{0}({1}): {2}",value.Tag,value.DataType,value.ToString());}}}
Create thumbnail from exif data
// Read image from fileusing(MagickImageimage=newMagickImage("FujiFilmFinePixS1Pro.jpg")){// Retrieve the exif informationExifProfileprofile=image.GetExifProfile();// Create thumbnail from exif informationusing(MagickImagethumbnail=profile.CreateThumbnail()){// Check if exif profile contains thumbnail and save itif(thumbnail!=null)thumbnail.Write("FujiFilmFinePixS1Pro.thumb.jpg");}}