简体   繁体   中英

Reading TIFF Image Metadata

I'm currently writing an application to read a TIFF File and then perform some compression algorithm. I have successfully done that .. But now, I want to read the metadata of the TIFF Image, but can't seem to find the correct way to do that.

What library and function should I use?

Even if I do not know which metadata you need to read, maybe the standard TiffBitmapDecoder class can help you. Take a look to its Metadata property.

From: http://www.codeproject.com/Articles/7888/A-library-to-simplify-access-to-image-metadata

In .NET Framework, you can store and retrieve metadata by calling the SetPropertyItem and GetPropertyItem methods of the Image class, and you don't have to be concerned with the details of how a particular file format stores that metadata.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM