# HG changeset patch # User Chong Yidong # Date 1169170099 0 # Node ID d59e3f9dcf0bf98590fbcb484e1974e99ee2b66a # Parent 5b7cc1370f3fa8bdcdf0d471b0b5bf737f26e6ca Proper background color handling for pngs. diff -r 5b7cc1370f3f -r d59e3f9dcf0b etc/TODO --- a/etc/TODO Fri Jan 19 01:18:43 2007 +0000 +++ b/etc/TODO Fri Jan 19 01:28:19 2007 +0000 @@ -341,6 +341,15 @@ ** Allow unknown image types to be rendered via an external program converting them to, say, PBM (in the same way as PostScript?). +** Display images with alpha channels, such as png, with the current +background color of whatever frame it is displayed in. Currently, we +use the default background color if specified in the png file, or, if +that is unspecified, the background color of the frame in which the +image was first created. Ideally, the image should display the +background color of whichever frame it is being displayed in. The +main complication is that this will require the loading of a new image +object for each different background color. + ** Allow displaying an X window from an external program in a buffer, e.g. to render graphics from Java applets. [gerd and/or wmperry thought this was feasible.]