Image.class is a PHP class that can be used to generate images with graphic primitives defined programmatically. It can create an empty image with a given size or load an existing image from a JPEG, PNG, or GIF image. The class can render graphic primitives in the image like drawing a text string with optional border, copying parts of the image to another position, drawing ellipses, rectangles, and lines, and scaling the image to a given size. The generated image can be saved also in JPEG, PNG, or GIF formats.
Smarty Template Engine Theme Selection Class is a PHP class that can load a Smarty template theme defined in XML. It can parse a theme definition in an XML file located in the directory with the same name as the theme name. The class can return details of the theme like the name, version, creator name, URL, email address, description, and publication date. The class can also delete the directory of a given theme and its contents.