#185 PNG writting problem on Linux

open
nobody
None
5
2009-08-31
2009-08-31
Karl Phillip
No

Hello,

I just wrote a small application that reads a PNG file from the disk, converts it to gray and finally saves it to another PNG file.

The application runs without crashes but the output image is very ... "greenysh" (there's too much green)

I'm attaching the source-code, compile it with: g++ devil_load_img.cpp -o app -lIL

Thanks.

Discussion

  • Karl Phillip
    Karl Phillip
    2009-08-31

    Grayscale application using PNG

     
    Attachments