Free webp to jpg
Image MIME Reference
JPEG-AI-Sequence

JPEG AI Image Sequence

image/jais
VS

Pentax Electronic File

image/x-pentax-pef
Pentax-PEF

A complete technical comparison of JPEG AI Image Sequence and Pentax Electronic File — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.

Equal browser support

Feature Support

Feature JPEG-AI-Sequence Pentax-PEF
Transparency (Alpha) Yes ✕ No
Animation Support Yes ✕ No
Progressive Loading Yes ✕ No
HDR Support Yes Yes
EXIF Metadata Yes Yes
ICC Color Profile Yes Yes
JPEG AI Image Sequence
image/jais
Extension
.jais
Container ISOBMFF / HEIF Image Sequence
Compression Lossy (Variational Autoencoder / Neural Network)
Algorithm
Deep Neural Network (Variational Autoencoder with Hyperpriors)
Color Depth 8-bit, 10-bit, 12-bit, 16-bit, Wide-gamut & HDR
Developed by Joint Photographic Experts Group (ISO/IEC JTC 1 / ITU-T)
Released 2025
Magic Bytes
.. .. .. .. 66 74 79 70 6A 61 69 73 (Size + ftypjais)
Full JPEG-AI-Sequence reference →
Pentax Electronic File
image/x-pentax-pef
Extension
.pef
Container TIFF-based (Proprietary)
Compression Uncompressed / Proprietary Lossless
Algorithm
NonePentax Proprietary Lossless
Color Depth 12-bit (Per Channel), 14-bit (Per Channel)
Developed by Pentax (now Ricoh Imaging Company, Ltd.)
Released 2003
Magic Bytes
49 49 2A 00 (Little-endian) or 4D 4D 00 2A (Big-endian)
Full Pentax-PEF reference →

Browser Support Comparison

Browser JPEG-AI-Sequence Pentax-PEF
Chrome Chrome
Firefox Firefox
Safari Safari
Edge Edge
IE IE (Legacy)
JPEG-AI-Sequence

JPEG-AI-Sequence Strengths

  • Extends the state-of-the-art compression efficiency of JPEG AI to multi-frame image sequences and short animations
  • Allows machine vision algorithms to process temporal sequences (like surveillance bursts) directly in the compressed latent domain, saving immense computational power
  • Utilizes the robust, industry-standard ISOBMFF container for metadata, timing, and multi-track encapsulation
Limitations
  • Lacks native decoding support in current web browsers, operating systems, and video players
  • Decoding neural-network-compressed sequences requires significant compute overhead on hardware lacking dedicated AI accelerators (NPUs/GPUs)
  • Adoption is hindered by competition with established sequence formats like AVIF, HEVC (HEICS), and modern video codecs
Pentax-PEF

Pentax-PEF Strengths

  • Retains absolute maximum sensor data, enabling massive shadow recovery and highlight protection compared to compressed in-camera JPEGs
  • White balance and sharpening are saved as metadata instructions rather than 'baked in', meaning they can be perfectly adjusted in post-production
  • Utilizes the standard TIFF container structure, making it relatively straightforward for open-source software like LibRaw to parse
Limitations
  • Proprietary format requires continuous updates to third-party processing software whenever Pentax releases a new camera model (unlike the open DNG format)
  • Produces very large file sizes compared to standard web formats
  • Cannot be directly embedded into web pages or used in standard HTML/CSS contexts

When to choose which format

JPEG-AI-Sequence
Use JPEG-AI-Sequence when…
  • Machine Vision and AI Video/Burst Workflows
  • Cloud Storage Animation Optimization
  • Focal Stacks and Medical Volumetric Slices
  • Visual Surveillance Sequences
Pentax-PEF
Use Pentax-PEF when…
  • Professional Digital Photography
  • Non-destructive Image Post-Processing
  • Pentax Camera Archival
Share this comparison