AVIF vs RAF
A detailed comparison of AVIF Image and Fujifilm RAW — file size, quality, compatibility, and which format to choose for your workflow.
AVIF Image
Raster & Vector ImagesAVIF is a next-generation image format based on the AV1 video codec. It offers significantly better compression than JPEG and WebP while maintaining excellent visual quality, including HDR and wide color gamut support.
About AVIF filesFujifilm RAW
Raster & Vector ImagesRAF is the RAW image format used by Fujifilm cameras, containing unprocessed sensor data with Fujifilm color science.
About RAF filesStrengths Comparison
AVIF Strengths
- Best-in-class compression efficiency — 30-50% smaller than JPEG for the same quality.
- Royalty-free and patent-unencumbered (unlike HEIC).
- Supports alpha transparency, HDR, wide gamut (BT.2020), and up to 12-bit color.
- Progressive decoding: a blurry preview appears while the file is still downloading.
- Supported in all major browsers since late 2022 — no polyfills needed.
RAF Strengths
- Full 14-bit (most bodies) or 16-bit (GFX) sensor data.
- Film simulation recipe stored in metadata.
- X-Trans sensor produces distinctive moiré-free rendering.
- Supports every classic Fuji film-simulation look.
Limitations
AVIF Limitations
- Encoding is CPU-expensive — an AVIF export can take 10-30× longer than JPEG.
- Older software (pre-2022) cannot open AVIF without plugins.
- Email clients still largely ignore it — stick to JPEG for attachments.
- Metadata support (EXIF, XMP) exists but tooling is less mature than for JPEG.
RAF Limitations
- X-Trans demosaicing is the hardest raw problem to solve cleanly.
- Third-party tools rarely match Fuji's own rendering.
- Proprietary with no official spec.
- GFX RAF files are massive (150+ MB per shot).
Technical Specifications
| Specification | AVIF | RAF |
|---|---|---|
| MIME type | image/avif | image/x-fuji-raf |
| Container | HEIF (ISOBMFF) | Fujifilm proprietary TIFF-like |
| Codec | AV1 (intra-only) | — |
| Max dimensions | 65 536 × 65 536 px | — |
| Color depth | Up to 12-bit per channel | — |
| Color spaces | sRGB, Display-P3, BT.2020, arbitrary ICC | — |
| Extension | — | .raf |
| Sensor arrays | — | X-Trans (APS-C), Bayer (GFX medium-format) |
| Bit depth | — | 14-bit (X-series); 16-bit (GFX) |
Typical File Sizes
AVIF
- Thumbnail (400px) 10-30 KB
- Web photo (1920px) 80-300 KB
- 4K photo (3840px) 300 KB - 1.2 MB
- Lossless copy of 24MP photo 8-15 MB
RAF
- 26 MP RAF (X-T4, X-T5) 40-55 MB
- 40 MP RAF (X-H2, X-T5 40MP) 60-80 MB
- 102 MP RAF (GFX 100 II) 150-220 MB
Ready to convert?
Convert between AVIF and RAF online, free, and without installing anything. Encrypted upload, automatic deletion after 2 hours.
Frequently Asked Questions
AVIF (AV1 Image File Format) is a cutting-edge image format derived from the AV1 video codec, backed by the Alliance for Open Media. It delivers up to 50% smaller files than JPEG with equal or better visual quality, plus HDR and transparency support.
RAF (Fujifilm RAW) is an image format used to store raster graphics — a two-dimensional grid of pixels describing a picture. It is part of the raster & vector images family and designed around a specific trade-off between file size, visual fidelity, and feature support (transparency, colour depth, compression type). Photographers, web designers, and content creators choose RAF when its particular strengths match the publishing target.
AVIF files open in Chrome, Firefox, Safari (from macOS Ventura), Edge, and GIMP 2.10+. Support is growing rapidly, but some older image editors may not yet handle AVIF natively.
Most desktop photo viewers (Windows Photos, macOS Preview, GIMP, Photoshop, Affinity Photo) open RAF natively. On mobile, iOS Photos and Google Photos display RAF in the gallery when supported by the OS. If the format is rare or new, convert to JPG or PNG first — both are universally readable — using our RAF to JPG or RAF to PNG converter.
AVIF provides better compression and quality than WebP, especially for photographs. However, WebP has broader software support today. Use AVIF for maximum performance on modern browsers and WebP as a reliable fallback.
Upload the RAF to KaijuConverter and pick a target format (JPG, PNG, WebP, HEIC, TIFF, BMP, SVG, PDF). The conversion runs in the browser via ImageMagick and returns a download in seconds. No account or installation required; both input and output delete automatically within two hours.