You are my new hero of the week, usually it's Scott but this will trump him
for at least 3 days.
Thanks a lot Andu!
--
Cheers,
Simon
Graphic Development: http://www.amigo-3.com
--------------------------------------------------
"The great discoveries in science are not punctuated by 'Eureka! I've found
it!' but rather "Hmmm,that's funny...." Isaac Asimov
> From: andu <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> Date: Mon, 9 Oct 2000 22:15:51 -0400 (EDT)
> To: [EMAIL PROTECTED]
> Subject: Re: Scaling Images
>
> put the rect of image 1 into r
> put the rect of this stack into s
> put (the width of image 1)/(the height of image 1) into w
> set the rect of this stack to item 1 of s, item 2 of s, \
> (the width of this stack)+item 1 of s, ((the width of thistack)/w)+item 2 of s
> set the rect of image 1 to item 1 of r, item 2 of r,the width of this stack, \
> the height of this stack