Re: [pygame] Color shift when blitting

2017-11-05 Thread dejohnso
I do still have the issue with a bmp file - the pixel grabbed from the screen is different from the pixel from the image directly. What did help me was to do a convert() on the image, which I guess removes any potential alpha channel information. Using convert_alpha() on the image did not fix

Re: [pygame] Color shift when blitting

2017-11-05 Thread DR0ID
On 05.11.2017 20:37, dejohnso wrote: Hi, I am loading a background map and blitting it to the screen. Once I have done this, I am getting color values under the mouse cursor. However, I am seeing small color shifts between the image and the blitted image. For example, from the screen with th

Re: [pygame] Color shift when blitting

2017-11-05 Thread Christopher Night
In the past I've found this to be an issue with PNGs on Mac. The PNG specification apparently allows for color correction on image load, based on your display settings, which means it's going to be very inconsistent between platforms (although it should look more consistent to the eye). If you requ

[pygame] Color shift when blitting

2017-11-05 Thread dejohnso
Hi, I am loading a background map and blitting it to the screen. Once I have done this, I am getting color values under the mouse cursor. However, I am seeing small color shifts between the image and the blitted image. For example, from the screen with the background image: (103, 255, 103, 255