This page was last modified 03:12, 25 March 2008.
Bug in CExifRead
From Forum Nokia Wiki
| ID | Unofficial - No ID assigned | 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 Discussions | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Problem with GPS class(com.nokia.m2m.orb.idl.gps) | CONTEMPO | Nokia M2M | 1 | 2005-01-27 07:41 |
| Carbide bug? | scarex80 | Carbide.c++ and CodeWarrior Tools | 2 | 2006-03-24 14:08 |
| JSR-226 BUG on 60 device | ThatIsEnough | Mobile Java Tools & SDKs | 0 | 2005-08-22 09:29 |
| Java Verified, Table Of Supported Devices BUG? | ivan.kunchev | Mobile Java General | 1 | 2005-10-05 10:28 |
| Bug report | svdwal | General Symbian C++ | 1 | 2002-07-24 06:57 |

