Images

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:

Image Compression

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.

Kanzi supports these compression formats natively supported by GPUs:

See Compressing textures.

Mipmaps

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.

See also

Importing images

Importing Adobe Photoshop files with layers

Compressing textures

Images and textures best practices

Textures