Discussion Board

Results 1 to 6 of 6
  1. #1
    Hi !

    It seems I may encounter issues with the screen of the N950. When I want to display gradients that are drawn in png, I have a lot of ugly stripes. I once had this problem in Android and it had to do with pixel format. Anything like that here ?

    Thanks

  2. #2
    Nokia Developer Moderator gnuton's Avatar
    Join Date
    Mar 2009
    Posts
    1,024
    Hi,
    Of course you can run in the same problem here! What format are you using for your QImage/QPixmap?
    Last edited by gnuton; 2011-11-03 at 16:52.

  3. #3
    Those are 24bits png with alpha channel

  4. #4
    Nokia Developer Moderator gnuton's Avatar
    Join Date
    Mar 2009
    Posts
    1,024
    Mobile devices for performance reason use 16bits.
    If the image is part of the application you can reduce its color depth on your PC to avoiding undesired glitches.
    If you load the picture from the internet then you can convert it by using http://doc.qt.nokia.com/latest/qimag...onvertToFormat on loading.
    This will prevent MeeGo graphics to convert it using its algorithms and/or openGL.
    To test if OpenGL is the problem, you could run the application using the raster graphics engine which should give better results but it should make your app slower.

  5. #5
    And what about symbian devices (I can't test yet) ?

  6. #6
    Nokia Developer Moderator gnuton's Avatar
    Join Date
    Mar 2009
    Posts
    1,024
    IIRC Symbian devices use raster graphics system as default one.
    So in theory you should not see that problem there.
    BTW converting images when you know beforehand that the screen doesn't support such color depth is a waste of resources.
    Convert all your images to 16 bit on your PC is the better choice.

Similar Threads

  1. GUI issues
    By HasithaRandika in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2009-01-26, 00:33
  2. 404 known issues
    By P90ft in forum Feedback - Nokia Developer Services
    Replies: 5
    Last Post: 2007-07-03, 16:58
  3. Issues with 1.1.5
    By bercobeute in forum Python
    Replies: 6
    Last Post: 2005-09-20, 16:35
  4. MTM Issues
    By rakesh_pccs in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2005-02-27, 13:21

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved