Menu

#2 RGB color swap in PIL test output

open
nobody
None
5
2007-10-03
2007-10-03
No

I'm on Windows XP SP2, running Python 2.4.3 - Enthought Edition 1.0.0.

test.py in FreePythonPy 1.4.0 produces the image out_freeimageToPil.png with Red and Blue colors swapped.

I tried first FreeImagePy 1.3.0 with the enclosed DLL version 3.9.0. Then I upgraded to version 1.4.0 and separately installed FreeImage DLL version 3.9.3.

All versions of FreeImagePy and FreeImage.dll show the same error.

I'm running PIL version 1.1.6.

Discussion

  • Harry Parker

    Harry Parker - 2007-11-14

    Logged In: YES
    user_id=1369593
    Originator: YES

    Today I reran the test with the current CVS version of FreeImage. (I used the free version of Visual C++ to compile it. See the FreeImage Help forum entry, "Visual C++ 2005 Express Edition support?" for instructions.)
    With this version of FreeImage, the colors are still reversed AND the image is mirrored upside down!

    Has anyone else seen this behavior?

     
  • Michele Petrazzo

    The mirror problem now are solved into version 2.0, but the color swapped no... I tried a lot of solutions, but no one works. :(

     

Log in to post a comment.