Re: GD imagerectangle() function - background transparency?
| From: | Jacob Kruger | Date: | Fri, 06 Sep 2013 11:28:37 +0000 |
| Subject: | Re: GD imagerectangle() function - background transparency? | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-31173@lists.php.net to get a copy of this message | ||
For now, just draw boxes there, since already have the watermarking sorted out - think so anyway, and in terms of copying other images, this drawing of boxes is to let users choose specific locations/areas to then insert other images and text, but, think already got that part of it sorted - don't know why this is suddenly, again, seeming to corrupt the output image resource somehow.
Stay well
Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broken his body, but not his spirit...'
----- Original Message ----- From: "Pierre Joye" <pierre.php@gmail.com>
To: "Jacob Kruger" <jacob@blindza.co.za>
Cc: "php-windows" <php-windows@lists.php.net>
Sent: Friday, September 06, 2013 12:54 PM
Subject: Re: [PHP-WIN] GD imagerectangle() function - background transparency?
On Fri, Sep 6, 2013 at 11:13 AM, Jacob Kruger <jacob@blindza.co.za> wrote:Well, here's one of the test images - literally just a test image I took of a pseudo-toy a while ago: https://dl.dropboxusercontent.com/u/13327195/13771158254.png And, here's the current output/finished off version: https://dl.dropboxusercontent.com/u/13327195/14watermarked.png The two areas that should have had boxes drawn for them are: And, the coordinates of the two test/text areas/box outlines are (x-y*x-y): 10-10*200-50 50-50*500-80Do you want to simply draw boxes there? Or copy existing images at these locations? Using some transparency? like a watermark? -- Pierre @pierrejoye | http://www.libgd.org