In fact, the problem was with the format, but with RGB_4444. I have had problems like this before, but for some reason I forgot it, and I recall just a minute after sending that question.

The obvious solution was to use RGB_8888 instead.

Best regards,

On 09/24/2012 08:11 PM, bob wrote:
Maybe you are loading a bitmap with this format:

Bitmap.Config
RGB_565



On Monday, September 24, 2012 9:52:47 AM UTC-5, Fran wrote:

    Hi,

    I am facing problems with PNG that includes some gradients. They are
    very bad shown, with bands instead of soft transitions. I have
    attached
    two images that illustrates the problem.

    In the past I used to solve this problem with the workaround of
    spreading some noise on before saving the PNG, but it means more time
    lost and less graphic quality.

    Now I have a graphic designer that is improving the graphics of my
    first
    game, and I do not want to tell him that he must do such dirty
    things so
    the gradients are shown as it should.

    So, is there any definitive solution to this problem and not merely a
    workaround?

    Best regards,


--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to