Join Now
Quality Rating:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)
Expertise Level:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)

This page was last modified 09:11, 24 August 2007.

TSS000028 - CMdaImageFileToBitmapUtility::ConvertL() and masked bitmap images

From Forum Nokia Wiki


Subject:

CMdaImageFileToBitmapUtility::ConvertL() and masked bitmap images TSS000028

 

Platform(s): Device(s), SW version(s):
S60 1st Edition
S60 2nd Edition
N/A

Category:

Symbian C++

Subcategory:

General

Description:

Detailed description
When using CMdaImageFileToBitmapUtility to convert a .gif image with a mask to bitmap (CFbsBitmap), I get an empty bitmap for both the image and the mask. What is wrong?
Solution
Mask bitmaps should always be 2-color (monochrome) bitmaps. While some APIs accept mask bitmaps with a higher color depth, they may not work correctly. Also, monochrome mask bitmaps reserve less memory. The same applies, for example, to CWindowGc::BitBltMasked().

Creation date:

August 6, 2003

Last modified:

-
Related Discussions
Thread Thread Starter Forum Replies Last Post
Reduce Size and resolution of an Image! Priju Jacob Paul General Symbian C++ 4 2006-11-08 15:19
How can I give my application with different Fonts?? bb_sathya Mobile Java General 12 2007-10-03 09:42
Diaplaying a image aquarian3183 Symbian Media (Graphics & Sounds) 10 2008-06-03 10:24
Displaying bitmap on a container Shaikuny Symbian User Interface 1 2005-01-03 11:07
对于这样的类MMdaImageUtilObserver如何这样工作? draker Symbian 12 2005-04-27 08:33
 
Powered by MediaWiki
     
     RDF Facets:
     
     
     qfnZtypeQUqfnTypeZCommunityContentQ
     qfnZtypeQUqfnTypeZKnowledgeBaseContentQ
     qfnZtypeQUqfnTypeZTechnicalSolutionQ
     qfnZtypeQUqfnTypeZWebpageQ
     qfnZtypeQUqfnTypeZWikiContentQ
     qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX