Quickest way to get dimensions of BITMAP file in C
Advertisements What’s the quickest way to get the height and width of a bitmap file in C? I either need to get it from the HBITMAP or the file itself, either way will work. Here’s a section of my code: printf("Initializing textures…"); HDC bp, memdc; HBITMAP bmp, hold; bp = GetDC(hwnd); memdc = CreateCompatibleDC(bp); bmp… Read More Quickest way to get dimensions of BITMAP file in C