title: Image Quality problems using Canvas and canvas.scale(Scale, Scale);
body: <p>I am having Image Quality problems using Canvas and canvas.scale(Scale, Scale); they look exactly like the following:</p>
  
  <p>android: quality of the images resized in runtime</p>
  
  <p>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).</p>
  
  <p>I have tried many different options as suggested by the image quality posts.</p>
  
  <pre><code>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);
  </code></pre>
  
  <p>I believe this the last barrier to achieving my goals. I am quite concerned as I am in trouble if I can't get the image quality problem solved. Any help is appreciated.</p>
  
  <p>Thanks!</p>
  
  <p>The system will not let me post a picture, so following is a link.</p>
  
  <p><a href="http://www.radicalphotography.com/PictureSample.jpg" rel="nofollow">PictureSample</a></p>