A downloadable tool for Windows

Download NowName your own price

A Windows command line tool for converting indexed or truecolor PNG files to classic Amiga IFF format.

It supports color quantization, palette remapping, and multiple dithering modes.

Very useful for batch converting many PNG images to IFF.


How to use

Convert PNG images to Amiga ILBM/IFF format, with optional palette quantization, remapping, dithering, and ByteRun1 compression.

Input Modes

Choose one of the following input modes:

  • --input <path> Convert a single PNG file.
  • --all <folder> Convert all .png files in a folder.
  • --match <pattern> Convert files matching a pattern, such as background*.png.

Palette Options

  • --quantize <2-256> Automatically generate a palette with the specified number of colors.
  • --remap <palette.pal> Remap the image using a JASC .PAL palette.

If neither --quantize nor --remap is used, and the input file is an indexed PNG, the source palette is preserved.

Output

  • --output <path> Set the output ILBM/IFF file path. This option is only available when converting a single input file.

If --output is omitted, the output file is written as <input>.iff.

Dithering

  • --dither <type> Select the dithering method.
  • --strength <0-100> Set the dithering strength. The default value is 25.

Supported dithering types:

  • none
  • bayer2
  • bayer4
  • bayer8
  • checks
  • hatch
  • diagonal
  • horizontal
  • vertical
  • fs
  • atkinson
  • jjn
  • stucki
  • burkes
  • sierra
  • sierra2
  • sierraLite

Compression

  • --byterun1 <on|off> Enable or disable ILBM ByteRun1 compression. The default is on.

Other Options

  • --help Show the help screen.
  • --version Show the product name, version, and copyright.

Examples

Convert a PNG and automatically generate a 32-color palette:

png2iff --input logo.png --quantize 32

Convert a PNG and choose the output filename:

png2iff --input logo.png --output logo.iff --quantize 32

Convert all PNG files in a folder:

png2iff --all sprites --quantize 32

Convert files matching a pattern:

png2iff --match background*.png --quantize 32

Remap using a palette and apply Floyd–Steinberg dithering:

png2iff --input logo.png --output logo.iff --remap palette.pal --dither fs --strength 40
Updated 14 days ago
StatusReleased
CategoryTool
PlatformsWindows
Rating
Rated 5.0 out of 5 stars
(1 total ratings)
Authorzooperdan
ContentNo generative AI was used

Download

Download NowName your own price

Click download now to get access to the following files:

png2iff_0.5.zip 770 kB

Development log