# ImageOptim Preferences

« Back to index

## General preferences

Preserve file permissions, attributes and hardlinks

  Instead of deleting old file writing a new one with the same name, just replaces old file's content in-place. This ensures that all hardlinks, aliases, file ownership, permissions, extended file attributes will stay the same.

  It's slightly faster not to preserve permissions.

Strip PNG metadata (gamma, color profiles, optional chunks)

  PNG files can have different brightness and saturation in different browsers, because not all browsers support gamma correction and color profiles features equally. Removal of this information makes PNG color more consistent across browsers and reduces file size.

  Other invisible information is removed as well, such as DPI and comments.

Strip JPEG metadata (EXIF, color profiles, GPS, rotation, etc.)

  Removes image metadata, such as color profile, exposure time, GPS coordinates, camera model and name of software used to create the file.

  Embedded copyright information is removed as well. Please note that generally images are protected by copyright law regardless whether they contain such invisible metadata or not.

## Tools

Zopfli and PNGOUT are very good PNG compressors, but are very slow. Disable them if you need to optimise PNG files quickly (leave only AdvPNG for fastest, but still good compression).

Zopfli and OptiPNG will clean RGB values of transparent pixels (known as “dirty alpha”). Disable these two tools if you're optimising special files that use alpha channel for something else than transparency (e.g. heightmap in game data files).

## JPEGOptim

Maximum quality

  If set to 100%, optimisation will be lossless.

  Anything below 100% will cause lower quality of files if they appear to have been saved with higher quality setting.

## PNGOUT

Optimisation type

  PNGOUT is very effective, but very slow. Use lower level if you're impatient.

Interrupt if takes too long

  PNGOUT may need a lot of time to optimise very large images. This option gracefully interrupts PNGOUT after 1 minute.

## OptiPNG

Optimisation level

  Number of different setting combinations tested. It rarely makes sense to try them all.

Make images interlaced (progressive)

  Interlaced images look better when they're loaded partially, but usually interlace makes compression less efficient.

  This checkbox has three states: if checked, will force images to be interlaced. When mixed, it will keep file's interlace unchanged, unchecked will remove interlace from files.

## Gifsicle

For best compression, you should convert GIF files to PNGs (ImageOptim does not do that automatically).