I am having Image Quality problems using Canvas and
canvas.scale(Scale, Scale); they look exactly like the following:

http://stackoverflow.com/questions/2041207/android-quality-of-the-images-resized-in-runtime

I believe I have read all the posts on image quality problems when re-
sizing bitmaps, but it doesn't seem to help when scaling with a Canvas
scale(float scale).

I have tried many different options as suggested by the image quality
posts.

BitmapFactory.Options options = new BitmapFactory.Options();
options.inJustDecodeBounds = false;
options.inDither = false;
options.inSampleSize = 1;
options.inScaled = false;
options.inPreferredConfig = Bitmap.Config.ARGB_8888;//I thought this
would do it
CurrentPicture = BitmapFactory.decodeFile(path, options);//Also tried
decodeStream()


PicturePaint = new Paint();
//PicturePaint = new Paint(Paint.FILTER_BITMAP_FLAG); //I also tried
this
//PicturePaint = new Paint(Paint.ANTI_ALIAS_FLAG);  //I also tried
this
canvas.scale(Scale, Scale);
canvas.drawBitmap(CurrentPicture, 0, 0, PicturePaint);

I am quite concerned as I am in serious trouble if I can't get the
image quality problem solved. Any help is appreciated.

Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to