Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Mar 2009

    grayscale masks for blit method

    I need to have a grayscale (8-bit) transparent mask for an image in my app;
    I read this tutorial
    "How to display transparent PNG on canvas with masks"

    but when I load an png image (i even tried the one that comes with tutorial) it gives me the following errore message:

    "ValueError: mask must be a binary (1-bit) or grayscale (8-bit) Image"

    I both tried with png and bmp but it seems that there's no way..
    I'm using a 3rd edition phone (N95)

    Does anyone succeded in making a grayscale mask?



  2. #2
    Registered User
    Join Date
    Mar 2009

    Re: grayscale masks for blit method

    I found the soultion!

    it was in this Thread http://discussion.forum.nokia.com/fo...d.php?t=148244



Similar Threads

  1. why i am unable to get data from HTTP POST method?
    By s_mehdi76 in forum Symbian Networking & Messaging (Closed)
    Replies: 1
    Last Post: 2009-01-28, 12:42
  2. What is happening in InputStream.Skip method?
    By orsteglasy in forum Mobile Java Networking & Messaging & Security
    Replies: 0
    Last Post: 2007-03-02, 19:34
  3. Is switching to another Canvas inside a paint() method OK?
    By falconpl in forum Mobile Java General
    Replies: 2
    Last Post: 2006-05-06, 00:15
  4. Methods, that take lots of space
    By doctordwarf in forum Mobile Java General
    Replies: 4
    Last Post: 2003-07-30, 11:05

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts