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
Re: PNGs without X? [message #33837 is a reply to message #33759] Fri, 31 January 2003 11:05 Go to previous messageGo to previous message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
Dr. Sven Geier wrote:


Dear Sven,

did you have thougt about the trick printing into a ps file and then using
convert or pstoimg (which I prefer) to get the ps file converted in whatever
you want. (You have an unix system so you can use these routines with a
spawn too)

This method if it's suitable for you has another effort too. The
postcriptfonts are much better readable as the image fonts.


regards

Reimar



>
> 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
>
>

--
Forschungszentrum Juelich
email: R.Bauer@fz-juelich.de
http://www.fz-juelich.de/icg/icg-i/
============================================================ ======
a IDL library at ForschungsZentrum Juelich
http://www.fz-juelich.de/icg/icg-i/idl_icglib/idl_lib_intro. html
[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: Thu Oct 09 21:49:09 PDT 2025

Total time taken to generate the page: 0.71770 seconds