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

Home » Public Forums » archive » annotated text without using graphics device in IDL?
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
annotated text without using graphics device in IDL? [message #35061] Wed, 07 May 2003 10:22
Howard Taylor is currently offline  Howard Taylor
Messages: 3
Registered: May 2003
Junior Member
I'd like to annotate an image without having to first draw the text on the
active graphics display and then read the image back. This undesirable
method might look like:

a=indgen(256,256)
tv,a
xyouts,100,100,'this text',/device
b=tvrd()


Instead, I'd like an approach that doesnt rely on the graphics device at
all. It might be called in this way:

a=findgen(256,256)
b = imgtext( a, 100,100,'this text' )

As a result, b is an image whose contents have been altered to include the
text.

Anybody seen this sort of thing for IDL?

Thanks,
Howard
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Interpolation from a regular to an irregular grid?
Next Topic: Re: annotated text without using graphics device in IDL?

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

Current Time: Wed Oct 08 16:52:04 PDT 2025

Total time taken to generate the page: 0.00395 seconds