Free webp to jpg
Image MIME Reference
KTX2

Khronos Texture 2.0

image/ktx2
VS

PWG Raster Format

image/pwg-raster
PWG-Raster

A complete technical comparison of Khronos Texture 2.0 and PWG Raster Format — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.

Equal browser support

Feature Support

Feature KTX2 PWG-Raster
Transparency (Alpha) Yes ✕ No
Animation Support ✕ No ✕ No
Progressive Loading ✕ No ✕ No
HDR Support Yes ✕ No
EXIF Metadata ✕ No ✕ No
ICC Color Profile ✕ No ✕ No
Khronos Texture 2.0
image/ktx2
Extension
.ktx2
Container KTX 2.0
Compression Basis Universal (ETC1S / UASTC) / Zstandard (zstd) Supercompression / Uncompressed
Algorithm
ETC1SUASTCZstandard (zstd)Raw GPU Formats (ASTC, BCn)
Color Depth 8-bit, 16-bit, 32-bit (Float)
Developed by Khronos Group
Released 2021
Magic Bytes
AB 4B 54 58 20 32 30 BB 0D 0A 1A 0A
Full KTX2 reference →
PWG Raster Format
image/pwg-raster
Extension
.pwg.ras
Container CUPS Raster v2 Container
Compression PackBits (Run-Length Encoding)
Algorithm
PackBits (Apple RLE variant)
Color Depth 1-bit (Monochrome/K), 8-bit (Grayscale), 24-bit (sRGB / Adobe RGB), 32-bit (CMYK)
Developed by IEEE-ISTO Printer Working Group (PWG)
Released 2011
Magic Bytes
52 61 53 32
Full PWG-Raster reference →

Browser Support Comparison

Browser KTX2 PWG-Raster
Chrome Chrome
Firefox Firefox
Safari Safari
Edge Edge
IE IE (Legacy)
KTX2

KTX2 Strengths

  • Universal hardware compatibility: write once, transcode anywhere to the target GPU's preferred format (ASTC, BC7, PVRTC, etc.)
  • Drastically reduces transmission size over networks thanks to Basis Universal and Zstandard supercompression
  • Seamless integration with the glTF ecosystem for optimized 3D asset delivery
Limitations
  • Requires WebAssembly (Wasm) decoders and JavaScript loaders for web viewing, increasing initial application payload slightly
  • Encoding textures into high-quality Basis Universal UASTC can be computationally intensive and slow
  • Zero support in traditional 2D image viewers or native OS previews
PWG-Raster

PWG-Raster Strengths

  • The undisputed global standard for modern, driverless printing environments, eliminating the nightmare of installing manufacturer-specific print drivers
  • Extremely lightweight to decode on embedded hardware, requiring minimal RAM buffers on the printer side
  • Strict color space and resolution rules guarantee that the printed output will successfully process without syntax errors
Limitations
  • Generates massive file sizes and network payloads compared to vector-based formats like PDF or PostScript, as every page is fully rasterized at 300+ DPI before transmission
  • No support for native rendering in web browsers, image viewers, or graphic design software without specialized CUPS developer tools
  • Cannot store complex metadata, vector text, or layers

When to choose which format

KTX2
Use KTX2 when…
  • glTF 3D Models (KHR_texture_basisu)
  • WebGPU and WebGL Applications
  • Game Engines (Unity, Unreal, Godot)
  • Augmented and Virtual Reality (AR/VR)
PWG-Raster
Use PWG-Raster when…
  • Driverless Network Printing (IPP Everywhere)
  • Apple AirPrint and Mopria Print Service Pipelines
  • CUPS (Common UNIX Printing System) Spooling
Share this comparison