|
From: Steve C. <sc...@ja...> - 2009-10-30 21:17:06
|
Steve Cohen wrote: > t.sefzick wrote: >> On Fri, Oct 30, 2009 at 03:31:34PM +0100, Steve Cohen wrote: >>> Sorry to keep bugging you but I feel that I am on the cusp of getting >>> something running that's really useful and it's driving me crazy that >>> I'm not quite there. >>> >>> Speaking now of Ubuntu, where I have complete control of the system, I >>> wonder why gif, png, and jpeg appear to be supported, yet do not >>> generate usable files. I don't know what "libgd with gif support" etc. >>> actually means. What form does this "support" take? >> >> some 'libgd' versions came without the ability to produce gif-files >> due to licence problems. this has changed now, so actual 'libgd' >> versions >> are able to produce gif-files (that's meant by 'support'). >> the configure-program searches for the installed gd-lib and depending >> on it's capabilities prepares the compilation process to compile >> the png-, jpeg- and (eventually) gif-terminal. >> >> what du you mean by 'do not generate usable files'? >> do the following gnuplot-commands >> >> set term gif >> set out 'tmp.gif' >> test >> set out >> >> not produce a readable gif-file? >> > > correct. > "Could not load image 'getcallstats.gif'. File does not appear to be a > GIF file" > "Could not load image 'getcallstats.png'. Fatal error reading PNG > image file: Not a PNG file" > "Could not load image 'getcallstats.jpeg'. Error interpreting JPEG > image file (Not a JPEG file: starts with 0x0a 0x23). > > These were all generated by gnuplot 4.5 built from CVS on Ubuntu 9.04. > Additional results. I have now been able to compile a version of gnuplot 4.5 on RHEL 5.3 with the approprate libgd support. However results are unreliable. Sometimes viable GIF and JPEG files are created, other times the files created are rejected by viewer apps. Since these results are seen on two different platforms, I wonder if it is a bug in 4.5? |