|
From: <br...@ph...> - 2006-06-21 20:45:24
|
Ethan A Merritt wrote:
> "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 Windows,
>> with the CR/LF, the following may be dogdy in some way:
>>
>> if (!i_line) {i_line = ASCII_PER_LINE; *encoded_image_ptr++ = '\n';}
Only if the file was opened in the wrong mode. I'm reasonably sure
gnuplot doesn't get this so spectactularly wrong.
The most likely explanation is that the binary data files got mangled on
the way from CVS to Mojca's Windows box, because some tool though it had
to convert Unix to Microsoft style linebreaks (cygwin CVS to a text-mode
mounted file system, or similar).
|