Getting a smooth bitmap

Problems with Canvas, OpenGL, etc...

Getting a smooth bitmap

Postby Aisthesis » Wed Jan 26, 2011 3:05 am

I'm working on a chess app and am using for pieces the png images from Wikipedia commons. They look great as .png, but when they get miniaturized just using BitmapFactory.decodeResource(...) they don't look very good on the Eclipse emulator. I tried setting a few BitmapFactory.Options as well with no improvement, also tried using various image qualities for the .png and no noticeable change.

What's a good procedure for getting a nice smooth version of a .png that can be drawn pretty small onto a canvas? The functionality offered in BitmapDrawable looks interesting (anti-aliasing and filtering, which seem like what I need), but I'm not sure how those work or whether they are likely to solve my problem.
Aisthesis
Once Poster
Once Poster
 
Posts: 1
Joined: Mon Jan 24, 2011 7:47 pm

Top

Return to Android 2D/3D Graphics - OpenGL Problems

Who is online

Users browsing this forum: No registered users and 4 guests