During the saving process, instead of copying a line of the pass image to a temporary array, along with the extra bytes needed for proper alignment, and then writing it into the output file; it writes the line from the image and the extra bytes for proper alignment directly into the file.
Closes #644
These changes optimize the image saving function in src/file/bmp_image.cpp.
During the saving process, instead of copying a line of the pass image to a temporary array, along with the extra bytes needed for proper alignment, and then writing it into the output file; it writes the line from the image and the extra bytes for proper alignment directly into the file.