Bad image quality in canvas

by Serzh Butterfly » Tue, 23 Nov 2010 14:51:32 GMT

Sponsored Links
 Bitmap (or drawable) quality is bad when I draw it into canvas.
Gradient isn't smooth and lines have a little blur. I want to have a
hard lines.
What is the problem?

I'm testing the app on HTC Desire.
All pictures in png format.

Thank you.


Re: Bad image quality in canvas

by TreKing » Wed, 24 Nov 2010 06:50:54 GMT


Sounds like scaling and / or anti-aliasing issues. Make sure you're using
the right image resolution for the screen density your testing on and check
this too: #ANTI_ALIAS_FLAG

TreKing <> ; - Chicago
transit tracking app for Android-powered devices


Sponsored Links

Other Threads

1. DNS problems in our app

I had gotten reports from a few users that they couldn't login to our
app (which makes HTTP calls to our site) or visit our website in their
browser, so I added some code to our latest build to check what IP our
host name is resolving to.  I've gotten reports from several different
users now that they get for our hostname
( when the app starts, which obviously isn't going
to work.

At least one confirmed that he doesn't have any kind of proxy software
installed.  Another got the problem on 2.2, but after going back to
2.1 the problem went away.

Has anyone seen this sort of thing?  Any suggestions for figuring out
what is going on?



2. detect that you are on the emulator and not on real device

I found some links


3. RTSP Video packet loss ratio, jitter and delay

4. Array adapter - ListView [databasing?]

5. Tables

6. My first post -- ArrayAdapter question

7. Tutorial APK files