/** * Returns true if the gd lib supports the Type of the image * * @return boolean */ function gd_support() { return in_array($this->getGDType(), we_base_imageEdit::supported_image_types()); }