JPEG Wizard Help
The JPEG Wizard Online Help
By Pegasus Imaging Corporation
JPEG is certainly the best compression type for presenting scanned and captured images on the Web. However, even experts find that with a little help they can make their Web pictures even smaller without sacrificing quality. JPEG is a lossy compression format and the key to getting the minimal file size is choosing the maximum amount of compression without affecting the picture quality.
It is also the case that each time you recompress a JPEG image you add a little "generational loss". This might happen if you add text, if you rotate the image, if you edit it, or if you just want higher compression. After too many generations of recompression, your images may lose their fine detail.
The JPEG Wizard uses advanced techniques from Pegasus Imaging to minimize or completely avoid generational loss and the problem of under-compressing war over-compressing your images. The JPEG Wizard is only one example of many fine JPEG products that Pegasus offers. For information on other Pegasus Imaging products please see their Web site: http://www.jpg.com.
Frequently Asked Questions
What does The JPEG Wizard do?
The JPEG Wizard Online uses JPEG compressed images as its source and can perform multiple operations:
a) JPEG Optimization to create more highly compressed JPEG images, based on the compression settings supplied.
AND / OR
b) Lossless Rotation operations on the image.
What is JPEG Optimization?
Until now, when an image had been compressed with JPEG compression, the only way to decrease its file size was to convert the JPEG image to uncompressed data and then perform a higher level of JPEG compression on the uncompressed data. This resulted in a smaller JPEG file than the original JPEG file, but the smaller file contained more pronounced JPEG artifacts than would have existed if the original image had been compressed with the higher level of JPEG compression.
Thus "generational loss" due to treating JPEG compressed data as if it were uncompressed data was introduced into the image.
The Pegasus JPEG Wizard avoids "generational loss" by treating the source image data as altered by JPEG compression. The JPEG compression of the original image is defined in the source JPEG image. The JPEG Wizard is supplied the information defining the desired JPEG compression in the compression parameters. The JPEG Wizard then operates directly on the compressed JPEG data to perform the conversion between the source JPEG data and the requested JPEG settings.
This avoids the "generational loss" problem and creates a JPEG image with compression ratios and image quality approximating the JPEG file obtained when uncompressed image data is compressed with the supplied compression parameters.
What is Lossless Rotation?
Until now, JPEG images that were compressed with the wrong rotation would have to go through the "generational loss" problem described above in order to view them at the proper orientation. Even without creating smaller JPEG file sizes, the "generational loss" would occur.
Use the JPEG Wizard to reorient the image without "generational loss". The JPEG Wizard can work with the JPEG data directly and simply move the JPEG data within the JPEG file without performing the loss inducing step of decompressing the JPEG data.
By specifying a new orientation and setting each of the compression parameters to 0, the JPEG Wizard will output a JPEG image that is losslessly rotated.
What are the "Compression Parameters"?
The compression parameters control the amount and type of loss allowed in the JPEG compression of image data.
Luminance is the compression parameter that determines the amount of loss allowed to the grayscale component of each pixel in the image.
Chrominance is the compression parameter that determines the amount of loss allowed to the color component of each pixel in the image.
Both Luminance and Chrominance accept values between 0 and 255. Increasing values increase the amount of loss allowed in each component of the image and the compression ratio obtained.
Setting Luminance and Chrominance to 0 informs the JPEG Wizard to perform the minimum optimization of the image. This is useful if the desired outcome is a losslessly rotated image. In this case, set a new orientation value and Submit the image to view the losslessly rotated image.
Why is my Internet Explorer before 3.02 having trouble with this page?
Versions of IE before 3.02 and versions of IE 3.02 without the Internet Explorer 3.02 File Upload Add-On will not send files from an HTML form.
How can I do this on my own machine?
You can obtain JPEG compression tools in a variety of flavors from the Pegasus Imaging Web site: www.jpg.com
I have a digital camera and have some portrait orientation images (from rotating the camera!), how do I rotate the JPEG image WITHOUT increasing the compression?
Set Luminance and Chrominance to 0 and Orientation to Rotate 90 (or 270).
Why is the output image sometimes of different pixel dimensions than the original?
JPEG Optimization (and all JPEG compression) is performed on blocks of 8x8 or 16x16 pixels. If an image is reoriented it may have some pixels padded to a dimension to achieve this reorientation.
Why are my images sometimes upside-down even without rotation?
You got us here! Some versions of Pegasus products developed by Pegasus Imaging and our customers may have set some JPEG tags improperly in some older versions of our toolkits and products. Just do a lossless reorientation and save the new image. SORRY!
Copyright © 1998 Pegasus Imaging Corp. and
Created: Apr. 15, 1998
Revised: Apr. 16, 1998