The official tool for creating grayscale RAW files (.ali), supported by AlbiteREADER.
Java
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
nbproject
src
.gitignore
README.markdown
build.xml
manifest.mf

README.markdown

Usage

Just run it from within the directory containing images for conversion and it will automatically produce their *.ali variants:

java -jar AlbiteImageConverter-0.9.1

Notes:

  1. Only PNG images will be converted, and all other files will be skipped
  2. It works only with transparent PNGs, i.e. it copies the Alpha channel to the output grayscale *.ali image. In other words, if your image is opaque, it will produce a completely white image. On the other hand, it will ignore any info on the RGB channels.

The *.ali File Format

Meaning Type Bytes
Magic number Integer 4
Image width Short 2
Image height Short 2
Image grayscale data byte[] width * height