emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Several suggestions for image support


From: Jason Rumney
Subject: Re: Several suggestions for image support
Date: Fri, 16 Apr 2004 16:18:06 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040113


Can you try to change in image.c around line 5454:

          frame_background.red = 256 * GetRValue (color);
          frame_background.green = 256 * GetGValue (color);
          frame_background.blue = 256 * GetBValue (color);

to

          frame_background.red = GetRValue (color);
          frame_background.green = GetGValue (color);
          frame_background.blue = GetBValue (color);

Yes, that (in combination with setting PNG_BG_COLOR_SHIFT to 8) fixed it.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]