Home > DeveloperSection > Interviews > What types of images that PHP supports ?

Posted on    June-13-2011 5:13 AM

 1 Answer(s)
  1326  View(s)
Rate this:

Awadhendra Tiwari

Total Post:510

Posted on    June-13-2011 12:00 AM

Using imagetypes() function to find out what types of images are supported in your PHP engine.
imagetypes() - Returns the image types supported.
This function returns a bit-field corresponding to the image formats supported by the version of GD linked into PHP. The following bits are returned, IMG_GIF | IMG_JPG | IMG_PNG | IMG_WBMP | IMG_XPM.

Don't want to miss updates? Please click the below button!

Follow MindStick