Share Posted March 20, 2010 After scaling an image it's resolution decreases. I need to use resize of the image without its resolution and quality decreasing. How can I leave the resolution the same? Link to comment Share on other sites More sharing options...
Share Posted March 20, 2010 TransformManager doesn't change the resolution at all. The only way to allow your object to retain more quality is to start out with a much higher resolution image and have it initially scaled down so that when it increases in scale, it still has enough resolution to look good. Link to comment Share on other sites More sharing options...
Share Posted March 23, 2010 Have you tried adding smoothing? I just found out about this handy little line of code that you apply to a Bitmap instance. It made all images look a lot better when I scaled them up. example - var bmd:BitmapData = new BitmapData(mc.width, mc.height, true, 0x00000000); bmd.draw(mc); var bmdCopy:Bitmap = new Bitmap(bmd); bmdCopy.smoothing = true; var holderMC:MovieClip = new MovieClip(); holderMC.addChild(bmdCopy); manager.addItem(holderMC); Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now