Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #2955 > unrolled thread

jpeg terminal on windows broken?

Started byKarl-Friedrich Ratzsch <mail.kfr@gmx.net>
First post2015-06-25 23:49 +0200
Last post2015-07-14 01:05 -0700
Articles 10 — 4 participants

Back to article view | Back to comp.graphics.apps.gnuplot


Contents

  jpeg terminal on windows broken? Karl-Friedrich Ratzsch <mail.kfr@gmx.net> - 2015-06-25 23:49 +0200
    Re: jpeg terminal on windows broken? Jörg Buchholz <bookwood4new@freenet.de> - 2015-06-29 07:12 +0200
    Re: jpeg terminal on windows broken? Jörg Buchholz <bookwood4new@freenet.de> - 2015-07-08 09:21 +0200
      Re: jpeg terminal on windows broken? Jörg Buchholz <bookwood4new@freenet.de> - 2015-07-08 11:17 +0200
        Re: jpeg terminal on windows broken? Karl Ratzsch <mail.kfr@gmx.net> - 2015-07-08 17:06 +0200
          Re: jpeg terminal on windows broken? Jörg Buchholz <bookwood4new@freenet.de> - 2015-07-08 18:25 +0200
            Re: jpeg terminal on windows broken? Jörg Buchholz <bookwood4new@freenet.de> - 2015-07-09 07:07 +0200
            Re: jpeg terminal on windows broken? Jörg Buchholz <bookwood4new@freenet.de> - 2015-07-09 07:28 +0200
              Re: jpeg terminal on windows broken? tmacchant3@yahoo.co.jp - 2015-07-13 16:05 -0700
                Re: jpeg terminal on windows broken? tmacchant3@yahoo.co.jp - 2015-07-14 01:05 -0700

#2955 — jpeg terminal on windows broken?

FromKarl-Friedrich Ratzsch <mail.kfr@gmx.net>
Date2015-06-25 23:49 +0200
Subjectjpeg terminal on windows broken?
Message-ID<mmht0q$ail$1@solani.org>
I only get an empty file when plotting the the libgd-based jpeg
terminal.

That's for gp5.0.1 and 4.6.6 on windows. 4.6.0 works, though, and so
do 5.0 and 5.1 on linux. Does anybody else see this?

    set term jpeg; set out 'test.jpg'
    plot x
    set out; set term wxt

There's no errormessages.

[toc] | [next] | [standalone]


#2957

FromJörg Buchholz <bookwood4new@freenet.de>
Date2015-06-29 07:12 +0200
Message-ID<mmqk4n$524$1@newsserver.rrzn.uni-hannover.de>
In reply to#2955
On 25.06.2015 23:49, Karl-Friedrich Ratzsch wrote:
> I only get an empty file when plotting the the libgd-based jpeg
> terminal.
>
> That's for gp5.0.1 and 4.6.6 on windows. 4.6.0 works, though, and so
> do 5.0 and 5.1 on linux. Does anybody else see this?
>
>      set term jpeg; set out 'test.jpg'
>      plot x
>      set out; set term wxt
>
> There's no errormessages.


In 5.0.1 64bit the jpeg file is 0 kb. 5.0.0 on Win works.

Jörg

[toc] | [prev] | [next] | [standalone]


#2971

FromJörg Buchholz <bookwood4new@freenet.de>
Date2015-07-08 09:21 +0200
Message-ID<mnij1h$hf4$1@newsserver.rrzn.uni-hannover.de>
In reply to#2955
On 25.06.2015 23:49, Karl-Friedrich Ratzsch wrote:
> I only get an empty file when plotting the the libgd-based jpeg
> terminal.
>
> That's for gp5.0.1 and 4.6.6 on windows. 4.6.0 works, though, and so
> do 5.0 and 5.1 on linux. Does anybody else see this?
>
>      set term jpeg; set out 'test.jpg'
>      plot x
>      set out; set term wxt
>
> There's no errormessages.
>
with gnuplot.exe instead of wgnuplot.exe (WIN 7 / gnuplot 5.0.1) there 
is an errormessage.

"gd-jpeg: JPEG library reports unrecoverable error: JPEG parameter 
struct mismatch: library thinks size is 584, caller expects 568"

I think the bug is in the jpeg-lib and not in the libgd.

Jörg

[toc] | [prev] | [next] | [standalone]


#2972

FromJörg Buchholz <bookwood4new@freenet.de>
Date2015-07-08 11:17 +0200
Message-ID<mnipql$jhg$1@newsserver.rrzn.uni-hannover.de>
In reply to#2971
On 08.07.2015 09:21, Jörg Buchholz wrote:
> On 25.06.2015 23:49, Karl-Friedrich Ratzsch wrote:
>> I only get an empty file when plotting the the libgd-based jpeg
>> terminal.
>>
>> That's for gp5.0.1 and 4.6.6 on windows. 4.6.0 works, though, and so
>> do 5.0 and 5.1 on linux. Does anybody else see this?
>>
>>      set term jpeg; set out 'test.jpg'
>>      plot x
>>      set out; set term wxt
>>
>> There's no errormessages.
>>
> with gnuplot.exe instead of wgnuplot.exe (WIN 7 / gnuplot 5.0.1) there
> is an errormessage.
>
> "gd-jpeg: JPEG library reports unrecoverable error: JPEG parameter
> struct mismatch: library thinks size is 584, caller expects 568"
>
> I think the bug is in the jpeg-lib and not in the libgd.

I have done a test with a different libjpeg-9.dll and it works. Now 
there is a jpg outputfile that can be displayed normal.


Jörg

[toc] | [prev] | [next] | [standalone]


#2975

