This known issue was originally created by Otsov and has been verified by Forum Nokia.
| ID | KIJ000820 | Creation date | February 11, 2008 |
| Platform | S60 3rd Edition | Devices | Emulator |
| Category | Symbian C++ | Subcategory | Graphics, SVG |
| Keywords (APIs, classes, methods, functions): |
When trying to create an icon with either of the following functions
AknIconUtils::CreateIconL() AknsUtils::CreateIconL()
and a .mif or .mbm file which is indexed with an index greater than the range of TInt16 (that is, above 32767), AknIcon 5 panic is raised for debug builds (that is, the emulator).
The panic is raised for debug builds (that is, the emulator) only. CreateIconL() functions have __ASSERT_DEBUG statements for image and mask index values - a panic is always raised if index > KMaxTInt16.
In release (device) builds, these functions leave with error code KErrEof (-25).
Because of the way images are indexed in .mif files, the maximum safe number of icons in a single mif file is KMaxTInt16/4 (8192).
No related wiki articles found