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

Home » Public Forums » archive » Re: Creating an image as a sum of images
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: Creating an image as a sum of images [message #42300 is a reply to message #42299] Thu, 03 February 2005 12:06 Go to previous messageGo to previous message
R.G.Stockwell is currently offline  R.G.Stockwell
Messages: 163
Registered: October 2004
Senior Member
"FSD" <frank@digennaro-dot-com> wrote in message
news:fhu40117oo2oat2gg4oi0tvm1bml66r2m1@4ax.com...
> Hello;
> I am new to IDL and am having a problem figuring out how to
> accomplish an easy task. I have 8 images (png) that are 128x128.
> I would like to create one large image that is composed of four images
> in two rows with some sort of whitespace in between. Thats it. Any
> help at all would be greatly appreciated.
> Thanks
> FSD

If i follow you, try

x0 = 0.0
y0 = 0.0
x1 = 0.5
y1 = 0.5
x2 = 1.0
y2 = 1.0
edge = 0.05

xyouts , 0.3,0.98,'Place a title here if you want',normal
tvimage,image0,position=[x0+edge,y1+edge,x1-edge,y2-edge]
tvimage,image1,position=[x1+edge,y1+edge,x2-edge,y2-edge]
tvimage,image2,position=[x0+edge,y0+edge,x1-edge,y1-edge]
tvimage,image3,position=[x1+edge,y0+edge,x2-edge,y1-edge]

where tvimage can be found at your one-stop idl superstore:
http://www.dfanning.com/programs/tvimage.pro

You can capture the screen too if you want to make an image file.

Cheers,
bob
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: splitting strings
Next Topic: Creating an image as a sum of images

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

Current Time: Fri Oct 10 03:18:49 PDT 2025

Total time taken to generate the page: 1.43999 seconds