I have to create a small round bitmap. But I don't have the image. How to do that please help me its so urgent. I cant use
Canvas canvas = new Canvas(targetBitmap);
Path path = new Path();
path.addCircle(((float) targetWidth - 1) / 2,((float) targetHeight - 1) / 2,(Math.min(((float) 60), ((float) targetHeight)) / 2),Path.Direction.CCW);
as i dont have image. I know how to convert an image to a bitmap but dont know how to create new bitmap I have tried this : resize bitmap image without loosing its quality and converting the bitmap using existing images.
0 comments:
Post a Comment