import a php picture

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
HappyTchoum
Forum Newbie
Posts: 8
Joined: Tue Dec 16, 2003 3:18 pm

import a php picture

Post by HappyTchoum »

Hi, I would like to createfrompng() an image that I did before. This image must stay dynamic. If I could do createfrompng(image.php), I would put it as a background and add more GD features on it.

When I do createfrompng(image.php) they say it is not a valid picture.
I tried to put in the same script a second image of the second part ($image1 and $image2) I tried to merge them and still doesn't work. Get the same error.

Someone knows a function to import a php picture into another php?

Thank You

HappyTchoum
Post Reply