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 fileusingvarimage=newMagickImage(SampleFiles.FujiFilmFinePixS1ProJpg);// Retrieve the exif informationvarprofile=image.GetExifProfile();// Check if image contains an exif profileif(profileisnull){Console.WriteLine("Image does not contain exif information.");}else{// Write all values to the consoleforeach(varvalueinprofile.Values){Console.WriteLine("{0}({1}): {2}",value.Tag,value.DataType,value.ToString());}}
Create thumbnail from exif data
// Read image from fileusingvarimage=newMagickImage(SampleFiles.FujiFilmFinePixS1ProJpg);// Retrieve the exif informationvarprofile=image.GetExifProfile();if(profileis not null){// Create thumbnail from exif informationusingvarthumbnail=profile.CreateThumbnail();// Check if exif profile contains thumbnail and save itif(thumbnailis not null){thumbnail.Write(SampleFiles.OutputDirectory+"FujiFilmFinePixS1Pro.thumb.jpg");}}