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

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
Flakessss

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

Post 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.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

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

Post 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.
Flakessss

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

Post by Flakessss »

Could you please try with the file created by GIMP?
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

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

Post 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.
Flakessss

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

Post by Flakessss »

Thank you too!
Post Reply