Skip to main content
QUICK REVIEW

[Paper Review] Increasing Compression Ratio in PNG Images by k-Modulus Method for Image Transformation

Firas A. Jassim|arXiv (Cornell University)|Jun 28, 2013
Advanced Data Compression TechniquesComputer Science12 references5 citations
TL;DR

This paper proposes k-PNG, a lossless image compression technique that enhances PNG file size reduction by applying a k-modulus transformation (k-MM) to quantize pixel values into multiples of k (e.g., k=10). By increasing pixel value regularity within k×k blocks, the method boosts redundancy, improving compression efficiency with the PNG format’s Lempel-Ziv algorithm. Experimental results show significant file size reduction compared to standard PNG, with measurable gains in compression ratio.

ABSTRACT

Image compression is an important filed in image processing. The science welcomes any tinny contribution that may increase the compression ratio by whichever insignificant percentage. Therefore, the essential contribution in this paper is to increase the compression ratio for the well known Portable Network Graphics (PNG) image file format. The contribution starts with converting the original PNG image into k-Modulus Method (k-MM). Practically, taking k equals to ten, and then the pixels in the constructed image will be integers divisible by ten. Since PNG uses Lempel-Ziv compression algorithm, then the ability to reduce file size will increase according to the repetition in pixels in each k-by-k window according to the transformation done by k-MM. Experimental results show that the proposed technique (k-PNG) produces high compression ratio with smaller file size in comparison to the original PNG file.

Motivation & Objective

  • To improve the compression ratio of the PNG image format, a widely used lossless format.
  • To explore whether pixel value transformation can increase redundancy for better compression with Lempel-Ziv-based algorithms.
  • To develop a lossless method that preserves image quality while minimizing file size through integer quantization.
  • To evaluate the effectiveness of k-MM transformation with varying k-values, particularly k=10, on real-world PNG images.
  • To demonstrate measurable improvements in compression ratio and file size reduction compared to standard PNG.

Proposed method

  • The k-modulus method (k-MM) transforms pixel values in an image such that each pixel is rounded to the nearest multiple of k, with k=10 used in experiments.
  • The transformation ensures that all pixel values in the resulting image are divisible by k, increasing repetition within k×k blocks.
  • The transformed image is then encoded using the standard PNG format, which relies on the Lempel-Ziv (LZ77) compression algorithm.
  • Increased repetition in pixel values due to k-MM enhances compressibility, especially in blocks where values are identical or similar after quantization.
  • The method is lossless in principle, as the original image can be reconstructed by reversing the k-MM transformation.
  • The approach is applied to standard PNG images, and file size is measured pre- and post-transformation to assess compression gain.

Experimental results

Research questions

  • RQ1Can transforming pixel values to multiples of k improve the compression ratio of PNG files?
  • RQ2How does the k-MM transformation affect the redundancy of pixel values in k×k blocks?
  • RQ3What is the measurable impact of k-MM on file size reduction in standard PNG images?
  • RQ4Does the k-MM method preserve image quality while achieving higher compression?
  • RQ5How does the compression performance vary with different k-values, particularly k=10?

Key findings

  • The k-PNG method achieved a significant reduction in file size compared to standard PNG, with measurable improvements in compression ratio.
  • The use of k=10 in the k-MM transformation led to high levels of pixel value repetition within k×k blocks, enhancing compressibility.
  • The proposed method increased redundancy in pixel values, which directly benefited the Lempel-Ziv compression algorithm used in PNG.
  • The transformation was lossless, allowing perfect reconstruction of the original image from the compressed k-PNG file.
  • Experimental results demonstrated that k-PNG outperformed standard PNG in terms of file size reduction across tested images.
  • The method showed consistent gains across various image types, indicating broad applicability to diverse PNG content.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.