STB microservices are a set of workhorse tools for maintaining scientific digital image repositories. The tools implement photo renumbering, metadata harvesting (OAI-PMH), use of GLite for very large batch processing, Web-based high-resolution viewers, processing, long-term preservation, and more.
image saver is a PHP class which can open an uploaded file image in either JPEG, PNG, or GIF format and resize it to a given width and height. Either the width or height can be set to auto, so it gets adjusted to keep the original image proportion based on the value set for the other dimension. The processed image can be saved to a new file in a given target directory using the JPEG format. The compression quality of the saved image is configurable.
Urban Lightscape is a photo filter for exposure correction, localized brightness adjustments, dodging and burning, and the introduction of synthetic lighting to a photo. A simple "double-click-and-drag" paradigm is used to place control points on a photo, and clever edge detection localises and interpolates lightness adjustments around and between these points. Results are rapid, with additional controls for more subtle refinements.
image-deduplication-tool is a script designed to scan specified paths and calculate the DCT hashes of all the images there. It compares the hashes to find closest-looking image pairs, despite various alternations (such as crop, rotation, gamma/color correction, noise, etc.), optionally presenting them in a feh image viewer for the operator to easily compare and remove one of the versions. It uses libpHash to produce and compare perceptual hashes.
Image Selector previews images defined in select input options. It can take as a parameter the identifier of a form select input element which has options set to the URLs of images to be picked by the user. The object can display the currently-selected image inside a preview page element. The object can also change the currently-selected image to move to the next, previous, first, last, or to any of the images in the list.