How to create blank image and set background color in php
i.using the function ImageCreate(),we can able to create a blank
image.there are two arguments in imagecreate function.First one is the width of the image and second one is the height of the image.
sample code: ImageCreate(int width,int height);
ii.using the function ImageColorAllocate (), we can set the background color of the blank image.there are four arguments in
ImageColorAllocate function.First one is the values return from the
ImageCreate() function and remaining three arguments are the values of RGB color.
sample code:
$imgcrt = ImageCreate(150,150);
$imgclr = ImageColorAllocate($imgcrt,255,255,0);
