Drag files or click to select
Convert files online
Drag files or click to select
Convert files online
What is DNG to AVIF conversion?
DNG to AVIF conversion transforms Adobe's open Digital Negative RAW format into the cutting-edge AV1 Image File Format. DNG was introduced by Adobe in 2004 as an open RAW standard, providing a vendor-neutral alternative to proprietary formats like Nikon NEF, Canon CR3, and Sony ARW. The DNG specification is publicly documented, ensuring long-term software compatibility and archival stability.
DNG is used natively in Google Pixel smartphones (generations 4 through 9), OnePlus Pro models, Leica M-series rangefinders, Hasselblad X-series medium format cameras, and Sigma fp full-frame cameras. Pixel devices use Computational HDR+ technology where multiple frames are merged in software to produce RAW files with extended dynamic range and improved detail.
AVIF (AV1 Image File Format) is a next-generation image format introduced in 2019 by the Alliance for Open Media consortium. AVIF is based on the AV1 video codec, jointly developed by Google, Mozilla, Cisco, Microsoft, Netflix, Amazon, Intel, and other major technology companies. It is a royalty-free, open, and patent-unencumbered format specifically created as a replacement for legacy image formats.
AVIF delivers impressive compression: research shows AVIF produces files 50% smaller than JPG at equivalent visual quality and 20% smaller than WebP. This means a Hasselblad X2D photo that weighs 100 MB as DNG can become a 300-500 KB AVIF file at excellent quality. For modern websites where loading speed is critical, AVIF is the optimal choice.
AVIF also natively supports 10-bit and 12-bit color depth (HDR), wide color gamut, transparency through alpha channel, and animation. Browser support is rapidly growing: Chrome, Firefox, Edge, and Opera fully support AVIF, while Safari added support in iOS 16 and macOS Ventura.
Technical comparison: DNG vs AVIF
DNG and AVIF represent opposite ends of the photographic spectrum: maximum RAW flexibility versus cutting-edge web format efficiency.
| Characteristic | DNG (Digital Negative) | AVIF (AV1 Image File Format) |
|---|---|---|
| Compression | Lossless RAW | Lossy (AV1) or lossless |
| Color depth | 12-16 bits per channel | 8, 10, 12 bits per channel |
| HDR support | Through RAW data | Native (HDR10) |
| Transparency | None | Yes (alpha channel) |
| Animation | None | Yes |
| Typical size (24 MP) | 18-40 MB | 150-500 KB |
| Container | TIFF/EP | ISOBMFF (HEIF-based) |
| Browser support | None | Chrome, Firefox, Edge, Safari 16+ |
| Compression vs JPG | Incomparable (RAW) | 50% smaller |
| Compression vs WebP | Incomparable | 20% smaller |
| RAW processing | Full | None |
| EXIF metadata | Full + DCP profiles | Standard EXIF |
| Year introduced | 2004 | 2019 |
| Developer | Adobe | Alliance for Open Media |
File size comparison
| Source | DNG size | AVIF quality 70 | AVIF quality 85 |
|---|---|---|---|
| Google Pixel 7-9 (12 MP) | 25-40 MB | 150-300 KB | 300-600 KB |
| OnePlus Pro (48 MP) | 25-40 MB | 300-500 KB | 500-900 KB |
| Leica M11 (60 MP) | 50-80 MB | 350-700 KB | 700 KB-1.2 MB |
| Hasselblad X2D (100 MP) | 80-120 MB | 500-900 KB | 900 KB-1.8 MB |
| Sigma fp (24 MP) | 20-30 MB | 200-400 KB | 400-700 KB |
AVIF compression is most effective for photos with fine detail (foliage, fur, textures) where traditional DCT-based algorithms (JPG and WebP) show artifacts. The AV1 codec uses advanced prediction techniques based on decades of video compression research.
Browser support comparison
| Browser | DNG | AVIF |
|---|---|---|
| Chrome | Not supported | Full since v85 (2020) |
| Firefox | Not supported | Full since v93 (2021) |
| Edge | Not supported | Full support |
| Safari | Not supported | iOS 16, macOS Ventura (2022) |
| Opera | Not supported | Full since v71 |
| Samsung Internet | Not supported | Recent versions |
Global AVIF support has reached approximately 90% of browser traffic as of recent measurements and continues to grow rapidly as Safari users update their devices.
Why convert DNG to AVIF?
Modern high-traffic websites
Major websites (news portals, marketplaces, video services) implement AVIF for bandwidth savings and improved user experience. Netflix uses AVIF for posters and thumbnails, YouTube for video previews, Cloudflare for CDN image optimization. For your own web project, AVIF can reduce bandwidth costs by up to 50%.
High-quality web photography
For portfolios where precise color reproduction and preservation of fine details matter, AVIF outperforms both JPG and WebP. The difference is particularly visible in photos with extensive fine detail: landscapes with foliage, portraits with hair, macro photography with intricate structures.
Mobile applications and PWAs
Mobile users are especially sensitive to download sizes. AVIF allows high-quality photo display in apps without overloading mobile connections, improving perceived speed and engagement.
Archive of visual copies
For storing large quantities of photos with the best compromise between quality and size, AVIF outperforms JPG. For long-term storage of visual archive copies (not original DNG masters), AVIF offers the best size-to-quality ratio currently available.
HDR photography for modern displays
Modern displays (OLED smartphones, HDR monitors, televisions) can render extended dynamic range. AVIF natively supports HDR10, which JPG cannot. Photos from Pixel smartphones after Computational HDR+ processing look particularly impressive in AVIF on HDR devices.
Heavily detailed images
The AV1 codec is especially effective for textured regions: foliage, fabric, fur, sand, brickwork. Where JPG and WebP produce visible artifacts, AVIF preserves natural texture and detail.
What happens during DNG to AVIF conversion
Parsing the TIFF/EP container
DNG is built on TIFF/EP structure. The first step parses file tags, locates raw data blocks, extracts EXIF and XMP metadata, and identifies DCP color profiles and preview images.
Demosaicing Bayer sensor data
Camera sensors use a Bayer color filter array where each photosite captures only one color channel. The demosaicing algorithm interpolates missing color components from neighboring photosites to produce full RGB pixels.
Applying the DCP profile
DNG's embedded DCP describes the precise color response of the specific camera model. Application of the profile produces more natural colors than generic color matrices.
Gamma correction and color processing
Linear sensor data undergoes gamma correction (sRGB 2.2) to match human visual perception. For HDR AVIF output, a non-linear PQ curve may be applied for HDR10 encoding.
AVIF encoding via AV1
The final step compresses the image using the AV1 codec. AV1 uses advanced video compression techniques: block prediction with multiple reference frames (even for static images), adaptive block sizes, non-linear transforms, and advanced entropy coding. EXIF metadata is embedded in the ISOBMFF container.
Optimal scenarios for DNG to AVIF conversion
Images with extensive fine detail
The AV1 codec especially efficiently compresses textured regions. Landscapes with foliage, animal photography (fur, feathers), macro photography with delicate structures all benefit from AVIF over older formats.
HDR photos for modern displays
Photos from Pixel smartphones after Computational HDR+ contain extended dynamic range that AVIF can partially convey through HDR10. On OLED smartphones and HDR monitors, such AVIF files look significantly more impressive than equivalent JPGs.
Photos for large web projects
If you operate a large website with substantial photo content (news portal, marketplace, photo stock), switching to AVIF can reduce bandwidth and storage costs by 30-50% compared to JPG, offering meaningful savings at scale.
Premium photography portfolios
For photo artists displaying work on personal websites, AVIF enables showcasing photos with maximum detail at minimum file size. This matters for visitor retention and SEO performance.
Advantages of AVIF format
50% smaller than JPG at equivalent quality
Research by Netflix, Cloudflare, and other major companies confirms that AVIF delivers 50% smaller file sizes than JPG at comparable visual quality. This is the most efficient widely-supported image format available today.
HDR support
AVIF supports HDR10 (10-bit color depth, extended dynamic range), which is critical for modern displays. Neither JPG nor PNG offers this capability.
Royalty-free and open
AV1 is a royalty-free codec with no patent encumbrances. This means AVIF can be used in any commercial or non-commercial project without licensing fees, unlike some older video and image codecs.
Alpha channel and animation
Like WebP, AVIF supports transparency and animation. This allows using a single format for all types of web graphics, simplifying asset pipelines.
Rapidly growing browser support
Chrome (since version 85), Firefox (since version 93), Edge, and Opera fully support AVIF. Safari added support in iOS 16 and macOS Ventura (2022). According to caniuse.com, global AVIF coverage has reached 90%+ and continues rising as Safari users update.
Limitations and important considerations
Not universally supported
While AVIF support is growing rapidly, it is not yet as universal as JPG or WebP. Approximately 10% of users may use browsers without AVIF support (older Safari versions, legacy mobile browsers). Use the HTML picture element with WebP or JPG fallbacks.
Slower encoding
The AV1 codec requires more computational resources to encode than JPEG or WebP. This is not critical for batch processing but may be noticeable when processing very large files or extensive image series.
Limited graphics editor support
Photoshop supports AVIF only through plugins. GIMP supports it only in recent versions. Affinity Photo provides support. For editing AVIF, you may need intermediate conversion to PNG or TIFF, which negates the compactness advantages.
Basic DNG decoding
This service performs basic DNG decoding with default processing parameters: white balance from camera metadata, standard sRGB gamma correction, automatic demosaicing. Fine-tuning of exposure, tone curves, highlight and shadow recovery, and noise reduction is not available. For full artistic RAW processing, use specialized software: Adobe Lightroom, Capture One, RawTherapee, Affinity Photo, ON1 Photo RAW.
Not for printing
AVIF is a web format. Commercial printers and photo labs do not accept it. For printing photos from DNG, convert to JPG or TIFF instead.
Usage recommendations
Use AVIF for modern web projects where maximum loading speed at high quality is the priority. AVIF is especially justified for large sites with substantial photo content and for mobile users on variable connections. For printing, social media, and archival, stay with JPG or TIFF.
Use the HTML picture element with multiple sources (AVIF, WebP, JPG fallback) to ensure compatibility. Modern browsers will pick AVIF, older ones will get WebP or JPG. This provides maximum efficiency without sacrificing compatibility.
What is DNG to AVIF conversion used for
Optimizing large photo portals or marketplaces
Owners of large websites with substantial photo content convert source DNGs to AVIF for significant bandwidth and storage savings. Migrating from JPG to AVIF can reduce CDN costs by 30-50%, which is meaningful for businesses at scale.
Web portfolios for modern displays
Photo artists targeting modern audiences with OLED smartphones and HDR monitors convert DNG to AVIF with HDR10. This enables showing photos with extended dynamic range, particularly impressive for landscapes and portraits viewed on capable displays.
Illustrations for mobile PWAs
Progressive web app developers choose AVIF for illustrations. The minimum file size is critical for fast PWA loading, especially on mobile devices with limited connectivity, ensuring the app-like experience PWAs aim to deliver.
Premium product photo catalogs
Premium e-commerce stores (watches, jewelry, fashion) convert DNG product shots to AVIF to display the finest details without straining visitor bandwidth. This improves conversion rates and provides a polished user experience.
Visual archive copies of photo shoots
Photographers create AVIF copies of processed shots for quick access and rapid sharing. The original DNGs remain stored separately for potential reprocessing, while compact AVIF files serve daily work needs, client demonstrations, and publishing.
Tips for converting DNG to AVIF
Use picture element for compatibility
For web publishing, use the HTML picture element with multiple sources: AVIF, WebP, JPG as fallback. This provides modern browsers with maximum AVIF compression while serving older browsers a compatible format. Modern content management systems with appropriate plugins handle this automatically.
Complete RAW processing before conversion
In DNG, white balance, exposure, and contrast are editable parameters. In AVIF, they become fixed. Before conversion, process the DNG in Lightroom, Capture One, or Affinity Photo to achieve your desired look, then export to AVIF through the service for final publication.
Choose optimal quality settings
For most web purposes, AVIF at quality 60-70 produces visually perfect results, lower than typical JPG settings because the AV1 codec is more efficient. For critical projects like fine art portfolios, use quality 80-85. For thumbnails and previews, you can go as low as 50-60. Experiment with settings for your specific content type.
Account for encoding time
The AV1 codec requires more computational resources than JPEG or WebP. For batch processing of series, this is not critical, but it may take longer than with other formats. The trade-off is minimum file size without visible quality loss, which repays the encoding time through subsequent bandwidth savings.