changed filter parameter in bitmap scaling function