You are here: Re: [PHP] Re: Hidden Images. « PHP « IT news, forums, messages
Re: [PHP] Re: Hidden Images.

Posted by Marek Kilimajer on 01/18/05 23:54

Rob Adams wrote:
> "Marek Kilimajer" <lists@kilimajer.net> wrote in message
> news:41ED7704.7080106@kilimajer.net...
>
>>Rob Adams wrote:
>>
>>>"Jason Barnett" <jason.barnett@telesuite.com> wrote in message
>>>news:20050118191142.432.qmail@lists.php.net...
>>>
>>>
>>>>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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация