Raster Image Functions:  Intelligent Rescale

L_IntelligentDownScaleBitmap

L_IntelligentUpScaleBitmap