I was hoping to get some opinions on the optimal solution for variable changes. In the resize project you have to change the BI and BF variables (height, width, biSizeImage, bfSize etc.). I changed those variable's values to calculate the outfile headers and padding then changed them back to the original values before writing the pixels to the outfile. Would this be the optimal solution for processing speed? Memory management? General style and ease of use? I've seen people create new variables and assign the new values to them, and this is what I'm trying to compare.
P.S. I have 2 other questions outstanding that I wouldn't mind an opinion on, if you have the time!