Skip to main content
Known Participant
June 19, 2011
Answered

Manual AntiAlias when using CPU-Mode

  • June 19, 2011
  • 1 reply
  • 477 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 has been closed for replies.
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.

1 reply

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...