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


Groups > comp.graphics.apps.gnuplot > #1844

Re: "This copy of gnuplot cannot read png/gif/jpeg images" problem

From sfeam <sfeam@users.sourceforge.net>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: "This copy of gnuplot cannot read png/gif/jpeg images" problem
Followup-To comp.graphics.apps.gnuplot
Date 2013-05-20 22:15 -0700
Organization gnuplot development team
Message-ID <knevmi$3bu$1@dont-email.me> (permalink)
References <8f17c8c2-3703-4eb9-ba8b-907cd50127e1@googlegroups.com>

Followups directed to: comp.graphics.apps.gnuplot

Show all headers | View raw


Rich Cook wrote:

> Hello, I am in charge of installing and maintaining gnuplot on our
> clusters and am by no means an expert.  Our user has reported the
> following is occurring:
> 
> gnuplot> plot 'test.png' binary filetype=png with rgbimage
>          This copy of gnuplot cannot read png/gif/jpeg images
> 
> 
> After googling a bit, I have looked in the build log for PNG entrails
> and see the following:
> 
> 
> checking for gdlib-config... /usr/bin/gdlib-config
> checking for gdImageCreateTrueColor in -lgd... yes
> checking gd.h usability... yes
> checking gd.h presence... yes
> checking for gd.h... yes
> checking for gdImageGif in -lgd... yes
> checking for gdImageGifAnimBegin in -lgd... yes
> checking for gdImageJpeg in -lgd... yes
> checking for gdImageStringFT in -lgd... yes
> checking for gdImagePng in -lgd... yes
> 
> ...
> 
>   jpeg terminal: yes
>   gif terminal: yes (with animated gif)
>   png terminal: yes
>     (jpeg, gif and png terminals can use TTF fonts)
>   pdf terminal: no (requires libpdf)
> ...
> 
>   cairo-based pdf and png terminals: yes
> 
> 
> 
> I don';t understand why gnuplot thinks it cannot handle png files. 
> Can someone help me debug this one? Thanks.

That seems odd.  Please report the output from
  gnuplot -e "show version long"

There should be an entry  +GD_PNG
If this is present then it indicates that indeed the program should
be able to read png files.  If it's missing then I guess something
must have gone wrong with the configure+build at a later stage after
it had already reported that it was going to include png support.
You might have a look in config.log for error messages that mention
libgd. But really the info you show is self-contradictory so I
don't have a good guess at what could be wrong.

	Ethan

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

"This copy of gnuplot cannot read png/gif/jpeg images" problem Rich Cook <wealthychef@gmail.com> - 2013-05-20 19:15 -0700
  Re: "This copy of gnuplot cannot read png/gif/jpeg images" problem Rich Cook <wealthychef@gmail.com> - 2013-05-20 19:17 -0700
  Re: "This copy of gnuplot cannot read png/gif/jpeg images" problem sfeam <sfeam@users.sourceforge.net> - 2013-05-20 22:15 -0700
    Re: "This copy of gnuplot cannot read png/gif/jpeg images" problem Rich Cook <wealthychef@gmail.com> - 2013-05-21 09:13 -0700
      Re: "This copy of gnuplot cannot read png/gif/jpeg images" problem Rich Cook <wealthychef@gmail.com> - 2013-05-21 09:16 -0700
        Re: "This copy of gnuplot cannot read png/gif/jpeg images" problem Rich Cook <wealthychef@gmail.com> - 2013-05-21 09:49 -0700
      Re: "This copy of gnuplot cannot read png/gif/jpeg images" problem sfeam <sfeam@users.sourceforge.net> - 2013-05-21 11:52 -0700
        Re: "This copy of gnuplot cannot read png/gif/jpeg images" problem Rich Cook <wealthychef@gmail.com> - 2013-05-23 09:44 -0700
  Re: "This copy of gnuplot cannot read png/gif/jpeg images" problem ab <ab.3942@googlemail.com> - 2013-05-22 00:20 -0700

csiph-web