[Gtkradiant] [Bug 900] image plugin puts garbage in alpha component of .jpg files

gtkradiant@zerowing.idsoftware.com gtkradiant@zerowing.idsoftware.com
Sun, 02 Nov 2003 20:34:46 -0600


http://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=900

ydnar@shaderlab.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From ydnar@shaderlab.com  2003-11-02 20:34 -------
Fixed by setting alpha to 255 (ignoring input alpha, which is garbage data) in
j_putRGBAScanline() in jpeg.cpp.

This fix allows JPEG images to work properly with qer_trans and doesn't bork Q3Map2.

Need to overhaul image loading in general...