DatePNG is a PHP class can be used to generate a PNG image with a given time. It opens a template image in PNG format and renders text with a time in one or more formats. The font, size, position, angle, and color of the text are configurable parameters. The resulting image is generated in the PNG format as the current script output.
This object can be used to display a marquee that scrolls automatically. It can make the elements inside a given element appear scrolling either horizontally or vertically, so as one contained element disappears, the following element appears. Optionally, the scrolling may stop if the user drags the mouse pointer over the scrolling element. The scrolling speed, the scrolling direction, and the elements seperator are also configurable options.
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.