libpaa is a small library to convert images into ArmA's (Bohemia Interactive) .paa texture format. This library uses
DevIL image manipulation library internally.
libpaa.soshared library with the public API defined in
paacCLI to convert any image into .paa texture
This library can convert any image format which DevIL supports into a
.paa texture file.
However only the first and active image is used. Cubemaps are not supported.
It is not possible to convert
.paa texture back into an image, yet.
- Supported PAA types are
- MipMaps are automatically generated.
- The first MipMap will be LZO compressed.
Please note that DDS graphics have a lossy compression!
Taken from header file
int ConvertTexture(const char* InFile, const char* OutFile);
InFilepath to the input image
OutFilepath to the output texture (with
stdbool.h) true on success, false on failure
This project uses CMake:
mkdir cmake-build cd cmake-build/ cmake .. make