resize bitmapdata


/ Published in: ActionScript 3
Save to your folder(s)

This snippet uses the BitmapUtil to resize bitmap data, whilst maintaining transparency and aspect ratio, It assumes that you want a square output, so for those of you who want resizing rectangular images, just make the "ratio" part handle both X and Y.

cheers.

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.