From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <7334ec13de23c99f4ca85d53ae24df5d@quanstro.net> Date: Sun, 9 Jul 2006 18:19:38 -0500 From: quanstro@quanstro.net To: 9fans@cse.psu.edu Subject: Re: [9fans] page/png bug In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: 7aedc2b4-ead1-11e9-9d60-3106f5b1d025 russ, i posted a little bit on this. the problem is these two lines in png.c: 165 if(defaultcolor && screen->depth>8 && outchan==CMAP8) 166 outchan = RGB24; if they are commented out (and i think if you replace RGB24 with RGBA32), the image appears correctly. using the v flag also works (for the wrong reasons). the problem is in the conversion from the ABGR rawimage to RGB24. i hadn't narrowed down where the problem occurs. - erik On Sun Jul 9 13:55:28 CDT 2006, rsc@swtch.com wrote: > Would you mind describing the bug beyond > saying "look at this file"? > > Russ