2012-05-22 109 views
1

如何添加平滑到從BitmapData數組拍攝的圖像?AS3 - 圖像平滑

我的代碼:

con.addChild(new Bitmap(myImage[0])) 

感謝。烏利

回答

5

嘗試:

con.addChild(new Bitmap(myImage[0], "auto", true)) 
+0

編輯爲你應用平滑到BitmapData,而不是位圖實例;) – Cay

+0

太好了,謝謝!什麼是「汽車」的好處? – Uli

+0

@Uli它是'pixelSnapping':http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/Bitmap.html – mgraph