What does the filter parameter to createScaledBitmap do?

To expand on Karan’s answer: As a general rule you won’t see any difference if you’re scaling your image down, but you will if you’re scaling it up.

Passing filter = false will result in a blocky, pixellated image.

Passing filter = true will give you smoother edges.

However, as EIYeante pointed out in the comments, you might still see a difference. This is their example image.

Leave a Comment