You Are Here:

Community: Wiki

This page was last modified on 8 July 2009, at 15:08.

Bug in CExifRead

From Forum Nokia Wiki

ID NOT A BUG - See the "Comment" tab for more info Creation Date Mar 24, 2008
Platform S60 3rd Edition FP2 Beta Devices emulator
Category Multimedia Subcategory EXIF API;

Description

Calling CExifRead::GetExifVersion(TUint32& aExifVersion) on the image found at http://wiki.forum.nokia.com/images/d/dc/Test_KErrNoMemory.jpg produces incorrect values.

Instead of filling the argument with the correct decimal value 0220, as reported if the same file is viewed with Photoshop, the call to this function will fill the argument with 0x30323230, which is the ASCII representation of "0220". This violates the API spec, as defined by the docs, because it doesn't produce a valid TUint32 result.

A similar issue is for GetFlashPixVersion.

Also, calling GetTagIdsL on that file indicates that a "maker note" field is present in the file, although that's not shown by Photoshop. If the value of that field is fetched using CExifRead::GetMakerNoteL, it returns an HBufC8 pointing to 2480 bytes of garbage.

Sample code that reproduces the problem:

...
TUint32 version;
User::LeaveIfError(reader.GetExifVersion(version));
...

Related Wiki Articles

No related wiki articles found

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia 
RDF Facets: qdcZidentifierQSxhttpE3aE2fE2fwikiE2eforumE2enokiaE2ecomE2findeE78E2ephpE2fKIS000313E5fE2dE5fCVideoPlayerUtilityE3aE3aSetE52otationE4cE28E29E5fcrashE5forE5ferroneousE5fbehaviorX qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qdcZtypeQUqfntypeZCommunityContentQ qdcZtypeQUqfntypeZKnowledgeBaseContentQ qdcZtypeQUqfntypeZKnownIssueQ qdcZtypeQUqfntypeZE52esourceQ qdcZtypeQUqfntypeZWebpageQ qdcZtypeQUqfntypeZWikiContentQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZPageQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qfnZtypeQUqfntypeZCommunityContentQ qfnZtypeQUqfntypeZKnowledgeBaseContentQ qfnZtypeQUqfntypeZKnownIssueQ qfnZtypeQUqfntypeZE52esourceQ qfnZtypeQUqfntypeZWebpageQ qfnZtypeQUqfntypeZWikiContentQ qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qrdfZtypeQUqfntypeZCommunityContentQ qrdfZtypeQUqfntypeZKnowledgeBaseContentQ qrdfZtypeQUqfntypeZKnownIssueQ qrdfZtypeQUqfntypeZE52esourceQ qrdfZtypeQUqfntypeZWebpageQ qrdfZtypeQUqfntypeZWikiContentQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZPageQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