Jump to content

php image creation.


MadnessRed

Recommended Posts

hi, I have seen several sites which generates images of there own, I have also done a few simple ones myself but I am still not completely sure on it.

 

What I would like is the have 1 image as a background, then 16 smaller images I can place on top of teh background image, and I can set the co-ordinates myself.

 

So basically just put two images together.

 

now I know that you can to the above bit in php as I have seen it done. however, here is the complicated bit, I wan to make an animated gif.

 

What I would great if for a link to a tutorial about this kind of thing, if that is possible.

 

The animated gif part is not essential but would be very nice.

Link to comment
https://forums.phpfreaks.com/topic/128884-php-image-creation/
Share on other sites

To overlap images, you can just you http://us.php.net/manual/en/function.imagecopyresampled.php several times.

 

As for an animated GIF, there is some stuff out there. A quick Google Search turned up this: http://www.phpclasses.org/browse/package/3163.html which will make the animated GIF from several images. So you can use GD to make the separate images, then merge them.

Link to comment
https://forums.phpfreaks.com/topic/128884-php-image-creation/#findComment-668192
Share on other sites

what I would like is to be able to let the user upload a game in the notation form.

 

[Event "Human versus Human"]
[site "?"]
[Date "2008.10.20"]
[Round "?"]
[White "White"]
[black "Black"]
[Result "1-0"]

1. e4 e5 2. Bc4 h5 3. Qf3 Rh6 4. Qxf7# 1-0

 

And then to generate an animated gif from that. if animated gifs, would it be possible to do tis some other way?

Link to comment
https://forums.phpfreaks.com/topic/128884-php-image-creation/#findComment-670392
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.