Image Optimizer

Batch image optimization with quantization, dithering, and GPU compression

Overview

The Optimizer tab provides batch image optimization with multiple techniques for reducing file sizes while preserving visual quality. It supports color quantization, dithering, resize, compression tuning, and GPU texture compression as a post-processing step.

Color Quantization

Reduce color palettes with 6 algorithms optimized for different content types.

Dithering

6 dithering methods to smooth color transitions after quantization.

Resize & Quality

Configurable resize, quality level, and format-specific compression settings.

GPU Compression

Apply GPU texture compression as a post-processing step with DDS/KTX2 output (Beta).

Color Quantization

Quantization reduces the number of colors in an image to compress file size. Choose the algorithm based on your content:

AlgorithmDescriptionBest For
Median CutClassic palette generation via recursive color space subdivisionGeneral purpose
Max CoverageMaximizes coverage of the color rangeImages with wide color spread
Fast OctreeTree-based quantization, fast and memory efficientPixel art, retro graphics
libimagequantHigh-quality external quantizer with perceptual optimizationHighest visual quality
pngquantPNG-focused quantization (default)PNG files, web assets
ImageMagickVia Wand integration, broad format supportComplex or large images

Dithering

Dithering helps smooth transitions between colors after quantization by introducing controlled noise patterns:

MethodDescriptionBest For
NoneNo dithering appliedPixel art, clean flat colors
Floyd-SteinbergClassic error diffusion (default)General purpose, smooth gradients
Ordered (Bayer)8×8 Bayer matrix ordered ditheringRetro look, consistent patterns
Blue NoiseSpectral noise-shaped ditheringNatural-looking results
AtkinsonReduced error diffusion variantSharper output with less bleed
RiemersmaHilbert curve-based diffusionFewer directional artifacts

Color Modes

ModeChannelsDescription
Keep originalVariesPreserve the source color mode as-is
RGBA (32-bit)4Force to full color with alpha
RGB (24-bit)3Remove alpha channel
Grayscale + Alpha2Luminance with transparency
Grayscale1Single luminance channel

Optimization Presets

Pre-configured settings for common workflows:

PresetQuantizeDitherMax ColorsUse Case
LosslessNoRecompress only, no color reduction
All AroundYesFloyd-Steinberg256Balanced quality and compression
Pixel ArtYesNone256Clean edges, no dithering artifacts
Heavy TransparencyYesFloyd-Steinberg256Preserves alpha channel detail
AggressiveYesFloyd-Steinberg64Maximum compression, lower quality
CustomConfigurableAny2–256Full control over all parameters

GPU Compression Post-Processing

The Optimizer can apply GPU texture compression as a final step, outputting DDS or KTX2 files. This is useful for preparing existing images for game engines without going through the full atlas generation pipeline.

See the GPU Texture Compression page for supported formats and external tool requirements.

Supported Input Formats

The Optimizer accepts these image formats as input:

  • PNG (.png)
  • JPEG (.jpg, .jpeg)
  • BMP (.bmp)
  • TIFF (.tiff, .tif)
  • WebP (.webp)

More resources