What does the filter parameter to createScaledBitmap do?

The declaration of android.graphics.Bitmap.createScaledBitmap is

public static Bitmap createScaledBitmap
  (Bitmap src, int dstWidth, int dstHeight, boolean filter)

However, the documentation doesn’t explain any of the parameters. All of them are pretty obvious except for boolean filter. Does anyone know what it does?

5 Answers
5

Leave a Comment