|
From: Daniel J S. <dan...@ie...> - 2006-06-21 20:50:22
|
Hans-Bernhard Br=F6ker wrote:
> Ethan A Merritt wrote:
>=20
>>"Mojca Miklavec" <moj...@gm...>
>>has reported that the "with image" demo produces very strange
>>output on his Windows system.
>>
>>On Wednesday 21 June 2006 08:29 am, Daniel J Sebald wrote:
>>
>>>I'm fairly certain that this bug has to do with the fact that in Windo=
ws,=20
>>>with the CR/LF, the following may be dogdy in some way:=20
>>>
>>> if (!i_line) {i_line =3D ASCII_PER_LINE; *encoded_image_ptr++ =3D =
'\n';}
>=20
>=20
> Only if the file was opened in the wrong mode. I'm reasonably sure=20
> gnuplot doesn't get this so spectactularly wrong.
>=20
> The most likely explanation is that the binary data files got mangled o=
n=20
> the way from CVS to Mojca's Windows box, because some tool though it ha=
d=20
> to convert Unix to Microsoft style linebreaks (cygwin CVS to a text-mod=
e=20
> mounted file system, or similar).
Ahead of you, but good assessment! (I won't say "guess".) About 10 minu=
tes ago I emailed:
> Does the attached PNG look familiar?
>=20
> The size of the file is incorrect:
>=20
> -rw-r--r-- 1 sebald users 49225 Sep 1 2004 blutux.rgb
>=20
> The image is supposed to be 128 x 128 x 3 =3D 49152.=20
|