From: brucenan on 21 Jan 2010 22:39 anybody knows how to add EXIF data into image file? in native c++ I've add two GPS metadata into a jpg file, but viewer tools can not identify these two GPS data as GPS data...
From: Peter Foot [MVP] on 24 Jan 2010 17:13 Can you show the code you have used to write these properties? If you are using the Imaging API there is a bug in the way the GpsIFD is written - it appears to write the tags directly to the main IFD and so they are not recognised by standard applications. Peter "brucenan" <brucenan0116(a)hotmail.com> wrote in message news:D68FAC04-049D-4620-89ED-3AD9ED249DB4(a)microsoft.com... > anybody knows how to add EXIF data into image file? > > in native c++ > > > I've add two GPS metadata into a jpg file, but viewer tools can not > identify these two GPS data as GPS data...
From: brucenan on 27 Jan 2010 02:28 thanks for your feedback I use the codes from this URL: http://social.msdn.microsoft.com/Forums/en-US/vssmartdevicesnative/thread/89090b8b-305b-46c3-9b13-047f0e9537bf As your said, this code add GPS metadata to main IFD, not GPS IFD. But I can not create a new GPS IFD, because in MSDN, it said that PropertyTagGpsIFD is not expose for public use. And even I know how to create a GPS IFD, but how to calculate the offset value for GPS IFD? Could you tell me the ways or some code? Thank you very much!!!!!!!!!!!!!!!! brucenan "Peter Foot [MVP]" <feedback(a)inthehand.com> д����Ϣ news:30DF7738-489F-4C79-85CD-DE6BD6ACC354(a)microsoft.com... > Can you show the code you have used to write these properties? If you are > using the Imaging API there is a bug in the way the GpsIFD is written - it > appears to write the tags directly to the main IFD and so they are not > recognised by standard applications. > > Peter > > "brucenan" <brucenan0116(a)hotmail.com> wrote in message > news:D68FAC04-049D-4620-89ED-3AD9ED249DB4(a)microsoft.com... >> anybody knows how to add EXIF data into image file? >> >> in native c++ >> >> >> I've add two GPS metadata into a jpg file, but viewer tools can not >> identify these two GPS data as GPS data... >
|
Pages: 1 Prev: user control Next: transmit data using a particular data connection |