Raster Image Functions: Image Processing  Intelligent Rescale

LBitmap::IntelligentUpScale

LBitmap::IntelligentDownScale