From xemacs-m  Wed Feb 12 20:37:53 1997
Received: from wmperry.in.aventail.com (root@wmperry.oz.net [207.13.185.53])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id UAA19463
	for <xemacs-beta@xemacs.org>; Wed, 12 Feb 1997 20:37:50 -0600 (CST)
Received: (from wmperry@localhost) by wmperry.in.aventail.com (8.7.6/8.7.3) id TAA03571; Tue, 11 Feb 1997 19:59:04 -0800
Date: Tue, 11 Feb 1997 19:59:04 -0800
Message-Id: <199702120359.TAA03571@wmperry.in.aventail.com>
From: "William M. Perry" <wmperry@aventail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
To: Steven L Baur <steve@miranova.com>
Cc: xemacs-beta@xemacs.org
Subject: Re: PNG images, has anyone seen one in XEmacs?
In-Reply-To: <m2vi7yyfbi.fsf@altair.xemacs.org>
References: <m2g1z2zyui.fsf@altair.xemacs.org>
	<199702112359.SAA24126@fhat.stat.sc.edu>
	<m2vi7yyfbi.fsf@altair.xemacs.org>
Errors-to: wmperry@aventail.com
Reply-to: wmperry@aventail.com
X-Face: O~Rn;(l][/-o1sALg4A@xpE:9-"'IR[%;,,!m7</SYF`{vYQ(&RI1&EiH[FvT;J}@f!4kfz
 x_!Y#=y{Uuj9GvUi=cPuajQ(Z42R[wE@{G,sn$qGr5g/wnb*"*ktI+,CD}1Z'wxrM2ag-r0p5I6\nA
 [WJopW_J.WY;

Steven L. Baur writes:
>Anthony Rossini writes:
>
>>>>>>> "sb" == Steven L Baur <steve@miranova.com> writes:
>sb> My question is this, has anyone ever seen a PNG image in
>sb> XEmacs?  As near as I can tell the support is 100% broken.
>
>> I copied that to http://www.stat.sc.edu/~rossini/images/test.png 
>> and read it into XEmacs via W3 (on the page:
>> 	http://www.stat.sc.edu/~rossini/images/
>> )
>
>Have you verified your server is returning image/png MIME type?
>
>> It's not broken, at least in W3... (this is 3.0.57, XEmacs 20.0, with
>> mule support, built under X11R6.3)
>
>[Cut & pasted, (featurep 'png) -> t]
>
>Reading [image/png]... 762 bytes of 135k (1%)
>Passing to viewer showpicture /tmp/url5010.png 
>
>NOTE: TO MAKE THE PICTURE WINDOW GO AWAY, JUST TYPE q IN IT.
>==> TO SAVE THIS IMAGE, COPY THE FILE /tmp/url5010.png BEFORE EXITING

What would you expect Emacs-W3 to do?  Looks like you didn't use this as
the target of an inlined image, so w3 passed it off to whatever your
default image viewer is.

Perhaps a vote on whether W3 should handle all these by default like
netscape and show them inline when possible?  I'd hate to chew up colormaps
like that though.  PNG support currently uses a static 6x6x6 colormap,
which is bad bad bad on 256 color screens (216 colors :)

-Bill P.

