Skip to content

dumbledore/AlbiteImageConverter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

The official tool for creating grayscale RAW files (.ali), supported by AlbiteREADER.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages