THE USE OF DIFFERENCE COLOUR MODELS WITH COMPONENT DIFFERENCE OFFSETS TO IMPROVE THE COMPRESSION OF PNG IMAGES

Authors

  • O. V. Shportko National University of Water and Environmental Engineering, Rivne, Ukraine
  • A. Bomba National University of Water and Environmental Engineering, Rivne, Ukraine

DOI:

https://doi.org/10.15588/1607-3274-2026-2-17

Keywords:

lossless image compression, PNG graphic format, difference colour models with integer coefficients

Abstract

Context. Today, static difference colour models with integer coefficients are used to improve the efficiency of lossless imagecompression in graphic formats and archivers. These models improve compression, b ut do not consider the level of cross-correlation between different pairs of colour components of pixels in each image. Therefore, the development of methods for the formation and use of difference colour models for individual images in order to improve their compression by intercomponent decimation is currently an urgent scientific task.
Objective. To develop methods and algorithms for the transition to difference colour models with integer coefficients and difference offsets to reduce compression ratios in the process of lossless compression of RGB images in modern graphic formats, in particular in PNG format.
Method. Depending on the coding time constraints, the paper proposes to use 4, 16, 19 or 49 alternative difference colour models with difference offsets to select the most efficient model for each image. Prediction of the compression efficiency due to the use of the next alternative difference colour model is performed using entropy. The differences in the colour models are shifted so that the centre of the interval with the maximum number of these differences is shifted to the middle of the range of possible values. The effectiveness of three methods of determining the centre of this interval is investigated: without considering the deviations of component brightnesses, using the difference in component medians, and by determining the centre of the interval with the maximum number of component differences after their sequential search.
Results. Our experiments have shown that, for example, applying difference colour models with integer coefficients to whole images in the process of sequential lossless compression, in particular, in the PNG graphic format we modified, allows reducing
compression ratios of photorealistic images of the ACT set by 0.19–1.06 bpb. Shifting the differences to the differences of the medians of individual components or centring the intervals of component differences provides an additional 0.01–0.02 bpb compression ratio reduction on average. Thus, difference colour models with integer coefficients and difference offsets can significantly increase the compression efficiency of lossless three-component photorealistic images in formats that use predictors and therefore can be implemented in the next versions of these formats at the standard level.
Conclusions. In graphic formats, to reduce the lossless image compression ratio, in addition to decorrelation of individual component data, it is advisable to perform intercomponent decorrelation by switching to difference colour models with integer coefficients with difference offsets, which provide fast decoding. To maximise the reduction in compression ratio due to the application of the selected colour model, the midpoints of the difference intervals of the basic components R, G, B should be shifted to the middle of the range of possible values. When, for photorealistic images, due to strict limitations on encoding time or encoder size, it is impossible to select a difference colour model from among 49, 19 or 16 alternative ones, this choice should be made among three models: G – R + 128, G, G – B + 128; R, R – G + 128, B – G + 128, or R – G + 128, B – G + 128, B. For synthesised images, it is not advisable to switch to difference colour models with integer coefficients

Author Biographies

O. V. Shportko, National University of Water and Environmental Engineering, Rivne

PhD, Associate Professor, Doctorant of the Postgraduate and Doctoral Studies Centre

A. Bomba, National University of Water and Environmental Engineering, Rivne

Dr. Sc., Professor, Professor of the Department of Computer Sciences and Applied Mathematics

References

Wallace G. The JPEG still picture compression standard. Communication of ACM, 1991, Vol. 34, № 4, pp. 30–44. DOI: 10.1145/103085.103089.

Shehata O. Unraveling the JPEG [Electronic resource]. Parametric Press, 2019, Iss. 1. Access mode: https://parametric.press/issue-01/unraveling-the-jpeg.

Guo T., Zhang T., Lim E., López-Benítez M., Ma F., Yu L., A review of wavelet analysis and its applications: Challenges and opportunities. IEEE Access, 2022, № 10, pp. 58869–58903. DOI: 10.1109/ACCESS.2022.3179517.

Selomon D. A Guide to Data Compression Methods. Springer, New York, 2002, 295 p. DOI: 10.1007/978-0-387- 21708-6.

