|
From: Daniel J S. <dan...@ie...> - 2005-12-30 08:49:19
|
Almost!!! I forgot that the borders were present. Setting those to zero, matching the output size to the image resolution and allowing autoscaling darn near gives a perfect translation of an image one-to-one; PNG and GIF. There is only one slight problem. Although the x-dimension is 20 pixels, the y-dimension is only 19 pixels. I'm going to consider that a bug and put together a patch. (So Petr, don't attempt a fix on the other problems I noted. I'll address those as well.) When I'm done, I will also put together a FAQ entry on how to do this. And maybe even an animated GIF demo. (Perhaps a bunch of little images plotted in gnuplot and some text saying that they will be put into an animated GIF and the user should view the created GIF file in gthumb, RealPlayer or animate.) This is great! Dan Ethan A Merritt wrote: > On Thursday 29 December 2005 10:43 pm, you wrote: > >>Their comment is mplayer is good, GIF not good. > > > What I said :-) > > >>mplayer/mencoder >> >>o Can't step through frame by frame (why I don't know) > > > True. I've missed this also. > > >>o The GUI or "skin" adds nothing really--waste of time. > > > Everyone agrees with you there. I don't know anyone who uses the gui. > > >>I see there is a format called MNG; like with PNG there is a libmng >>library. (Something called JNG too.) Maybe a gnuplot MNG terminal is >>the way to go with this sort of thing. > > > I looked into that already. > The problem is that MNG is not implemented in the standard PNG library. > It's not supported by libgd either. In fact the only general tool I > found that supports it is ImageMagick. So we'd either have to roll our own, > losing all the nice features of the libgd driver, or else try to compose > single frames using libgd and then transfer the resulting data structures > into libMagick as we build up the animation. And then you'd have the > problem that almost nothing out there will play it back other than > ImageMagick itself. There doesn't seem to be any big race to support MNG, does there? > > Ethan > -- Dan Sebald phone: 608 256 7718 email: daniel DOT sebald AT ieee DOT org URL: http://webpages DOT charter DOT net/dsebald/ |