草庐IT

HALFTONE

全部标签

windows - StretchBlt HALFTONE == BILINEAR 是否适用于所有缩放?

谁能澄清GDIStretchBlt工作站Win32API的函数执行双线性插值以缩放到两个24/32位彩色图像的大图像和小图像?如果没有,是否有执行此操作的GDI(不是GDI+)函数?SetStretchBltModefn有一个设置HALFTONE,记录如下:HALFTONEMapspixelsfromthesourcerectangleintoblocksofpixelsinthedestinationrectangle.Theaveragecoloroverthedestinationblockofpixelsapproximatesthecolorofthesourcepixels