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

Home » Public Forums » archive » Re: 24 bit color without connecting to X server
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: 24 bit color without connecting to X server [message #18663 is a reply to message #18660] Fri, 21 January 2000 00:00 Go to previous message
John-David T. Smith is currently offline  John-David T. Smith
Messages: 384
Registered: January 2000
Senior Member
whdaffer@my-deja.com wrote:
>
> Gentlefolk;
>
> (Dave, I'm CCing this to you because you are the 'color man!')
>
> On a X windows system, does anyone know how to do 24 bit color without
> connecting to the X server? All the TVs require true=[1|2|3] and this
> keyword only works to 'windows', not the Z buffer.
>
> I have a product I routinely make that requires me to do the following
> sort of thing.
>
> tv,image
> im=tvrd()
> mask 'im' with other images to create a composite image im2
> tv, im2
>
> Overplot vector graphics on im2.
>
> final_im=tvrd()
>
> write_jpeg, file, final_im
>
> In order to do all these 'tv's in 24 bit color, I have to connect to
> the X server. The Z buffer is only 8 bits deep. I realize that I could
> break everything done into its separate r/g/b planes, and then do each
> separately in the Z buffer, but that would be a pain for the vector
> graphics. I was just wondering if someone had a solution that involved
> less drudgery?
>
> My major motivation is the fact that this routine is run out of a cron
> job. If I'm not logged in on console when this job runs, the connection
> to the X server fails.
>
> So, maybe there's an alternative, a way to connect to the X server
> when I'm not logged in on console.
>

How about plotting directly to postscript, and then converting the postscript to
JPEG externally? None of the tvrd's will work, but there are often ways around
using those.

JD

--
J.D. Smith |*| WORK: (607) 255-5842
Cornell University Dept. of Astronomy |*| (607) 255-6263
304 Space Sciences Bldg. |*| FAX: (607) 255-5875
Ithaca, NY 14853 |*|
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: xyz triplet array to a "flat" 2D array?
Next Topic: xyz triplet array to a "flat" 2D array?

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

Current Time: Fri Oct 10 05:44:40 PDT 2025

Total time taken to generate the page: 0.56033 seconds