mirror of
https://frontier.innolan.net/github/AmigaExamples.git
synced 2025-12-08 18:06:57 +00:00
1.3 KiB
1.3 KiB
imagecon
Generate amiga data/files from a PNG image file.
usage
imagecon: --input <input.png> [options]
Options:
--output <output prefix>
--colors <max colors>
--quantize
--output-palette
--override-palette <palette file>
--verbose
The following files will be generated:
- .bin binary interleave bitplane data
- -copper-list.s m68k assembler syntax copper list with no symbols
- .pal (optional) palette file listing the palette colors as hex
options
--output > Specify the prefix for the output file set. Extentions will be added to this. Default is the input file name minus the extension.
--colors > Specify the maximum number of colors allowed in the palette. Acceptable values are from 2 to 32.
--quantize Convert the image to use less colors.
--output-palette Generate a palette file of the final palette used. Output will be the output file with the ".pal" extension.
--override-palette > Specify a palette file to use that will override the image or quantized palette. Also overrides the --colors option.
--verbose Display debugging information
example
./imagecon --input full_color.png --output image-data --quantize --colors 32 --palette