Page 1 of 1

Bug in TXT reading?

Posted: 2010-06-08T11:49:37-07:00
by Drarakel

Code: Select all

convert rose: rose.txt
convert rose.txt rose2.png
Results in this image:
Image
The TXT file itself is fine, but it seems that only half of the image height is recreated with TXT: as input.
IIRC, this error came with IM v6.6.2.0 (versions from before are ok for me).

Re: Bug in TXT reading?

Posted: 2010-06-08T11:54:47-07:00
by magick
We cannot reproduce the problem you posted. We're using ImageMagick 6.6.2-3.

Re: Bug in TXT reading?

Posted: 2010-06-08T14:11:31-07:00
by Drarakel
It seems to be a problem only in Windows. I had tested various versions - but all on Windows XP.
If I convert rose.txt to a Unix TXT format, ImageMagick can read it again.

Perhaps you can reproduce it with my Windows 'rose.txt': (Edit: Link deleted)
(In a text editor, it should be identical to your rose.txt.)

I can use a very simple image (with a current Q16 version - in Windows!):
convert xc:red txt:- | convert - txt:
# ImageMagick pixel enumeration: 1,1,65535,rgb
0,0: (65535,65535,65535) #FFFFFFFFFFFF white

Older versions show the correct values:
convert xc:red txt:- | convert - txt:
# ImageMagick pixel enumeration: 1,1,65535,rgb
0,0: (65535, 0, 0) #FFFF00000000 red

Re: Bug in TXT reading?

Posted: 2010-06-08T18:07:08-07:00
by magick
We can reproduce the problem you posted and have a patch in ImageMagick 6.6.2-4 Beta available by sometime tomorrow. Thanks for the problem report.

Re: Bug in TXT reading?

Posted: 2010-06-09T12:53:13-07:00
by Drarakel
Thank you!