FromKarl Ratzsch <mail.kfr@gmx.net>
Date2015-07-08 17:06 +0200
Message-ID<mnje9p$v39$1@solani.org>
In reply to#2972
Am 08.07.2015 um 11:17 schrieb Jörg Buchholz:
> 
> I have done a test with a different libjpeg-9.dll and it works. Now 
> there is a jpg outputfile that can be displayed normal.
> 

Any idea about the exact version? I wanted to add this to the bug report
on sf.net.

https://sourceforge.net/p/gnuplot/bugs/1643/

[toc] | [prev] | [next] | [standalone]


#2977

FromJörg Buchholz <bookwood4new@freenet.de>
Date2015-07-08 18:25 +0200
Message-ID<mnjirn$7kl$1@dont-email.me>
In reply to#2975
On 08.07.2015 17:06, Karl Ratzsch wrote:
> Am 08.07.2015 um 11:17 schrieb Jörg Buchholz:
>>
>> I have done a test with a different libjpeg-9.dll and it works. Now
>> there is a jpg outputfile that can be displayed normal.
>>
>
> Any idea about the exact version?

I take the libjpeg-9.dll from the win64 Strawberry Perl. But not the 
latest version. I can tell you tomorrow the exact version.

Jörg

[toc] | [prev] | [next] | [standalone]


#2978

FromJörg Buchholz <bookwood4new@freenet.de>
Date2015-07-09 07:07 +0200
Message-ID<mnkvj3$8v9$1@newsserver.rrzn.uni-hannover.de>
In reply to#2977
On 08.07.2015 18:25, Jörg Buchholz wrote:
> On 08.07.2015 17:06, Karl Ratzsch wrote:
>> Am 08.07.2015 um 11:17 schrieb Jörg Buchholz:
>>>
>>> I have done a test with a different libjpeg-9.dll and it works. Now
>>> there is a jpg outputfile that can be displayed normal.
>>>
>>
>> Any idea about the exact version?
>
> I take the libjpeg-9.dll from the win64 Strawberry Perl. But not the
> latest version. I can tell you tomorrow the exact version.

The jpeg-lib comes with strawberry-perl-5.18.2.2-64bit to me. After 
installing Perl the lib is in the strawberry/c/bin directory and called 
"libjpeg-9__.dll". I copy the file into the gnuplot/bin directory and 
rename the file into "libjpeg-9.dll", first rename the original lib into 
something like "libjpeg-9.dll.bug".

The original lib from gnuplot 5.0.1 has 214 kb, the one from strawberry 
213 kb.

Jörg

[toc] | [prev] | [next] | [standalone]


#2979

FromJörg Buchholz <bookwood4new@freenet.de>
Date2015-07-09 07:28 +0200
Message-ID<mnl0ou$95m$1@newsserver.rrzn.uni-hannover.de>
In reply to#2977
On 08.07.2015 18:25, Jörg Buchholz wrote:
> On 08.07.2015 17:06, Karl Ratzsch wrote:
>> Am 08.07.2015 um 11:17 schrieb Jörg Buchholz:
>>>
>>> I have done a test with a different libjpeg-9.dll and it works. Now
>>> there is a jpg outputfile that can be displayed normal.
>>>
>>
>> Any idea about the exact version?
>
> I take the libjpeg-9.dll from the win64 Strawberry Perl. But not the
> latest version. I can tell you tomorrow the exact version.

The lib from the latest Strawberry Perl (5.22.0.1) works too.

Jörg

[toc] | [prev] | [next] | [standalone]


#2980

Fromtmacchant3@yahoo.co.jp
Date2015-07-13 16:05 -0700
Message-ID<b1a1a12e-2d34-4ae2-9eae-e49eb948e7a5@googlegroups.com>
In reply to#2979
On Thursday, July 9, 2015 at 2:27:59 PM UTC+9, Jörg Buchholz wrote:
> On 08.07.2015 18:25, Jörg Buchholz wrote:
> > On 08.07.2015 17:06, Karl Ratzsch wrote:
> >> Am 08.07.2015 um 11:17 schrieb Jörg Buchholz:
> >>>
> >>> I have done a test with a different libjpeg-9.dll and it works. Now
> >>> there is a jpg outputfile that can be displayed normal.
> >>>
> >>
> >> Any idea about the exact version?
> >
> > I take the libjpeg-9.dll from the win64 Strawberry Perl. But not the
> > latest version. I can tell you tomorrow the exact version.
> 
> The lib from the latest Strawberry Perl (5.22.0.1) works too.
> 
> Jörg

I have recreated libjpeg and libgd with patch. Now CVS binary should work.

http://gnuplot.10905.n7.nabble.com/windows-binaries-in-which-gd-jpeg-libraries-bug-are-fixed-td19622.html

http://www.tatsuromatsuoka.com/gnuplot/Eng/winbin/

As for corrected 5.0.1 and 4.6.7 are prepared and I ask them to upload to SourceForge site.

Tatsuro

[toc] | [prev] | [next] | [standalone]


#2981

Fromtmacchant3@yahoo.co.jp
Date2015-07-14 01:05 -0700
Message-ID<237f9441-7618-45d7-b1c1-62f5ee2d013f@googlegroups.com>
In reply to#2980
I have fixed jpeg library bug.
In addition, help file bug (missing figures) for 5.0.1 has been fixed.

I have update 5.0.1 binaries and upload 4.6.7 binaries.

https://sourceforge.net/projects/gnuplot/files


Note that I have update mingw complier 4.9.0 to 4.9.2.
In addition I have used libjpeg-turbo instead of libjpeg.
Therefore at the re-install (5.0.1), I recommend that you uninstall once and re-install.

Sincerely yours,

Tatsuro MATSUOKA 

[toc] | [prev] | [standalone]


Back to top | Article view | comp.graphics.apps.gnuplot


csiph-web