Re: [PHP] Transparent PNGs: Merging

2009-12-12 Thread tedd
At 5:02 AM + 12/12/09, Alex Davies wrote: -snip- Suggestions appreciated, i'm lost! Many thanks, Alex Watermark? Try this: http://webbytedd.com/b/watermark/ The code is there and the dog is actual size. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://ea

Re: [PHP] Transparent PNGs: Merging

2009-12-12 Thread Alex Davies
Hi Ash, Thanks for your suggestion. Unfortunately,that did not help but i've found a post via Google which gave a simple (and slightly counter-intuitive) solution - replace imagecopymerge($img2, $img, $yoffset, 5, 0, 0, imagesx($img), imagesy($img), 100); with imagecopy($img2, $img, $yoffset, 5,

Re: [PHP] Transparent PNGs: Merging

2009-12-12 Thread Ashley Sheridan
On Sat, 2009-12-12 at 05:02 +, Alex Davies wrote: > Hi All, > > I apologise if this is a newbie post; i'm new to transparent graphics > (PNGs in my case). > > I have a transparent PNG on disk, which I want PHP to load into memory > and add some text to ("watermarking", I guess). This seems t

[PHP] Transparent PNGs: Merging

2009-12-11 Thread Alex Davies
Hi All, I apologise if this is a newbie post; i'm new to transparent graphics (PNGs in my case). I have a transparent PNG on disk, which I want PHP to load into memory and add some text to ("watermarking", I guess). This seems to be what is achieved @ http://php.ca/manual/en/image.examples.merged