Referenced by AddCosmics(), main(), mkimage_dither_files(), mkimage_single_files(), and write_reference_files().