03-13-2008, 03:06 PM
|
#5 (permalink)
|
|
The Prestige
Join Date: Dec 2007
Posts: 1,044
Thanks: 193
|
Quote:
Originally Posted by Rendair
imagecreatetruecolor() returns an image identifier representing a black image of the specified size.
in order to change the background colour you can use the following script.
PHP Code:
$bg = imagecolorallocate($im, 233, 14, 91);
Place right after the imagecreatetruecolor()
|
I know that, but you don't get what Im saying.. I mean Im getting the image from a database. And I hate black backgrounds showing up, ya know, so yeah.
__________________
VillageIdiot can have my babbies ;d
|
|
|
|