tags:

views:

83

answers:

1

Hi Friends,
I want to create thumbnail image from its original image in coding for android

A: 

What's your source data? Do you have a Bitmap? Or a file? If you have a file, the easiest way would be to scale it as you load it, i.e. pass in a BitmapFactory.Optionsenter code here object and set the inSampleSize to a number that will create the size that you want. Alternatively, you can just create the Bitmap and scale it using Canvas.drawBitmap.

EboMike
ok fine cam u give source code for that
sivaraj