comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » PNGs without X?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
PNGs without X? [message #33759] Tue, 21 January 2003 11:57 Go to previous message
Dr. Sven Geier is currently offline  Dr. Sven Geier
Messages: 2
Registered: January 2003
Junior Member
Heya all

I have a routine that gathers data from various places, then plots it, then
uses tvrd(/true) to read the plot into an array and then writes it out as a
.png graphics file. This all works fine so far.

Since I rarely ever look at the graphs as they're plotted (the pngs go to a
web-directory) I switched the plotting to a pixmap, i.e. the idl-process
now opens its own window with the /pixmap parameter (and also xsize and
ysize and such) and thus the whole shebang works quite nicely without ever
showing anything on the screen.

Now in the process of automation I'd like to move the whole operation to a
server box that does not have X running. Unfortunately it turns out that
these "pixmaps" are *X*-pixmaps and that I can't open them without X.

So now I'm looking for some way to plot data into/onto a PNG (or GIF or JPG
or whatever) without having an actual graphic server running. I played
around with plotting into a PS device and using ghostscript to convert that
into a JPG, but not only do the colors not come out right (the usual PS
stuff) but also the fonts are all off (the !P.font=0 for the 'x' devive is
designed to be readable on a 400x400 window, the ps-fonts become illegible
when I reduce a PS-plot to that resolution) and similar problems.

Anybody know how to do a standard run-of-the mill X-type plot into a file or
into an array or into RAM or such?

Thanks in advance...

-- SG


--
--
Catch a couple Z's before responding...
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Change to exclusive buttons in 5.6?
Next Topic: Large dots in Postscript output

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 18:11:07 PDT 2025

Total time taken to generate the page: 0.00555 seconds