ASP Persist Software AspJpeg v2.9

AspJpeg is a server component that will help your ASP or ASP.NET applications with all their image-management needs. With AspJpeg, you can create high-quality thumbnails, logo-stamp photographs, extract metadata information from images, crop, enhance, rotate, convert, and much more. For the complete list of features, see Chapter 1 of the User Manual.

Despite its name, AspJpeg supports not only JPEG but also PNG, GIF, TIFF and BMP image formats.

The Live Demo section allows you to upload your own images to our server and let AspJpeg do its magic. Examine the underlying source code and see for yourself and simple and intuitive this component is.

1.1 What is AspJpeg?

AspJpeg is an advanced image management component to be used in a Microsoft IIS environment.
AspJpeg enables your ASP/ASP.NET application to dynamically create high-quality thumbnails of images in just a few lines of code. An original image may be in any of the following formats: JPEG, GIF, BMP, TIFF or PNG.

This component can be used in tandem with AspUpload, the leading file upload component from Persits Software, Inc., to create thumbnails of images as they are being uploaded to the Web server.

1.2 Feature Summary

Supports JPEG, GIF, BMP, TIFF and PNG formats as input.
Source images can be opened from disk, memory, or a recordset.
Resized images can be saved to disk, memory or an HTTP stream.
Supports three resizing algorithms: nearest-neighbor, bilinear, and bicubic.
Drawing and typing on top of an image. Support for TrueType and Type 1 fonts.
Automatic word wrapping, text alignment to the left, right, center and justified, rotation.
Picture-in-picture support.
Cropping, flipping, rotation, sharpening, grayscale conversion.
Compression rate of output images can be adjusted for optimal quality/file size ratio.
EXIF and IPTC metadata extraction from JPEG images.
Metadata preservation during resizing.
IPTC metadata adding and editing.
CMYK-to-RGB conversion.
Sepia filter.
Read/write access to individual pixels of an image.
PNG alpha channel support.
PNG output, alpha channel preservation.
GIF transparency support.
Brightness, contrast and saturation adjustment.
GIF output, transparency and animation preservation.
JPEG-to-GIF conversion.
Antialiased drawing routines.
Perspective projection.
Gaussian blur, edge detection, threshold, other filters.
Chroma key effect.
3D surface mapping.
1.3 System Requirements

Windows NT/2000/XP/2003/Vista/2008/7/2012/8/2016, and
IIS 4.0+ and ASP/ASP.NET, or
Visual Basic 5.0+, or
Visual C++ 5.0+, or
any other development environment supporting COM.

1.4 Installation

The setup application aspjpeg.exe installs and registers the AspJpeg component along with documentation and samples in a directory of your choice. To install AspJpeg on another computer, it is sufficient to copy the file aspjpeg.dll to the other system and register it there using the regsvr32 command-line utility as follows:
c:>regsvr32 c:\path\aspjpeg.dll

If that machine was already running an older version of the component, you should shut down and restart the IIS services to remove the old version of the DLL from memory, as follows:

c:>net stop iisadmin /y
c:>net start w3svc

The setup installs a 30-day evaluation copy of the AspJpeg component. The evaluation version is fully functional, i.e. no features are disabled or limited. After 30 days, the component will start throwing an expiration error unless/until a registration key is installed. A registration key can be purchased here. Once a key is obtained, you can import it into the system registry without re-installing the component. Your web server does not need to be shut down.