add setDither and setFilterBitmap methods for #26