onlyican Posted August 21, 2006 Share Posted August 21, 2006 Hey allI dont ask for much help here, but Something I am thinking offSituation:I have several imagesOne: Background, Green (with other things on there, not plane green)Two: A building from the topThree: People from the topMore but u dont need to know all the detailsWhat I want to do, is use Co-ordinates, and place a building say px 0.0Then people say px 20.0ectThis information is grabbed from a DatabaseI 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 databaseAs I said, completly dynamic, completly uniqueAny 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 More sharing options...
HuggieBear Posted August 21, 2006 Share Posted August 21, 2006 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'.RegardsRich Link to comment https://forums.phpfreaks.com/topic/18185-question-about-dynamic-images/#findComment-78002 Share on other sites More sharing options...
onlyican Posted August 21, 2006 Author Share Posted August 21, 2006 As i said, if someone could name the correct functionI looked at imagecopymerge(), but it dont seem to be right, seems to be more for watermarks Link to comment https://forums.phpfreaks.com/topic/18185-question-about-dynamic-images/#findComment-78010 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.