I am struggling to understand how to approach resize problem. I see there are alot of codes available for me to use directly. I do understand the problem, Zymal's pesudocode, but the lack of clarity lies in understanding how bimap files are read. And I do not find any sources that can clearly explain the details on the datatypes used in BITMAPs. Can someone please explain: 1) How bitmap file is read? 2) The information regarding BITMAPFILEHEADER (https://docs.microsoft.com/en-us/windows/win32/api/wingdi/ns-wingdi-bitmapfileheader) and BITMAPINFOHEADER (https://docs.microsoft.com/en-us/windows/win32/api/wingdi/ns-wingdi-bitmapinfoheader).
Many thanks, Indu