Php Image Type To Extension
# PHP image_type_to_extension - Get Image Extension
[PHP Image Processing](#)
image_type_to_extension β Returns the corresponding file extension for a given image type.
### Syntax
string image_type_to_extension ( int $imagetype [, bool $include_dot = TRUE ] )
Returns the file extension based on the given constant IMAGETYPE_XXX.
### Example
Executing the above file will generate a test.png image in the current directory.
[PHP Image Processing](#)
YouTip