C++: rotate image BMP
问题 I have some serious problems with this stupid rotation function of a BMP image... I've already post the same question now 2 days ago, I know... But no one could make me to understand what's happening here and how can I solve this issue. EDIT: that image will be rotated just with 90 degrees multipler. In this moment I'm trying to rotate this image with an 180 degree And here it's my result until this moment Here it's my code: #include <algorithm> #include <fstream> #include <math.h> #include