SCZ 0.1
Sponsored Links
SCZ 0.1 Ranking & Summary
File size:
0.005 MB
Platform:
Any Platform
License:
GPL (GNU General Public License)
Price:
Downloads:
1230
Date added:
2006-06-14
Publisher:
Carl Kindman
SCZ 0.1 description
SCZs primary routines are useful for compressing text, XML, line-drawing/diagram images, scans of text pages, or other types of binary computer data. However, they are unable to compress photographic images very much because they implement lossless methods that can only reduce exactly repeated patterns within data which are common in the above file types but not in photographic images.
Here we speak of photographic images that are, for example, pictures taken with cameras of the real-world containing many features; not drawings or cartoons which contain large flat-color areas. The core SCZ compress and decompress routines restore data perfectly to the exact binary values, like GZip or Zip. But this is often not as important with image data, because the human eye can not discern exact binary values.
Therefore, special lossy image compression routines have been developed, such as JPEG, that take advantage of human perception effects to restore images which appear to match the original visually, but are not exactly binary equivalent to the original files. Recently, a new pair of routines has been added to SCZ for efficient photo-image compression.
The image_scz and image_dscz programs implement simple image compression/decompression, respectively. They reduce space required to store photographic images, are based on the SCZ core compression algorithm, and can be included within other applications. The image_scz and image_dscz programs are released as companions to the SCZ (Simple Compression) routines.
Image_scz accepts PPM image files and preprocesses them into a form that is more compressible, and then applies the normal SCZ compression. Specifically, it quantizes the differences between pixels in adjacent columns. The differences are quantized in a mu-law-like distribution so that small changes can be resolved. The quantization causes a small loss in image information, but increases the number of exact patterns that can be exploited by the normal compression algorithm.
On decompression with Image_dscz, the process is reversed. The processed image data is decompressed with the regular SCZ algorithm, and then the preprocessing is reversed by integrating the column-differences.
Presently, these routines are set to work only on PPM or PNM image formats. Other variants could be made. PPM/PNM formats are convenient because the format is well-known and straight-forward. In PNM the pixel values are recorded in a simple 2D-matrix with no compression, other than perhaps packing the binary pixel values as one (0-255) RGB value per byte. Commonly available tools such as GIMP, Image-Magik, XV, and Net-PBM can convert virtually any other format to/from PNM. (No need in re-inventing all the format conversion functions.)
Quality can be controlled with the (-q xx) Quanta setting. The default value is 8. Setting it to a lower value, such as 5 or 6, gives better compression, but lower quality images. Values of 10,12,16... give better quality images, but less compression.
An interesting aspect of this compression method is that successive compressions/decompressions of a given image do not degrade image quality, as will occur for instance with JPEG. Instead, the loss occurs once, during the first compression only.
This compression method will not compress quite as compactly as JPEG for a given quality level, however it will get you 9/10s the way with only 1/10 the code and dependencies. Also, the code/algorithm appear easier to understand and are simpler than JPEG.
Image_scz Options:
-q xx - Quality. Default=8. Values of 4-7 give better compression, but less quality.
Values of 9-16 give better quality, but less compression.
Image_scz accepts .ppm or .pnm files and produces compressed .iscz files. Image_dscz accepts .iscz files and produces decompressed .ppm files.
Example 1:
image_scz snapshot.ppm
(Writing output to snapshot.iscz)
image_dscz snapshot.iscz
Decompression ratio = 9.4
(Writing output to snapshot.ppm)
Example 2:
image_scz -q 6 snapshot.ppm
(Writing output to snapshot.iscz)
Enhancements:
- A photo-image compression routine has been added to SCZ.
- Unlike the core SCZ functions that implement perfect lossless compression, the new image-scz routine applies a lossy method appropriate for images.
- The simple algorithm greatly improves SCZ compression ratios on images.
Here we speak of photographic images that are, for example, pictures taken with cameras of the real-world containing many features; not drawings or cartoons which contain large flat-color areas. The core SCZ compress and decompress routines restore data perfectly to the exact binary values, like GZip or Zip. But this is often not as important with image data, because the human eye can not discern exact binary values.
Therefore, special lossy image compression routines have been developed, such as JPEG, that take advantage of human perception effects to restore images which appear to match the original visually, but are not exactly binary equivalent to the original files. Recently, a new pair of routines has been added to SCZ for efficient photo-image compression.
The image_scz and image_dscz programs implement simple image compression/decompression, respectively. They reduce space required to store photographic images, are based on the SCZ core compression algorithm, and can be included within other applications. The image_scz and image_dscz programs are released as companions to the SCZ (Simple Compression) routines.
Image_scz accepts PPM image files and preprocesses them into a form that is more compressible, and then applies the normal SCZ compression. Specifically, it quantizes the differences between pixels in adjacent columns. The differences are quantized in a mu-law-like distribution so that small changes can be resolved. The quantization causes a small loss in image information, but increases the number of exact patterns that can be exploited by the normal compression algorithm.
On decompression with Image_dscz, the process is reversed. The processed image data is decompressed with the regular SCZ algorithm, and then the preprocessing is reversed by integrating the column-differences.
Presently, these routines are set to work only on PPM or PNM image formats. Other variants could be made. PPM/PNM formats are convenient because the format is well-known and straight-forward. In PNM the pixel values are recorded in a simple 2D-matrix with no compression, other than perhaps packing the binary pixel values as one (0-255) RGB value per byte. Commonly available tools such as GIMP, Image-Magik, XV, and Net-PBM can convert virtually any other format to/from PNM. (No need in re-inventing all the format conversion functions.)
Quality can be controlled with the (-q xx) Quanta setting. The default value is 8. Setting it to a lower value, such as 5 or 6, gives better compression, but lower quality images. Values of 10,12,16... give better quality images, but less compression.
An interesting aspect of this compression method is that successive compressions/decompressions of a given image do not degrade image quality, as will occur for instance with JPEG. Instead, the loss occurs once, during the first compression only.
This compression method will not compress quite as compactly as JPEG for a given quality level, however it will get you 9/10s the way with only 1/10 the code and dependencies. Also, the code/algorithm appear easier to understand and are simpler than JPEG.
Image_scz Options:
-q xx - Quality. Default=8. Values of 4-7 give better compression, but less quality.
Values of 9-16 give better quality, but less compression.
Image_scz accepts .ppm or .pnm files and produces compressed .iscz files. Image_dscz accepts .iscz files and produces decompressed .ppm files.
Example 1:
image_scz snapshot.ppm
(Writing output to snapshot.iscz)
image_dscz snapshot.iscz
Decompression ratio = 9.4
(Writing output to snapshot.ppm)
Example 2:
image_scz -q 6 snapshot.ppm
(Writing output to snapshot.iscz)
Enhancements:
- A photo-image compression routine has been added to SCZ.
- Unlike the core SCZ functions that implement perfect lossless compression, the new image-scz routine applies a lossy method appropriate for images.
- The simple algorithm greatly improves SCZ compression ratios on images.
SCZ 0.1 Screenshot
SCZ 0.1 Keywords
SCZ
PNM
XML
SCZs
SCZ 0.1
JPEG
can be
image
compression
images
routines
quality
text
SCZ 0.1
Archiving
System
Bookmark SCZ 0.1
SCZ 0.1 Copyright
WareSeeker periodically updates pricing and software information of SCZ 0.1 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of SCZ 0.1 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
Version History
Related Software
YAWICA stands for Yet Another Wavelet based Image Compression Algorithm, it is the result of my diploma thesis. Free Download
Pic2AA is tool providing converting jpeg/png to AA (Ascii Art) images. Free Download
dbblast is a utility that automatically removes dust spots or "bunnies" from JPEG images taken with digital SLRs. Free Download
GOCR is an OCR (Optical Character Recognition) program, developed under the GNU Public License. Free Download
shim is a small shell based utility to display images in a variety of formats. Free Download
Grid-Split plugin splits an image into several images. Free Download
Gogh is a graphical editor designed for pressure-sensitive input devices. Free Download
XML::UM is a Perl module to convert UTF-8 strings to any encoding supported by XML::Encoding. Free Download
Latest Software
Popular Software
Favourite Software