| |
This ASP component resizes, edits and joins images. It supports JPG, GIF, BMP, PNG, PCX, PSD, TIF and WBMP files and can convert between them. You can create thumbnails and change JPG compression quality to reduce the size required for storage. Add text labels, draw lines and shapes with optional colour fills. Crop, Rotate, Flip and FloodFill commands available. Images can be joined by pasting one on top of another with optional full or partial transparency of the foreground image. Adjust brightness, contrast and sharpness. Import and export data from file, as a binary stream from a database or from a remote server. Read, write and edit JPEG file info (IPTC text). Extract EXIF attributes from JPEG files. It can also read data from the csASPUpload component to process images uploaded through a browser. Free trial available with full instructions.
This is a COM object which enables a script to manipulate and resize image files. Resize and scale images. Create thumbnails from an ASP script. Allows input as a file from the server, from a remote url, or as binary data from a database. Accepts input direct from the csASPUpload component. Send output to the server, or stream it to a database or browser. Create compound images, pasting one on top of the other. Place text onto the image using any installed font. Perform simple image editing drawing lines and shapes with optional colour fills. Uses JPG, GIF, BMP, PNG, PSD, PCX, TIF and WBMP formats and can convert between them. Read and edit JPEG meta data (IPTC text). Read EXIF atributes from JPG files.
csImageFile can be used to perform a variety of graphical operations from within an ASP script or other COM enabled languages such as Visual Basic and Cold Fusion (Windows only). Features include resizing, adding text and merging images by pasting one on top of another. Some simple editing is possible such as drawing lines and shapes, setting pixels and filling. Image enhancements include brightness, contrast, sharpen, blur and greyscale. Merging images with partial transparency allows watermarks to be created.
Most of the image file formats used on the web are supported, and conversions can be made between them.
Resizing images 'on the fly' has two main uses. One is to display thumbnails without having to produce a separate image in advance. This can be useful when working with large picture galleries, or when the displayed images may change frequently. Dynamic resizing is also useful with user submitted images. csImageFile can read images straight from our file upload component, csASPUpload. The image joining and editing features allow the web developer to generate graphics dynamically. We have some examples in our demonstration area showing how a counter can be made either by joining images or by writing onto a predefined image. There is also an example of how a chess board can be constructed by adding the pieces to an empty board. csImageFile can import and export data as binary streams as well as files. This makes it compatible with databases, and also with our csASPUpload component. There is a sample application using both components showing JPG images captured, resized and saved to a database. Output can be sent straight to a browser using the Response.BinaryWrite method in ASP.
The 'File Info' text that can be saved with Adobe Photoshop can be read and edited with csImageFile. This is sometimes referred to as IPTC text. The .FFO and .XMP file formats for saving the File Info separate from an image are supported. There is a downloadable sample application showing how to display and edit File Info properties in a JPEG. The EXIF data recorded by digital cameras can be extracted from JPG files and preserved when an edited file is saved.
There are also some useful file utilities such as Delete, Rename, Copy and FileExists. |
|