# Width and height of image

**URL:** <https://forum.kirupa.com/t/width-and-height-of-image/300372>\
**Category:** Uncategorized\
**Created:** [November 19, 2009, 10:07pm UTC](https://forum.kirupa.com/t/width-and-height-of-image/300372 "2009-11-19T22:07:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Javaprogrammer](https://avatars.discourse-cdn.com/v4/letter/j/a5b964/32.png) [@Javaprogrammer](https://forum.kirupa.com/u/Javaprogrammer)\
**Post date:** [November 19, 2009, 10:07pm UTC](https://forum.kirupa.com/t/width-and-height-of-image/300372/1 "2009-11-19T22:07:32Z")

</div>

Hi,

I’m loading some images from a web service and use a MovieClipLoader to load the image. In the onLoadInit() I set the new width and height of the image. ( This must be done after the image is completely loaded )

My problem is that the image has poor qualtity. The quality around the edges isn’t as the original image. Is there a way to improve the image to just scale as movieclip.\_width and movieclip.\_height isn’t the best way to go.
