Superposing images

images php coding issues or problems here.

Moderators: macek, egami, gesf

Post Reply
User avatar
Joan Garnet
Moderator
Moderator
Posts: 387
Joined: Sat Aug 03, 2002 2:56 am
Location: Mars
Contact:

Post by Joan Garnet » Mon Aug 05, 2002 4:09 am

Create image 1.
Create image 2.
Create image 3 with photoshop (or whatever you use to edit images) superposing image1 and image2 and changing the parameters to reach the effect.

User avatar
WiZARD
Moderator
Moderator
Posts: 1256
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol
Contact:

Post by WiZARD » Mon Aug 05, 2002 5:51 am

Fruge wrote:Hi,

In fact, I want to do it with PHP ! I need this superposition of two images to be done on-line by users !...

PHP allows to copy images (imagecopy),... but I never found anything about superposing images !

Bye, Fruge


Try read this http://www.php.net/manual/en/function.i ... ampled.php

User avatar
Joan Garnet
Moderator
Moderator
Posts: 387
Joined: Sat Aug 03, 2002 2:56 am
Location: Mars
Contact:

Post by Joan Garnet » Mon Aug 05, 2002 6:28 am

I'm sorry, I can't help you...
check this link and have a look, all image functions are there. Maybe you'll find something I couldn't see.

http://www.zend.com/manual/ref.image.php

User avatar
WiZARD
Moderator
Moderator
Posts: 1256
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol
Contact:

Post by WiZARD » Mon Aug 05, 2002 7:34 am

Fruge wrote:Yep', "imagecopyresampled()" copies, but it doesn't allow superposing... :'-(

So I think "ImageSuperpose()" is a PHP function to be created :wink:

Thanks,

Fruge !

Interestin where you get this function "ImageSuperpose()"?
PHP not have this function. Maby you're get this function from other language or other library not in GD? See "imagemagick" maby in this library your can get this function.

User avatar
WiZARD
Moderator
Moderator
Posts: 1256
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol
Contact:

Post by WiZARD » Tue Aug 06, 2002 3:45 am

Fruge wrote:I meant that it would be a good idea that PHP-developpers create such a function :wink: ! (Of course, it doesn't exist nowadays )

You some not understand, library thas usin in PHP called GD or imagemagic it's not PHP production....
Other peaple create library for PHP.

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 1 guest