What types images that php supports?

Answer Posted / subrat

imagetypes ? Return the image types supported by this PHP
build
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

Example 1. imagetypes()

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is "echo" in php?

511


What is a closure in php?

516


Tell me how can you pass a variable by reference?

489


How long should a session last?

488


How to convert a json string to an array in php?

534






How to find length of an array in php ?

539


How to check a variable is an array or not in php?

487


How to remove white spaces from the beginning and/or the end of a string in php?

522


Can we use include ("xyz.php") two times in a php page "index.php"?

557


Explain me what is the use of 'print' in php?

508


Is empty in excel?

517


How to take a substring from a given string?

518


Describe which programming language does php parallel to?

454


Is php dying 2018?

524


How can php and javascript interact?

698