I was able to fix most of the distortion by either adding a small
amount of noise in photoshop or but placing the image under res/raw/
 but the image is still getting clipped.  I have a sharp edge that is
getting rounded out.  The image is about 20x20 pixels and looks fine
on my computer but on the phone it looks terrible.

On May 10, 1:06 pm, neuromit <[email protected]> wrote:
> I'm loading a png file using
>
> Bitmap eBitmap = BitmapFactory.decodeResource(r, R.drawable.pm) ;
>
> and then drawing it using:
>
> canvas.drawBitmap(eBitmap, x, y, mPaint);
>
> The problem I'm experiencing is the bitmap is coming out distorted.
> The corners are getting rounded and messing up the image.
>
> Is there a way to prevent the bitmap from being distorted?

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

Reply via email to