ImageTools

User Documentation: Functions: getformat

string getformat( [string file] )

Description

Returns the image's format. ( Refer to Formats )

Parameters

file File path to an image.
[ If false, reverts to $vif->image. ]

Usage

$vif->getformat($file);