| LAST | Using Existing Images | NEXT |
| As you can see, creating images from scratch can be very tedious. It is often best to modify an existing image if you want anything but the simplest graphics. In addition to imageCreate() there are many imageCreateFrom... functions. The only thing differentiating most of them is the particular graphics file format they read.
|
| int imageCreateFromPNG ( string filename ) int imageCreateFromJPEG ( string filename ) int imageCreateFromWBMP ( string filename ) int imageCreateFromGIF ( string filename ) int imageCreateFromGD ( string filename ) int imageCreateFromGD2 ( string filename ) int imageCreateFromXBM ( string filename ) int imageCreateFromXPM ( string filename ) Returns an image identifier representing the image obtained from the given filename or URL. int imageCreateFromString ( string image ) Returns an image identifier representing the image obtained from the given string. int imageCreateFromGD2Part ( string filename, int srcX, int srcY, int width, int height ) Create a new image from a given part of GD2 file or URL. |
<?PHP |
| Image Supplied by FreeFoto.com |
| LAST | Table of Contents | Function Index | NEXT |