View Single Post

  #4 (permalink)  
Old 06-15-2008
laredotornado@zipmail.com
 
Posts: n/a
Default Re: How do I hide part of an image with white space?

On Jun 13, 3:49*pm, Olaf Schinkel <tr...@schinkel.tv> wrote:
> laredotorn...@zipmail.com schrieb:> Hi,
>
> > I'm using PHP 5. *I was wondering given an image, a.jpg, how can I
> > make an image that would look like you slid a white index card (which
> > I have a file, white.jpg with the same dimensions as a.jpg) over
> > a.jpg? *Note that you'd be sliding the image from top to bottom or
> > from left to right, but not both.

>
> > Thanks, let me know if this makes sense ... it's a litlte hard to
> > describe.

>
> > Best, - Dave

>
> You are looking for:
> a) z-index (HTML)
> or
> b) gd2 Functions (PHP)


Let's say I go the gd2 route. What functions/concepts would I use?
Do you have any example code?

Thanks, - Dave
Reply With Quote