New private low level BitmapFilter function