Issue150

classification
Title gif display problem
Type Module
Severity Platform
Keywords
explanation
process
These optional controls are only of interest to committers and tracker administrators.
Status chatting   Reason
Superseder   Submitted 2007-10-31.02:28:32
Priority   Assigned To
Nosy List  

Created on 2008-01-19.06:43:01 by miavia, last changed 2008-01-19.06:43:01 by xemacweb.

Files
File name Uploaded Type Edit Remove
image001.gif miavia, 2008-01-19.06:43:01 image/gif
image001.gif.txt miavia, 2008-01-19.06:43:01 text/plain
images.sh xemacweb, 2008-01-19.06:43:01 application/x-shellscript
unnamed miavia, 2008-01-19.06:43:01 text/plain
unnamed miavia, 2008-01-19.06:43:01 text/plain
unnamed xemacweb, 2008-01-19.06:43:01 text/plain
Messages
msg213 [hidden] ([hidden]) Date: 2008-01-19.06:43:01
  Message-ID: <20071103005943.BEF6999EBD@mprdmxin.myway.com>
me> Inline display of certain gif images produced by Microsoft Office/Outlook, ..., seem to have an incorrect color map, displaying most as a black/faint image.
adrian> I have no trouble viewing that gif inline via Gnus mail reader.
I have no trouble seeing it, but the colors are wrong. Mostly these images come through the mail and I read them with mh-e (8.03), which uses gnus to handle MIME, I think.
I just fired up "xemacs --vanilla" and did a find file on the offending file and it come up with pink background, when it should be white (other colors may me messed up too).  No gnus, no mh-e, straight opening of the file.
If I open the file with ImageMagick and save it back as gif and open that one with xemacs, the file is now "fixed" and displayed properly. See bad.gif and good.gif in the attached sh archive. 

_______________________________________________
No banners. No pop-ups. No kidding.
Make My Way  your home on the Web - http://www.myway.com
msg212 [hidden] ([hidden]) Date: 2008-01-19.06:43:01
  Message-ID: <18219.19773.106556.462417@cerise.gclements.plus.com>
Mia Via wrote:

> Inline display of certain gif images produced by Microsoft
> Office/Outlook, like the one attached here, seem to have an incorrect
> color map, displaying most as a black/faint image.
> 
> Something may be non-standard with those images, as XV also has
> trouble displaying them, complaining that the file is truncated. 
> However, ImageMagick and the Gimp have no problems. The files identify
> themselves as GIF87a, supported by XEmacs and XV, but still something
> is wrong.

FWIW, if I do "C-x C-f image001.gif" repeatedly, I get a different
palette every time. Likewise if I keep hitting D in VM (bound to
vm-decode-mime-message).

Also, gifclrmp (from giflib) segfaults, as does giftext with any
option except -r (dump raw data).
msg211 [hidden] ([hidden]) Date: 2008-01-19.06:43:01
  Message-ID: <20071031143005.84F66676FE@mprdmxin.myway.com>
Sample image attached base64 encoded via mmencode

_______________________________________________
No banners. No pop-ups. No kidding.
Make My Way  your home on the Web - http://www.myway.com
msg210 [hidden] ([hidden]) Date: 2008-01-19.06:43:01
  Message-ID: <20071031022833.06E7E467E3@mprdmxin.myway.com>
Inline display of certain gif images produced by Microsoft Office/Outlook, like the one attached here, seem to have an incorrect color map, displaying most as a black/faint image.
Something may be non-standard with those images, as XV also has trouble displaying them, complaining that the file is truncated.  However, ImageMagick and the Gimp have no problems.  The files identify themselves as GIF87a, supported by XEmacs and XV, but still something is wrong.
Any way to fix this?  Point the glyph code to some other translator?

_______________________________________________
No banners. No pop-ups. No kidding.
Make My Way  your home on the Web - http://www.myway.com
History
Date User Action Args
2008-01-19 06:43:01xemacwebsetfiles: + images.sh, unnamed
messages: + msg213
2008-01-19 06:43:01glynnsetmessages: + msg212
2008-01-19 06:43:01miaviasetfiles: + image001.gif.txt, unnamed
status: new -> chatting
messages: + msg211
2008-01-19 06:43:01miaviacreate