Ticket #292 (new defect)

Opened 14 years ago

png_set_gray_1_2_4_to_8 not found while compiling

Reported by: petraszd Owned by: robby
Priority: major Milestone:
Component: _default-component Keywords: libpng, wxcommons, compile
Cc: Version:
Racket Version: 5.0.1

Description

src/wxcommons/src/wxcommon/wxJPEG.cxx

wx_read_png function 729 line.

My computer:

OpenSuse? 11.3
libpng 1.4.3

I have solve problem by changing that line from:

png_set_gray_1_2_4_to_8(png_ptr);


to:

png_set_expand_gray_1_2_4_to_8(png_ptr);

Works for me, but I am not sure if it works for everyone.

Note: See TracTickets for help on using tickets.