Free webp to jpg
Image MIME Reference
Canon-CR2

Canon Raw Version 2

image/x-canon-cr2
VS

Free Lossless Image Format

image/flif
FLIF

A complete technical comparison of Canon Raw Version 2 and Free Lossless Image Format — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.

Equal browser support

Feature Support

Feature Canon-CR2 FLIF
Transparency (Alpha) ✕ No Yes
Animation Support ✕ No Yes
Progressive Loading ✕ No Yes
HDR Support Yes Yes
EXIF Metadata Yes Yes
ICC Color Profile Yes Yes
Canon Raw Version 2
image/x-canon-cr2
Extension
.cr2
Container TIFF
Compression Lossless JPEG (ITU-T81)
Algorithm
Lossless JPEG (ITU-T81)
Color Depth 12-bit (Per Channel), 14-bit (Per Channel)
Developed by Canon Inc.
Released 2004
Magic Bytes
49 49 2A 00 10 00 00 00 43 52 02 00
Full Canon-CR2 reference →
Free Lossless Image Format
image/flif
Extension
.flif
Container FLIF Bitstream
Compression Lossless (MANIAC Entropy Coding)
Algorithm
MANIAC (Meta-Adaptive Near-zero Integer Arithmetic Coding)
Color Depth 1-bit to 16-bit (Per Channel), Grayscale, RGB, RGBA, CMYK
Developed by Jon Sneyers and Pieter Wuille (Cloudinary)
Released 2015
Magic Bytes
46 4C 49 46
Full FLIF reference →

Browser Support Comparison

Browser Canon-CR2 FLIF
Chrome Chrome
Firefox Firefox
Safari Safari
Edge Edge
IE IE (Legacy)
Canon-CR2

Canon-CR2 Strengths

  • Retains maximum sensor data, allowing extreme recovery of highlights and shadows that would be permanently lost in a JPEG
  • White balance and color profiling are not 'baked in', meaning they can be completely altered in post-production without degrading the image
  • Lossless compression ensures perfect pixel accuracy while reducing file size compared to fully uncompressed formats
Limitations
  • Proprietary format means it requires constant updates to raw processing engines (like Adobe Camera Raw) every time Canon releases a new camera model
  • Produces very large file sizes (often 20MB to 40MB per image depending on sensor resolution)
  • Cannot be directly embedded into web pages or used in standard HTML/CSS contexts
FLIF

FLIF Strengths

  • Achieves some of the highest lossless compression ratios ever developed for raster images
  • Incredible progressive decoding allows an image to be highly recognizable even after only 5% of the file has been downloaded
  • Supports animations and complex alpha channels losslessly
Limitations
  • Officially abandoned in favor of JPEG XL
  • Zero native support in web browsers or standard operating system previewers
  • Encoding speed can be significantly slower than standard PNG or WebP compression

When to choose which format

Canon-CR2
Use Canon-CR2 when…
  • Professional Digital Photography
  • Non-destructive Image Post-Processing
  • High Dynamic Range (HDR) Imaging Archival
FLIF
Use FLIF when…
  • Archival of Uncompressed Image Assets
  • Bandwidth-Constrained Progressive Image Loading (Historical)
  • Medical and Scientific Imaging Storage
Share this comparison