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

PHP

a 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
STAFF
Randy Hoyt
Treehouse Guest Teacher

You can use a graphics library like GD or ImageMagick. They will let you manipulate image files in this manner.

is there any tutorial for any of them?

something like videos @ treehouse...

??

Randy Hoyt
STAFF
Randy Hoyt
Treehouse Guest Teacher

I 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.