Image Optimization

With image optimization, all images are optimized for the web. The quality of the image is adjusted so that the size of the image is significantly reduced without any visible changes. Images can also be automatically converted to WebP and/or AVIF.

Settings

Convert to AVIF

The image is converted to AVIF. The URL of the image does not change. Browsers that do not support AVIF images receive an optimized version of the original image, or an optimized WebP version, depending on the Convert to WebP setting. Only JPEG and PNG images are converted.

AVIF Quality

Represents the level of compression. The default value is 75%, which means that smoxy tries to compress the image to 25% of the original image size without losing quality.

Convert to WebP

The image is converted to WebP. The URL of the image does not change. Browsers that do not support WebP images receive an optimized version of the original image. Only JPEG and PNG images are converted.

WebP Quality

Represents the level of compression. The default value is 75%, which means that smoxy tries to compress the image to 25% of the original image size without losing quality.

JPEG Quality

smoxy attempts to compress the image as much as possible using various algorithms that can detect visual differences. A value of 1.0 means there is no change, the default value of 0.9997 allows smoxy to have a visual difference of 0.003%.

JPEG Min Quality

Sets the minimum image quality.

JPEG Max Quality

Sets the maximum image quality.

JPEG Method

This option provides various algorithms for image compression and quality optimization in JPEG files. You have the option to choose between different methods to find the best balance between file size and image quality for your specific needs. Here are the available choices:

SSIM (Structural Similarity Index) - default setting

  • SSIM is a method for assessing the structural similarity between the compressed image and the original.

  • This method aims to maintain image quality by minimizing visual differences.

  • SSIM optimization is ideal when image quality is critical and file size is less important.

MPE (Maximum Peak Error)

  • MPE focuses on minimizing the maximum peak error between the original image and the compressed version.

  • This method is useful to ensure that there is no drastic loss of quality in critical areas of the image.

  • Suitable for when certain parts of the image need to be highlighted.

SmallFry

  • The SmallFry method focuses on very strong compression to drastically reduce file size.

  • Here the image quality is taken into account in order to achieve the smallest possible file size.

  • Ideal for situations where file size is critical and image quality is less of a priority.

You can choose any of the JPEG methods above depending on your individual needs. The choice depends on factors such as the desired image quality, the available bandwidth and the intended use of the images.

PNG Min Quality

Sets the minimum image quality.

PNG Max Quality

Sets the maximum image quality.

Last updated