You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
unsignedchar* scale(BITMAPFILEHEADER *bitmapFileHeader, BITMAPINFOHEADER *bitmapInfoHeader, unsignedchar *bitmapData, double x, double y, int *h, int *w)
{
int m = bitmapInfoHeader->biHeight; // 原图大小,像素尺度
int n = (bitmapInfoHeader->biWidth + 3) / 4 * 4 * 3;