Stephen Posted April 11, 2009 Share Posted April 11, 2009 Let's say I'm making an image with 200 width and 30 height in PHP with the imagecreate function. Is it possible to insert a smaller image, say 16x16 (just an example), into the left hand corner (or any X and Y I instruct it to) of the image I created via PHP, or will I have to pre-create the image with that smaller image already on it and have to use imagecreatefrom<>? Quote Link to comment https://forums.phpfreaks.com/topic/153653-solved-phpgd-inserting-an-image-onto-the-current-image/ Share on other sites More sharing options...
.josh Posted April 11, 2009 Share Posted April 11, 2009 google watermarking tutorials. Same concept. Quote Link to comment https://forums.phpfreaks.com/topic/153653-solved-phpgd-inserting-an-image-onto-the-current-image/#findComment-807401 Share on other sites More sharing options...
Stephen Posted April 11, 2009 Author Share Posted April 11, 2009 google watermarking tutorials. Same concept. Thanks. Basically, you just do the imagecreate commands twice and then do imagecopy. Quote Link to comment https://forums.phpfreaks.com/topic/153653-solved-phpgd-inserting-an-image-onto-the-current-image/#findComment-807409 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.