stuffradio Posted January 5, 2008 Share Posted January 5, 2008 Is there an easy way to generate a pixel character with different things? Example: I have multiple images for the head, body, etc. etc. I want to know if I can make it so I can dynamically generate the character with the different parts of the body in php instead of having to do it manually in photoshop. Link to comment https://forums.phpfreaks.com/topic/84660-advanced-image-generation/ Share on other sites More sharing options...
acidglitter Posted January 5, 2008 Share Posted January 5, 2008 you could make each part a separate image. then as long as each part are the same dimensions (like all of the heads are like 20x20 pixels) then you could probably use css to align them to the right place. that would like get you started but i can't really help with saving the overall person as an image yet because thats what i need help with Link to comment https://forums.phpfreaks.com/topic/84660-advanced-image-generation/#findComment-431438 Share on other sites More sharing options...
mentalkieran Posted January 5, 2008 Share Posted January 5, 2008 What you need to take into account is that you're going to need to provide very specific detail, co-ordinates to your PHP script. It can be done, however, would require a fair amount of mathematics. Link to comment https://forums.phpfreaks.com/topic/84660-advanced-image-generation/#findComment-431467 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.