Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Edit TIFF metadata in VFP9?

Status
Not open for further replies.

rsmock21

Technical User
Oct 31, 2002
7
US
I am trying to modify the metadata in a TIFF file using VFP9, specifically the XResolution and YResolution tags, and either update the file or save to a new file. So far I haven't had any success. I tried using the gpImage class from _GDIPLUS.vcx, and I can view the VerticalResolution and HorizontalResolution properties of the image file, but I don't see any way to adjust it.

Does anyone have any ideas? Or third party tools that would accomplish this? Thanks.

Rob
 
It should be doable via gdiplus:

GDI+ provides a uniform way of storing and retrieving metadata from image files in various formats. In GDI+, a piece of metadata is called a property item. 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 about the details of how a particular file format stores that metadata.

(quoted from
If _gdiplus.vcx doesn't offer that, give VFPX a try, to be more precise GDIPlusX:


Bye, Olaf.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top