4.35 kB

(-78.31%)
20.05 kB
Download
Upload new file

Expert mode

Offers more options to compress your image.

Reset parameters

Preprocessing

Size (%)

Defines the dimensional size of the resulting image.

Trim

Removes any borders or edges of an image which did does not change in color or transparency.

Trim fuzz (%)

Defines a threshold for colors that are not-exactly the same, but should be treated as being the same.


Brightness

Adjusts the brightness of the resulting image.

Contrast

Adjusts the contrast of the resulting image.


Blurring radius (px)

The Selective Blur is used to blur a background so it can be better compressed.

Contrary to other blur algorithms, the Selective Blur doesn't act on all pixels: blur is applied only if the difference between its value and the value of the surrounding pixels is less than a defined threshold value. So, contrasts are preserved because difference is high on contrast limits.

Blurring threshold (%)

The Selective Blur is used to blur a background so it can be better compressed.

Contrary to other blur algorithms, the Selective Blur doesn't act on all pixels: blur is applied only if the difference between its value and the value of the surrounding pixels is less than a defined threshold value. So, contrasts are preserved because difference is high on contrast limits.

Compression

Bit depth

8 bit
Creates a PNG with max. 256 colors and transparency.
24/32 bit
Creates a truecolor PNG with transparency if needed.

More in my article Finally understanding PNG (#Color depths).

Colors

Specifies the amount of colors used to display the image.

More in my article Finally understanding PNG (#Use 8-bit color depth).


Dithering

Dithering is the process by which we create illusions of the color that are not present actually. It is done by the random arrangement of pixels.

Extreme compression

Use more processor power to get a smaller image without affecting the image quality.
Be careful: This is time-intensive and is only used with 8 Bit PNGs.

Quality (%)

Posterizes the image. Posterization entails conversion of a continuous gradation of tone to several regions of fewer tones, with abrupt changes from one tone to another.

Compression view

Here you can see how efficient the compression of this PNG file is. Dark blue means this area could be well compressed and red means poorly compressed. You can use it for different things:

Dirty transparency detection
If you have fully transparent areas that are not shown in dark blue you know that there are visible pixels (perhaps with just 1% opacity) you should delete.
Broken repetition detection
If you have two objects in your PNG that should be absolutely equal but the second one is not shown in dark blue you know that they are not exatly the same. So you are losing much compression potential. Open the PNG in your graphics program to copy the object pixel-perfect. Remember the 32k sliding window imposed by the Deflate algorithm.

You want to learn about PNG?

Learn more about PNG compression in my article Finally understanding PNG.

News
2021-05-08 Bielefeld, Germany

In order to push compress-or-die.com a little bit, I'm looking for testimonials who would like to be published on the website with a fancy picture. If you are interested, feel free to reply to this tweet or write me: compress-or-die.com/feedback

Open tweet 2 4