Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Mamal Khan
14,206 Pointsa little help with making an image with php
Hi
I'm working on a project which needs to generate Images...
we have a "db" full of image addresses and their coordinates (x,y) ...
the only thing that I need is a help, lead or a code for making such a thing:
a image that contains lots of other images (maybe something like "Sprite")...
How can I make that large image with php?
Thank you in advanced
3 Answers
Randy Hoyt
Treehouse Guest TeacherYou can use a graphics library like GD or ImageMagick. They will let you manipulate image files in this manner.
Mamal Khan
14,206 Pointsis there any tutorial for any of them?
something like videos @ treehouse...
??
Randy Hoyt
Treehouse Guest TeacherI would recommend checking out the ImageMagick website and look at some of their examples. You probably won't find video tutorials about how to do something like dynamically build a sprite sheet; you'll more than likely have to read through the documentation to figure out the individual functions you'll need and then piece them together.