Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Developer
hades_6
Posts: 178
Registered: ‎08-26-2009
My Device: Not Specified

Re: Resizing bitmap without creating encoded image

Thanks bikas
Regular Contributor
lakhmapurkarvishal
Posts: 51
Registered: ‎01-13-2011
My Device: 9800
My Carrier: vodaphone

Re: Resizing bitmap without creating encoded image

thankyou Bikas its work fine

Vishal Lakhmapurkar
Contributor
kushalnauhwar
Posts: 17
Registered: ‎08-16-2011
My Device: 9800

Re: Resizing bitmap without creating encoded image

Bitmap temp=new Bitmap(width,height);
Bitmap resized_Bitmap = bitmap;
temp.createAlpha(Bitmap.HOURGLASS);
resized_Bitmap.scaleInto(temp , Bitmap.FILTER_LANCZOS);
return temp;

Kushalpal Singh
Blackberry Application Developer