Closed GoogleCodeExporter closed 8 years ago
[deleted comment]
I notice that with .png file the canvas colour won't show and it will add a
transparent background.
Could be useful to make user choice this parameter with a variable, and if they
want a bg colour you can write a if block that check mime type and the option
and change the alpha from 127 to 0:
if [ (mime=png) and (user set in the variable) ]
$color = imagecolorallocatealpha ($canvas, $canvas_color_R, $canvas_color_G,
$canvas_color_B, 0);
else
$color = imagecolorallocatealpha ($canvas, $canvas_color_R, $canvas_color_G,
$canvas_color_B, 127);
end if
Original comment by gianluig...@gmail.com
on 12 Feb 2012 at 8:01
I've some problem saving the patch file for this second suggestion, so i open a
new issue (338) with description and patch file
Original comment by gianluig...@gmail.com
on 12 Feb 2012 at 9:00
I've applied the patch and it will be in the next commit. Thanks!
Original comment by BinaryMoon
on 12 Feb 2012 at 10:14
Thank you for all the work you do!
What about the weird behavior with canvas color ? I have to do another
different post only for supposed bug ?
Original comment by gianluig...@gmail.com
on 12 Feb 2012 at 10:27
Original issue reported on code.google.com by
gianluig...@gmail.com
on 12 Feb 2012 at 1:23Attachments: