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

Home » Public Forums » archive » Re: color_quan(...., Cube=6) makes white white, but ...
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: color_quan(...., Cube=6) makes white white, but ... [message #30378] Fri, 26 April 2002 16:58 Go to next message
nobody@nowhere.com (S is currently offline  nobody@nowhere.com (S
Messages: 55
Registered: July 2001
Member
GDI is an acronym meaning "windows API"? So there is no way to exchange a
vector based image file with Windows if you're not _in_ Windows? reminds me of
the slogan once used by whoever marketed "Lucky Strikes"[1]: "I'd rather fight
than switch", sure is painfull, though :( !

[1] not advocating smoking or any particular tobacco product :P

On Fri, 26 Apr 2002 17:34:28 -0600, Karl Schultz
<kschultz@devnull.researchsystems.com> wrote: >
> "Steve Smith<steven_smith>" <nobody@nowhere.com> wrote in message
> news:slrnacjntg.37c.nobody@pooh.nrel.gov...
>> Is the WMF device included in the Linux version?
>
> The WMF device uses GDI, so it only runs on Windows.
>
>


--
Steve S.

steve@NOSPAMmailaps.org
remove NOSPAM before replying
Re: color_quan(...., Cube=6) makes white white, but ... [message #30379 is a reply to message #30378] Fri, 26 April 2002 16:55 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Rick Towler (rtowler@u.washington.edu) writes:

> You may also want to try David's TVREAD program. It will simplify and
> generalize the capturing of DG windows. I ended up hacking it to save 24bit
> png files too (it is possible that it does this in it's original form and I
> missed it). Let me know if you want my modified version.

Or, you could ask the author politely and he would
probably have a new version for you in about 5 minutes.
(If he wasn't attending a tennis match.) :-)

Cheers,

David
--
David W. Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
Re: color_quan(...., Cube=6) makes white white, but ... [message #30380 is a reply to message #30379] Fri, 26 April 2002 16:34 Go to previous messageGo to next message
Karl Schultz is currently offline  Karl Schultz
Messages: 341
Registered: October 1999
Senior Member
"Steve Smith<steven_smith>" <nobody@nowhere.com> wrote in message
news:slrnacjntg.37c.nobody@pooh.nrel.gov...
> Is the WMF device included in the Linux version?

The WMF device uses GDI, so it only runs on Windows.
Re: color_quan(...., Cube=6) makes white white, but ... [message #30381 is a reply to message #30380] Fri, 26 April 2002 16:17 Go to previous messageGo to next message
nobody@nowhere.com (S is currently offline  nobody@nowhere.com (S
Messages: 55
Registered: July 2001
Member
Is the WMF device included in the Linux version? If so, I'll be upgrading
soon. Correct me if I'm wrong, but it sounds like I could render images as I
would to the screen in Direct Graphics, but to the WMF device, similar to
what I currently do with the PS device. With this device, the fonts are
TrueType Fonts? The problem with rendering everything to an X-window and
then tvread'ing everything is the text ends up looking bad in the image, so
I have beautiful graphics with ugly text surrounding it :( .

On Fri, 26 Apr 2002 16:02:44 -0600, Karl Schultz
<kschultz@devnull.researchsystems.com> wrote: >
> "Steve Smith<steven_smith>" <nobody@nowhere.com> wrote in message
> news:slrnacjgsk.30q.nobody@pooh.nrel.gov...
>> as an aside, I'm trying to give people graphics that would insert in Word
>> documents easily. Does IDL for Windows have a vector based image format
>> (like WMF, EMF) that I can write to? My IDL 5.2 for Linux doesn't have
>> (or appear to) anything but CGM.
>
> For Direct Graphics, there is a WMF device, starting with IDL 5.4.
> For Object Graphics, there is a /VECTOR option on IDLgrClipboard and
> IDLgrPrinter, starting with IDL 5.3.
>
>


--
Steve S.

steve@NOSPAMmailaps.org
remove NOSPAM before replying
Re: color_quan(...., Cube=6) makes white white, but ... [message #30382 is a reply to message #30381] Fri, 26 April 2002 15:02 Go to previous messageGo to next message
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
In office2k I can insert 24 bit .png files and I haven't had problems with
misbehaving colors. You may want to give this a try.

You may also want to try David's TVREAD program. It will simplify and
generalize the capturing of DG windows. I ended up hacking it to save 24bit
png files too (it is possible that it does this in it's original form and I
missed it). Let me know if you want my modified version.

-Rick



"Steve Smith<steven_smith>" <nobody@nowhere.com> wrote in message
news:slrnacjgsk.30q.nobody@pooh.nrel.gov...
> I took David's advice and used the subject heading when creating gifs from
> my display, this fixed the problem that the white background would always
> show up slightly grey. However, as I posted afterwards, the option reduces
> the number of colors by a factor of 2 roughly. It also makes the plots
look
> 'grainy', which sounds like the same problem actually. Is there a way
around
> this, i.e. I'd like white background when I ask for it, but I don't really
> want to lose the color resolution either. hmmmph!
>
> as an aside, I'm trying to give people graphics that would insert in Word
> documents easily. Does IDL for Windows have a vector based image format
> (like WMF, EMF) that I can write to? My IDL 5.2 for Linux doesn't have
> (or appear to) anything but CGM.
>
> --
> Steve S.
>
> steve@NOSPAMmailaps.org
> remove NOSPAM before replying
Re: color_quan(...., Cube=6) makes white white, but ... [message #30383 is a reply to message #30382] Fri, 26 April 2002 15:02 Go to previous messageGo to next message
Karl Schultz is currently offline  Karl Schultz
Messages: 341
Registered: October 1999
Senior Member
"Steve Smith<steven_smith>" <nobody@nowhere.com> wrote in message
news:slrnacjgsk.30q.nobody@pooh.nrel.gov...
> as an aside, I'm trying to give people graphics that would insert in Word
> documents easily. Does IDL for Windows have a vector based image format
> (like WMF, EMF) that I can write to? My IDL 5.2 for Linux doesn't have
> (or appear to) anything but CGM.

For Direct Graphics, there is a WMF device, starting with IDL 5.4.
For Object Graphics, there is a /VECTOR option on IDLgrClipboard and
IDLgrPrinter, starting with IDL 5.3.
Re: color_quan(...., Cube=6) makes white white, but ... [message #30502 is a reply to message #30379] Mon, 29 April 2002 11:24 Go to previous message
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
Yes, you could do this too :)

I didn't want to advocate pestering the author with feature requests as I
assumed that he got enough of them already.

-Rick


"David Fanning" <david@dfanning.com> wrote in message
news:MPG.173396e297de70b49898aa@news.frii.com...
> Rick Towler (rtowler@u.washington.edu) writes:
>
>> You may also want to try David's TVREAD program. It will simplify and
>> generalize the capturing of DG windows. I ended up hacking it to save
24bit
>> png files too (it is possible that it does this in it's original form
and I
>> missed it). Let me know if you want my modified version.
>
> Or, you could ask the author politely and he would
> probably have a new version for you in about 5 minutes.
> (If he wasn't attending a tennis match.) :-)
>
> Cheers,
>
> David
> --
> David W. Fanning, Ph.D.
> Fanning Software Consulting
> Phone: 970-221-0438, E-mail: david@dfanning.com
> Coyote's Guide to IDL Programming: http://www.dfanning.com/
> Toll-Free IDL Book Orders: 1-888-461-0155
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: using WHERE to search for multiple values
Next Topic: completely reset PostScript device between plots?

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

Current Time: Fri Oct 10 06:05:13 PDT 2025

Total time taken to generate the page: 1.84266 seconds