i want to make a resize on a bmp file so as an example i have 200x200 pixel image and i want to make it 201x201 ...so i add a 1 pixel at the end of each row so the file become>>>>
the three 255 is the added pixel from me......but the result was unexpected and the output image is not similar to the input image ??!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
For BMPs, the width pixel data must be padded to a multiple of 4 pixels (not bytes!).
For 201 x 201, keep the headers as such, but pad the pixel data to be 204 x 204.