Kotha H. D., Tummanapally M., Upadhyay V. K. Review on Lossless Compression Techniques, Journal of Physics, 2019, Vol. 1228, 6 p. DOI: 10.1088/1742-6596/1228/1/012007.

Miano J. Compressed Image File Format: JPEG, PNG, GIF, XBM, BMP, Addison Wesley. New York, 1999, 264 p. ISBN 0201604434.

Shannon C. E. A Mathematical Theory of Communication. Bell System Technical Journal, 1948, Vol. 27, pp. 379–423, 623–656. DOI: 10.1002/j.1538-7305.1948.tb00917.x.

Ziv J., Lempel A. A universal algorithm for sequential data compression. IEEE Transactions on Information Theory, May 1977, Vol. 23(3), pp. 337–343.

Huffman D. A Method for the Construction of Minimum Redundancy Codes. Proceedings of the IRE, 1952, Vol. 40(9), pp. 1098–1101.

Shportko A. V., Bomba A. Ya, Postolatii V. A. Programming the Formation of Difference Color Models for Lossless Image Compression. Computational Linguistics and Intelligent Systems (COLINS 2023) : Proceedings of the 7th International Conference (Kharkiv, Ukraine, 20–21 april, 2023). CEUR Workshop Proceedings, 2023, Vol. 3403, pp. 53–68. Access mode: http://ceur-ws.org/Vol-3403/paper5.pdf.

Shportko A. V., Bomba A. Ya. Formuvannja kolirnyh modelej z centruvannjam intervaliv riznyc’ komponentiv v procesi progresujuchogo ije-rarhichnogo stysnennja zobrazhen’ bez vtrat. Modeling, control and information technologies (MCIT-2023) : Proceedings of VIth International scientific and practical conference (Rivne, 9–11 november, 2023). Rivne, National university of water and environmental engineering, 2023, pp. 194–197. DOI: 10.31713/MCIT.2023.060.

WinRAR download free and support, version 7.00 [Electronic resource], 2024. Access mode: https://www.winrar.com/start.html?&L=0.

Boutell T. et. al. PNG Specification. Version 1.0. RFC 2083, Boutell. Com, inc. Mar. 1997, 102 p. DOI: 10.17487/RFC2083.

Shportko A. V., Postolatii V. A. Development of Predictors to Increase the Efficiency of Progressive Hierarchic Context-Independent Compression of Images Without Losses. Computational Linguistics and Intelligent Systems (COLINS 2021) : Proceedings of the 5th International Conference (Kharkiv, Ukraine, 22–23 April 2021). CEUR Workshop Proceedings, 2021, Vol. 2870, pp. 1026–1038. Access mode: http://ceur-ws.org/Vol-2870/paper77.pdf.

Moffat A., Neal R. M., Witten I. H. Arithmetic coding revisited. ACM Transactions on Information Systems, 1998, Vol. 16(3), pp. 256–294. DOI:10.1145/290159.290162.

Bomba A. Ya., Shportko A. V., Postolatii V. A. Redistribution of the Compressed Data Between Modified DEFLATEBlocks in the Image Compression Process Without Lossless. Computational Linguistics and Intelligent Systems (COLINS 2024) : Proceedings of the 8th International Conference (Lviv, 12–13 Apr 2024). Volume II: Modeling, Optimization, and Controlling in Information and Technology Systems Workshop (MOCITSW). CEUR Workshop Proceedings, 2024, Vol. 3668, pp. 145–156. Access mode: https://ceurws.org/Vol-3668/paper11.pdf.

Repository links.uwaterloo.ca [Electronic resource]. Access mode: https://links.uwaterloo.ca/Repository.html

Downloads

Published

2026-06-26

How to Cite

Shportko, O. V., & Bomba, A. (2026). THE USE OF DIFFERENCE COLOUR MODELS WITH COMPONENT DIFFERENCE OFFSETS TO IMPROVE THE COMPRESSION OF PNG IMAGES. Radio Electronics, Computer Science, Control, (2), 196–207. https://doi.org/10.15588/1607-3274-2026-2-17

Issue

Section

Progressive information technologies