实现对BMP图像的读取,放大,缩小。HGLOBALWINAPIZoomDIB(LPSTRlpDIB,floatfXZoomRatio,floatfYZoomRatio){//源图像的宽度和高度LONGlWidth;LONGlHeight;//缩放后图像的宽度和高度LONGlNewWidth;LONGlNewHeight;//缩放后图像的宽度(lNewWidth',必须是4的倍数)LONGlNewLineBytes;//指向源图像的指针LPSTRlpDIBBits;//指向源象素的指针LPSTRlpSrc;//缩放后新DIB句柄HD