Information in this article applies to:
Article ID: NSC2314 — Created: 24 Aug 2020 — Reviewed: 19 Oct 2020
PNG has been selected as the image file format for uScope Navigator. PNG image files require significantly more disk space than JPEG image files. What can be done to reduce the size of the PNG images?
There are two file format options when scanning: JPEG and PNG.
PNG images saved by uScope Navigator are compressed but are not optimized and could be further reduced in size.
When PNG output files are selected, uScope Navigator saves field images and deep zoom images as PNG files which are compressed. Third-party tools can optimize and re-compress PNG images even further and may provide an extra level of compression.
For testing purposes, we used OptiPNG and ImageOptim to compress a 19.4 GigaByte folder of 4,731 PNG images with an average size of 4.1 MegaBytes. The results are shown in the following table.
Parameter | uScope Navigator Compression | OptiPNG Compression (Default Settings) | ImageOptim Compression (Default Settings) |
---|---|---|---|
Folder Size (bytes) | 19,444,071,662 | 11,209,410,958 | 11,191,569,632 |
Average File Size (bytes) | 4,109,928 | 2,369,353 | 2,365,582 |
Compression Ratio | - | 1.73:1 | 1.74:1 |
Compression Savings | - | 42.35% | 42.44% |
Note
Optimizing PNG images is a slow process. It took several hours for both OptiPNG and ImageOptim to optimize the 4,000+ files in our test case.