Hi Friends,
I want to create thumbnail image from its original image in coding for android
views:
83answers:
1
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
2010-08-18 18:55:59
ok fine cam u give source code for that
sivaraj
2010-08-19 08:01:57