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

Home » Public Forums » archive » Re: clipboard objects and postscript (unix)
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: clipboard objects and postscript (unix) [message #13301 is a reply to message #13286] Mon, 02 November 1998 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Sean O'Sea (seanosea@my-dejanews.com) writes:

> Howdy, folks. I'm having difficulties with the Clipboard object in IDL on
> unix. This is pretty much my first time posting anywhere; I was so impressed
> by the helpfulness here that I decided to try it out.

Oh, it's a friendly place, alright. :-)

> First, IDL saves to the PostScript "native format" file with a bitmap rather
> than a "true" PostScript objecty-sort of "do this, do that" structure. That
> is, in a normal PS file, you'll see at some point all the words of text
> actually spelt out as "{X} goright {Axis}" or whatever, whereas IDL's PS just
> has 1's and 0's.
>
> Is there a way to output a graphics tree in normal non-bitmap PS form?

No, I'm afraid not. This has been a topic of discussion here in
the past. PostScript output is often considered the weak link
in the object graphics hierarchy. RSI has been considering
what trade-offs users would have to make to get "vectorized"
output. If you feel strongly, you should make sure they hear
from you about it.

> Second, supposing there isn't, the simplest X Window clipboard utility,
> xclipboard, can't seem to latch on to my attempts to increase the resolution
> and dimensions of the clipboard object. Drawing to the clipboard at the
> default res of 72dpi and default dim of 640x480 works fine: xclipboard
> "converts" it nicely to a PS image with bounding box 640x480, but it's too
> low of res for my purposes.
>
> When I increase the res from 72dpi, leaving the dim at the default 640x480,
> IDL adjusts the dim to keep res*dim constant. So if I double the res, IDL
> halves the dim, leaving the effective resolution (amount of information)
> constant. Finally, if I increase both the res and the dim, IDL hangs, and
> xclipboard complains "failure to convert clipboard data". When I kill
> xclipboard, IDL wakes up.
>
> Is there a way to increase the res, making the file much bigger but the image
> more detailed?

I am not familiar with XClipboard, but I have no
difficulty increasing both the resolution and
dimensions of the clipboard when I create the clipboard.
I am working in IDL 5.2 (beta 2).

clipboard = Obj_New('IDLgrClipboard', dimensions=[1200, 1200], $
resolution=[0.0352778, 0.0352778]*10 )

How exactly are you trying to increase the resolution and the
dimensions?

Cheers,

David

----------------------------------------------------------
David Fanning, Ph.D.
Fanning Software Consulting
E-Mail: davidf@dfanning.com
Phone: 970-221-0438, Toll-Free Book Orders: 1-888-461-0155
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: IDL 5.2 Reviews
Next Topic: Re: Stupid Question#1

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

Current Time: Sun Nov 30 15:08:59 PST 2025

Total time taken to generate the page: 1.03797 seconds