Image object to wrap some simple convertion operations.
Complex operations should be performed with the gd functions directly.
< Filename of the last created thumbnail.
< Path to the thumbnail folder.
Init the image class.
Convert the image as a png file.
saveAs( $output, $type = 'png')
Convert the image as a given type.
Types are 'gif', 'jpg' or 'png'