Po0ka
Member
I have some trouble generating the corresponding image to the BMP format.
The image is displayable but highly distorted for an unknown reason.
Here is a rescaled example:
https://dl.dropboxusercontent.com/s/m8t3s2i2o8lug5l/distorted.bmp?dl=0
So anyone that masters C++ and has already worked with BMP generation would be great.
I've tried alot of things and commented the most promising ones, but yet i always get such image.
I heard about the padding issues for the BMP file, but 6114 and 4096 are both divisible by 4, so i guess that's not the problem.
Well, PM me or post here if you are willing to help.
Thanks.
(Code sent by PM)
The image is displayable but highly distorted for an unknown reason.
Here is a rescaled example:
https://dl.dropboxusercontent.com/s/m8t3s2i2o8lug5l/distorted.bmp?dl=0
So anyone that masters C++ and has already worked with BMP generation would be great.
I've tried alot of things and commented the most promising ones, but yet i always get such image.
I heard about the padding issues for the BMP file, but 6114 and 4096 are both divisible by 4, so i guess that's not the problem.
Well, PM me or post here if you are willing to help.
Thanks.
(Code sent by PM)