added scaling functions to bitmap
added boolean option control