# ImageOptim-asetukset

« Takaisin etusivulle

## Yleiset asetukset

Poista PNG:n metadata (gamma, väriprofiilit, valinnaiset lohkot)

  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.

  Myös muita tietoja poistetaan, kuten DPI ja kommentit.

Poista JPEG:n metadata (EXIF, väriprofiilit, GPS, kierto jne.)

  Poistaa kuvan metadatan, kuten väriprofiilit, valotusajan, GPS-koordinaatit, kameran mallin ja kuvan luontiin käytetyn ohjelmiston nimen.

  Myös upotetut tekijänoikeustiedot poistetaan. Huomaa, että yleisesti ottaen tekijänoikeuslaki suojaa kuvia riippumatta siitä, onko niissä näkymätöntä metadataa vai ei.

Säilytä tiedostojen oikeudet, määritteet ja kovat linkit

  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.

  On hieman nopeampaa olla säilyttämättä lupia.

### Työkalut

Zopfli and PNGOUT are very good PNG compressors, but are very slow. Disable them if you need to optimize 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 optimizing special files that use alpha channel for something else than transparency (e.g. heightmap in game data files).

SVGO works only if you have Node.js installed using the official installer or Homebrew (nvm is not supported).

## Quality

Lossy minification

  If lossy minification is off, optimization will be lossless. Pixels won't change and optimizations will only remove invisible metadata. This gives larger files, but is safe to run on any file any number of times.

  If lossy minification is on, then images with quality higher than configured, will be converted to have lower quality. This usually gives images that still look good, and gives much much smaller files.

## Optimoinnin taso

At fastest level optimizations will take only few seconds per image. Fast setting is recommmended for MacBook Air and older Macs.

Slower levels compress a little better, but take much more time. Large PNG files may take several minutes to compress.

The slowest level is very very slow, even on the fastest Mac available.