avalanche123/Imagine — Issue #101: Default background color
Author: frexin
Created: 2012-03-06 15:18:43+00:00
State: open

Hello.
How i can set the default background color for a new image?
E.g.: i want make a new image on basics of old image, but with wider canvas. In this case, background in new image will be filled with black color, but i need a way to change it.

In gd2 library i'm using imagefill() function for this.
Thanks.