There is a .smoothing property that you can apply to bitmaps/bitmapData, which is probably what you're looking for. On a quick check it looks like the Image component doesn't expose it (Ely Greenfields "superImage" component might?), and offhand I'm not sure if you can just apply it to the source bitmap (if that's what you're using). Sorry I don't have the whole answer just at the moment (I don't use the image component, in general), but hopefully it might set you on the right track for a google. -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Ivens Sent: 25 June 2008 15:49 To: [email protected] Subject: Re: [flexcoders] Resizing Images Perhaps making sure that the resizing snaps to pixels. I have the same issue on mine and I'm trying to find a solution too. I'm thinking of using server-side resizing to get it to work neatly. On 25 Jun 2008, at 15:20, kenny14390 wrote:
Hi. I have a space that is 175x100 and I am loading images into it on the fly. I am loading images that are as big as 200x115 and I need to shrink them to fit but also preserve their quality. If I don't specify the Image component's height and width, the image retains its quality, but it also retains its own unique height and width, and could spill outside of my 175x100 box. I then turned on the scaleContent property and set the horizontal and vertical align to center/middle. This solves the resizing problem, but not the image quality. The image looks jagged and smooth lines now look broken. Does anyone know of a way to keep an image within my constraints and retain image quality? ______________________________________________________________________ This communication is from Primal Pictures Ltd., a company registered in England and Wales with registration No. 02622298 and registered office: 4th Floor, Tennyson House, 159-165 Great Portland Street, London, W1W 5PA, UK. VAT registration No. 648874577. This e-mail is confidential and may be privileged. It may be read, copied and used only by the intended recipient. If you have received it in error, please contact the sender immediately by return e-mail or by telephoning +44(0)20 7637 1010. Please then delete the e-mail and do not disclose its contents to any person. This email has been scanned for Primal Pictures by the MessageLabs Email Security System. ______________________________________________________________________

