I'm trying to scale quite a large image (500x500 pixels or so) to fit on
the screen. The standard Canvas scaler appears to use a simple
nearest-neighbour algorithm, which results on really nasty aliasing and
horrible jaggies.

Does Android contain any interpolating scalers?

My next step is to start playing with OpenGL, but I'm not sure if the
Android implementation actually supports the various texture
interpolation algorithms --- also, I'm not sure they'd help anyway given
that I'm scaling down, not up. Given that it's also quite a lot of work
I thought I'd better check first!

-- 
┌─── dg@cowlark.com ───── http://www.cowlark.com ─────
│ "I have always wished for my computer to be as easy to use as my
│ telephone; my wish has come true because I can no longer figure out
│ how to use my telephone." --- Bjarne Stroustrup

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to