Hi,

You need to enable bitmap filtering on the Paint first.

--  
Romain Guy
www.curious-creature.org

On Jun 2, 2008, at 2:09 AM, David Given <[EMAIL PROTECTED]> wrote:

> 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 o 
> ut
> │ how to use my telephone." --- Bjarne Stroustrup
>

--~--~---------~--~----~------------~-------~--~----~
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]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to