Ok, what about BitmapAsset.setActualSize?


--- In [email protected], "grg_blls" <grg_b...@...> wrote:
>
> Hi,
>  
> Bitmaps aren't usually 'shrinked' (this or another way) as they lose in 
> context.
> 
> You should use a image processing program to first convert by downsampling to 
> this lower resolution, and if you still can make out what the original image 
> was like, OK. Otherwise you should 'enhance' the result to make up for the 
> lost information.
> Sorry if there is no easy way to effectively scale down bitmaps.
> George
> 
> 
> --- In [email protected], "flexaustin" <flexaustin@> wrote:
> >
> > I am trying to use a LinkButton in my app and assign an image to the icon 
> > variable, but I need to scale down or make sure the image isn't any larger 
> > than 15 x 15 pixels.
> > 
> > Is there a way to scale a class file?  I tried to load a png file then 
> > convert the png to Bitmap, tried BitmapData, and tried BitmapAsset and then 
> > scale the embedded image, but non of this worked.
> > 
> > So to recap embed and image (which is 50x50 pixels) and shrink it down to 
> > (15x15 pixels) and assign it to a linkButtons icon. 
> > 
> > Anyone know of a solution?
> >
>


Reply via email to