|
From: Ethan A M. <merritt@u.washington.edu> - 2005-11-12 23:11:51
|
On Saturday 12 November 2005 02:54 pm, Daniel J Sebald wrote: > Harald Harders wrote: > > On Fri, 11 Nov 2005, Daniel J Sebald wrote: > >>>Really? You have code that reads in a jpeg file? > >> > > First, let me preface this to say that we shouldn't embark on adding > support for a lot of images too soon without discussion. We don't want > to get a bloated plotting program. Indeed. In fact, we should not add any code at all to gnuplot if the conversion can be done externally. And it can, easily. Since ImageMagick can convert almost anything to a raw RGB stream, I'd think you can do it now with no extra code at all: plot "< convert pic.jpeg rgb:-" with image If you need to tweak the code to make that work, then please do so and post a patch. If it works already, just contribute some documentation. -- Ethan A Merritt Biomolecular Structure Center University of Washington, Seattle 98195-7742 |