fontWriteUncompressed

Home


The fontWriteUncompressed function allows you to write an uncompressed pack file.

Prototype

bool fontWriteUncompressed(char*filename);

Parameters

filename
The name of the pack file you'd like to save

Remarks

There is a fontWriteCompressed algorthm in the original library, however, it takes 100k to remove 300bytes of information. If you'd like to compress the files, you can use your own compression algorthms and use LoadRW() to load a char* of the file.

Error Codes

This function returns false if image failed to load. true if image was successful