views:

150

answers:

0

I am programatically creating a Bitmap with the line below (where width is the screen width and height is slightly less than the screen height).

 Bitmap bmp = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);

I then draw a few simple Path objects on it and save it to the Gallery with the following line.

 Uri uri = Uri.parse(MediaStore.Images.Media.insertImage(getContentResolver(), bmp, "title", "now"));

However, when I view the image in the gallery, it is very low quality. For example, if I draw a simple straight line from corner to corner, it looks blotched (like when you take a small image and resize it to be very large).

Any ideas?