Skip to main content
Known Participant
June 19, 2011
Answered

Manual AntiAlias when using CPU-Mode

  • June 19, 2011
  • 2 replies
  • 478 views

Hi there,

when switching to CPU-Mode (which is faster in my case) all is fine, except the scaled images look very bad.

I'm compiling with AIR 2.7 and I've read somewhere that cpu mode has no AntiAlias.

Can I use some other method / pixelmanipulation to AntiAlias my images?

This topic is closed to new replies. Start a new post to keep the conversation going.
Correct answer Colin Holgate

Apparently bitmap smoothing is disabled for Android. It still works in iOS. A work around is to do your own bitmapData.draw() to scale the image, and in that you can specify smoothing to be true.

2 replies

Colin Holgate
Colin HolgateCorrect answer
Inspiring
June 19, 2011

Apparently bitmap smoothing is disabled for Android. It still works in iOS. A work around is to do your own bitmapData.draw() to scale the image, and in that you can specify smoothing to be true.

Cedmo55Author
Known Participant
June 19, 2011

Thank you! I will try that...