Main site Help Coding Download Language(EN)
Welcome on CANI.COM.PL
Help
CANI is a file format that stores compressed animation frames (lossless compression).
There are 11 ways to save the image.
These include:
- RGB
- RGB16
- YUV444
- YUV422
- YUV411
- YCbCr
- YCbCr422
- YCbCr411
- CMYK
- GRAY
- PALETTE
The "differential" record means that the difference between the current and previous frame is recorded.
RGB saves color component values ​​as a 24 bit variable, while RGB16 as a 16 bit variable.
When saving the animation we also have the option "Alpha differentiation".
Selecting this option means that the alpha channel will also be saved as the difference between the current and previous frame.
Enabling this option also means that the alpha channel will be saved for each frame.
If you turn this option off, the alpha channel will be saved only for frames for which the "Set alpha channel for this frame" option is checked.
If we check the "Set alpha channel for all frames" option then all frames will contain one selected the same alpha channel value.

As for the mask creation priority, i.e. alpha channel values, the order is:
1 - create alpha channel values for a given frame based on the background color set
2 - create alpha channel values according to the mask saved for the given frame
3 - create alpha channel values according to the main mask saved for all frames


LCAF is a file format that stores compressed animation frames (lossy compression).
When saving the animation as LCAF, we specify the recording quality of images and transparency channels as a percentage, i.e. between 1 and 100.