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
Please use plain text.
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
Please use plain text.
Contributor
kushalnauhwar
Posts: 17
Registered: ‎08-16-2011
My Device: 9800
My Carrier: Blackberry ApplicationDeveloper

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
Please use plain text.