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 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Creating an image as a sum of images [message #42299] Thu, 03 February 2005 12:09 Go to next message
R.G.Stockwell is currently offline  R.G.Stockwell
Messages: 163
Registered: October 2004
Senior Member
"R.G.Stockwell" <noemail@please.com> wrote in message
news:36fej4F51vnvoU1@individual.net...

> xyouts , 0.3,0.98,'Place a title here if you want',normal

doh, i mean
xyouts , 0.3,0.98,'Place a title here if you want',/normal


(ie i forgot the slash, "normal" is a keyword)

-bob
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 next 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
Re: Creating an image as a sum of images [message #42447 is a reply to message #42300] Thu, 03 February 2005 12:42 Go to previous message
FSD is currently offline  FSD
Messages: 5
Registered: February 2005
Junior Member
On Thu, 3 Feb 2005 13:06:59 -0700, "R.G.Stockwell"
<noemail@please.com> wrote:


>
> 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
>


Hey, thanks for the input. It sorta works but how do I read in eight
files and write them back out again with the window? I have several
thousand files and I need to run it seemslessly in the background.
Thanks
FSD
  Switch to threaded view of this topic Create a new topic Submit Reply
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: Thu Oct 09 07:30:51 PDT 2025

Total time taken to generate the page: 1.36027 seconds