Thursday, October 29, 2009

[android-developers] Re: PNG "optimization" on packaging process

On Oct 29, 12:15 am, webmonkey <webmonke...@gmail.com> wrote:
> On Oct 28, 9:20 pm, Ian <iangm...@gmail.com> wrote:
> > I've noticed that the PNGs of my application with some gradients
> > effects looked terribly bad at the device (a Samsung Galaxy) and at
>
> The banding artifacts you see are because the device and the emulator
> are displaying in 16-bit 565 pixel format, they can't display all the
> colors. Have you tried painting the image with Paint.setDither(true)
> turned on:

To emphasize a related point: the compression performed during the
packaging step should have no impact on the rendered image. If it
does, there's a bug somewhere in the process, but to determine that
you need to compare the appearance of both images on the same device
(e.g. both on the emulator or both on your workstation).

--~--~---------~--~----~------------~-------~--~----~
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments:

Post a Comment