I am currently working on resize (more comfortable).
my code works with check50 for all scale factors greater than and equal to one (meaning to say it will get a perfect on resize less comfortable). However, factors between 0 and 1 somehow should affect the size of the file headers, specifically bf.bfSize.
For example if a BMP is scaled down by a factor of 0.5, bfSize is expected to be 0x5a (90) instead of our usual 0x36 (54).
Conceptually, how does the scale factor affect these BMP header sizes?
My code is here: https://pastebin.com/4BRrcBZS The most important part to focus on is the lines within the rows of '/'
Thanks in advance~