FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » How to place an image within another image at a certain position while retaining transparency using gd
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
How to place an image within another image at a certain position while retaining transparency using gd [message #177270] Fri, 02 March 2012 22:52
James Andresakis is currently offline  James Andresakis
Messages: 1
Registered: March 2012
Karma:
Junior Member
I have a mobile application that pulls images from my server and these images have to be in the dimensions the keep the power of two because they are used as textures to be applied to 3d objects in opengl es. I have images coming to the mobile in proper dimension but since I have strict dimensions to stay to I wanted to take the transparent image thats 256x256 and place a smaller image copy that I keep in its original proportions within the new transparent one but place it so that its centered.

I know Ive seen this done before but of course I didnt need it at the time so I didnt bother to save the link :p

Any help with the matter would be much appreciated
[Message index]
 
Read Message
Previous Topic: string to array
Next Topic: determine if ncurses is active
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Dec 01 04:14:00 GMT 2024

Total time taken to generate the page: 0.04278 seconds