Re: Re: Hidden Images.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Rob Adams wrote:
"Marek Kilimajer" <lists@xxxxxxxxxxxxx> wrote in message news:41ED7704.7080106@xxxxxxxxxxxxxxxx

Rob Adams wrote:

"Jason Barnett" <jason.barnett@xxxxxxxxxxxxx> wrote in message news:20050118191142.432.qmail@xxxxxxxxxxxxxxxx


Rob Adams wrote:


Ok - Let me restate some of this:

I am creating these images in PHP. I have a script right now that accepts two images. A main one, and the one that will be hidden. These can be either jpg, gif, or png. It then outputs a png image like this:

http://imagineinc.net/images/

By main / hidden images, do you mean blending images together? Because what I saw from visiting this link was a background scenery with a flower etc. with red, green and blue ovals on top of it. (Firefox 1.0)


I'm curious about Firefox. Did you try highlighting the image in it? If I remember correctly, Firefox's highlight grid is the reverse of Internet Explorers, which is what these images were made for, though I have a flag in my code to reverse my grid too. I just tried loading this in Firefox, and it definately doesn't have the same effect as in IE. Try it in IE, then highlight the image.

Perhaps my example is so poor, noone here is understanding what I'm trying to do. Checkout this link:
http://www.toccionline.com/creations/ctrla/

Click "Learn to Make Your Own" link. You need to change odd columns in odd rows and even column in even rows to blue color.


Yeah, I'm doing all that. If you checkout my first demonstration in IE, you'll see the main image disappear where the hidden image is when highlighted.

What I don't know how to do yet is to make the hidden image "disappear" into the main image when it's not highlighted.

I guess you want to interpolate the pixels from both images, take pixel color from odd columns in odd rows and even column in even rows from image 1 and draw it in the same pixel in image 2


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux