Hello!
I'm facing a strange problem with QPainter::drawPixmap usage. To use my debug situation, I downloaded a common-random bitmap (.bmp) from the web into my PC and put it in a subdirectory. If I call QPixmap::drawPixmap with a unaltered QPixmap created with the bitmap's file, it is drawed correctly on screen.
The problem is that I need to do some edittings on it and for that I'm using GIMP (I'm working in Linux). So, if I do such edittings (and, in accordance to my tests, actually any edit at all with GIMP) and then I try to print the image again using the same code, I get a blue-unchanged image instead o.O
Here is a print screen comparing the changed file with the original one:
asdasda.png
And here a print of the two files in the system folder, in the same order:
ddddd.png
At least visually one can see that is not GIMP who is distorting the image (and I actually found no reason for believing so).
I'm glad for any help in trying to solve this problem!
Momergil
------
Edit: Now I did other tests and I'm beginning to think that it's GIMP fault (while I don't have here any other image editor for linux to do the final checking and don't know which to download). Here are two other images comparing what I got and what Qt shows:
A.png
And in the directory:
B.png
The most interesting here is the last files, when I just opened the image in GIMP and clicked int File->Overwrite (without any edit) and this was enough for QPainter to draw the pixmap with that "blue color effect" :/
Bookmarks