Page 1 of 1

Unexpected end-of-file @ xwd.c/ReadXWDImage/252

Posted: 2009-03-27T09:52:30-07:00
by Flakessss
Hello,

I have built the latest available ImageMagick-6.5.0-9:

Code: Select all

$ convert -version
Version: ImageMagick 6.5.0-9 2009-03-27
Basically I either save a screenshot from GIMP or do a dump with xwd tool. ImageMagick always gives me:

Code: Select all

Unexpected end-of-file `image.xwd' @ xwd.c/ReadXWDImage/252.

Re: Unexpected end-of-file @ xwd.c/ReadXWDImage/252

Posted: 2009-03-27T10:45:55-07:00
by magick
Unfortunately we cannot reproduce the results. We tried
  • xwd > screen.xwd
    identify screen.xwd
    screen.xwd XWD 736x632 736x632+0+0 8-bit DirectClass 1.777mb
We're using ImageMagick 6.5.0-9 under Fedora Core 11.

Re: Unexpected end-of-file @ xwd.c/ReadXWDImage/252

Posted: 2009-03-30T00:26:32-07:00
by Flakessss
Could you please try with the file created by GIMP?

Re: Unexpected end-of-file @ xwd.c/ReadXWDImage/252

Posted: 2009-03-30T06:06:06-07:00
by magick
Gimp XWD image files have a zero-length comment field. We have a patch for ImageMagick to fix the problem you reported. Look for it in the Subversion trunk by sometime tomorrow. Thanks.

Re: Unexpected end-of-file @ xwd.c/ReadXWDImage/252

Posted: 2009-03-31T03:24:25-07:00
by Flakessss
Thank you too!