png2iff
A downloadable tool for Windows
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.pngfiles in a folder. -
--match <pattern>Convert files matching a pattern, such asbackground*.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.PALpalette.
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 is25.
Supported dithering types:
nonebayer2bayer4bayer8checkshatchdiagonalhorizontalverticalfsatkinsonjjnstuckiburkessierrasierra2sierraLite
Compression
-
--byterun1 <on|off>Enable or disable ILBM ByteRun1 compression. The default ison.
Other Options
-
--helpShow the help screen. -
--versionShow 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 |
| Status | Released |
| Category | Tool |
| Platforms | Windows |
| Rating | Rated 5.0 out of 5 stars (1 total ratings) |
| Author | zooperdan |
| Content | No generative AI was used |
Download
Click download now to get access to the following files:
Development log
- png2iff 0.5 updates and changes14 days ago
- png2iff 0.4 updates and changes90 days ago
- Updated and improved99 days ago
