Kraken Logo

Kraken Engine

DocumentationGuidesShowcaseCommunity
Ctrl
K
Navigating the Docs
Building Docs
The Input Types
Formats and Codecs
Framework Comparison
Constants
Event Attributes
Changelog

Built bydurkisneer1.Kraken Engine is open source and available onGitHub.

  1. Docs
  2. Manual
  3. Formats And Codecs

Formats and Codecs

Supported image formats and audio codecs in PyKraken.

PyKraken supports a wide variety of image and audio formats. Below is a comprehensive list of what is currently supported out of the box.

Image Formats

The following image formats are supported for use with Texture and PixelArray:

  • PNG (.png) - Recommended for lossless images with transparency.
  • JPEG (.jpg, .jpeg) - Ideal for photos and high-detail images without transparency.
  • SVG (.svg) - Scalable Vector Graphics.
  • TGA (.tga) - Truevision TGA.

Audio Codecs

The following codecs are supported for use with Sample and Stream:

  • Vorbis (.ogg) - Recommended for music streams and long clips.
  • Opus (.opus) - Modern, high-efficiency codec for voice and music.
  • MP3 (.mp3) - Standard lossy audio format.
  • FLAC (.flac) - Free Lossless Audio Codec, ideal for high-fidelity audio.
  • WAV (.wav) - Uncompressed or standard PCM audio, ideal for short samples.

For loading these resources, see the Mixer function reference and the Texture and PixelArray class references.

PreviousThe Input Types
NextFramework Comparison

On this page

Image FormatsAudio Codecs