Jump to content

question about Dynamic Images


onlyican

Recommended Posts

Hey all
I dont ask for much help here, but Something I am thinking off

Situation:
I have several images
One: Background, Green (with other things on there, not plane green)
Two: A building from the top
Three: People from the top
More but u dont need to know all the details

What I want to do, is use Co-ordinates, and place a building say px 0.0
Then people say px 20.0
ect

This information is grabbed from a Database
I do not want to save the image, as the image will be unique to the person viewing, and good, there could be a lot of images.

So I need to show the images on the browser
<img src='myimage.php' />
Am I right?

How would I set the image, to create a new image, by adding imageTwo.jpg to ImageOne.jpg at Pixel Point 0.50 (or 45.45)..
Again that information would be in the database

As I said, completly dynamic, completly unique

Any ideas.

I am not looking for the code, just the functions, and if it is ok to use
<img src='myimage.php' />
Link to comment
https://forums.phpfreaks.com/topic/18185-question-about-dynamic-images/
Share on other sites

It is possible to use a .php page as the source of an image as in your example.

Most people use the GD Image functions for dynamic images.  [url=http://www.php.net]http://www.php.net[/url] provides details of these in their 'documentation'.

Regards
Rich

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.