imagecreate
Create a new palette based image
&reftitle.description;
resourceimagecreate
intwidth
intheight
imagecreate returns an image identifier
representing a blank image of specified size.
In general, we recommend the use of
imagecreatetruecolor instead of
imagecreate so that image processing occurs on the
highest quality image possible. If you want to output a palette image, then
imagetruecolortopalette should be called immediately
before saving the image with imagepng or
imagegif.
&reftitle.parameters;
width
The image width.
height
The image height.
&reftitle.returnvalues;
&gd.return.identifier;
&reftitle.examples;
Creating a new GD image stream and outputting an image.
]]>
&example.outputs.similar;
Output of example : Creating a new GD image stream and outputting an image.
&reftitle.seealso;
imagedestroy
imagecreatetruecolor