Use image files to bring bitmap assets to Kanzi Studio.
Use image files to bring bitmap assets to Kanzi Studio. You can import images to Kanzi in these file formats:
While most image formats contain pixel data in compressed form, the data is usually taken into GPU uncompressed. However, when images are stored in compression formats that are natively supported by GPUs, images are transferred and stored on the GPU in a compressed form. This reduces the time needed for uploading the image data to the GPU and can boost the performance.
The best performing compression level depends on your target device. High compression uses more CPU but less bandwidth, low compression uses less CPU but more bandwidth.
Kanzi supports these compression formats natively supported by GPUs:
See Compressing textures.
Mipmaps are pre-calculated collections of images that increase the rendering speed and reduce rendering artifacts.
The compression of images and the generation of mipmaps take some time. Kanzi asks you to preprocess the images before exporting the kzb file. Because your Kanzi application can run without the preprocessed data, if the preprocessed data is not available, your application runs without it. See Using mipmaps.
Importing Adobe Photoshop files with layers