Since the dawn of the graphical user interface, computer users were always on a quest to show better images on their screens. The problem was image file size. Back in the early 90’s, you were quite the techno-hipster if you had a 28kbps dial up connection and had connections with the US Defense Department if you had something faster. This is an IV drip compared to the multi-gigabit data torrents available to many consumers these days. Since getting a fatter connection was financially out of the question for most, the IEEE formed the Joint Photographic Engineering Group to figure out how to make high-color, high-resolution images much smaller than their TIFF counterparts. Working like badgers, the group published their specification and the JPEG file format was born. However, the spec is not a panacea and while it is ubiquitous, it has several well known shortcomings.
Fast forward to the digital camera revolution.
Early cameras adopted the JPEG file format exclusively and that became a barrier to entry for the professional photographer who, entrenched in the world of analog film, did not want to give up the flexibility having a film negative gave them. Camera makers responded with digital SLR cameras that were able to save in other file formats including TIFF and the native RAW file the camera’s sensor would produce. This latter development (no pun intended), with the addition of software applications to non-destructively edit the raw images and camera bodies that would allow pros to use their existing stable of lenses, is what opened the floodgates and started the practically wholesale conversion of the professional photo industry over to digital photos. In 2015 the “Moving Pictures Experts Group” (aka MPEG) published the finalized specs for the “High Efficiency Image File” format.
Fast forward to the smartphone revolution.
Apple ushered in this particular revolution and many, many competitors followed suit. All of these devices contained cameras of ever increasing quality with the ability to not only take photos but videos as well. However, these devices were hamstrung at first by a lack of storage (solid state drives lagged way behind their “spinning rust” counterparts) and someone had to science their way out of it. By about the time of the iPhone 7, Apple adpopted the High Efficiency Image File, or HEIF format for short, and inserted it into the newly released iPhone (there is an advantage to owning the ball, the bat, the mitts, bases, baseball stadium, the concession stands and the surrounding parking lot) and updated iOS 11 to seamlessly process them. The file was more compressed than an equivalent JPEG, supported 10-bit color long before anyone else, and lossless to boot. The only shortcoming was that it was not well supported outside of Apple’s walled garden.
Fast forward to present day.
Despite its flaws, pretty much all digital cameras to this day retain the ability to save images in JPEG. It’s still that ubiquitous. However, some camera makers (*cough* Fujifilm *cough*) have made the HEIF file format available on their cameras. Just a quick setting change and your JPEG files are now being saved as HEIF files. Adobe Photoshop, Adobe Lightroom, and the open-source darktable all support the HEIF file format with more and more being added every day. This is a good thing.
Why not use RAW, smart guy?
RAW files are amazing things in the hands of a professional who has a complete understanding of the strengths and weaknesses of the format. Exposure errors, white balance gaffs, and host of other things that can go wrong (short of leaving the lens cap on) can be addressed in post-production. But it also has the potential of becoming a crutch. “Fix it in post” is not a mantra I endorse. It promotes sloppy photography and leads to an endless parade of mediocre images. “Get in right in the camera.” is what I practice and it is what I teach my students. Let’s face it, I prefer to be out capturing images instead of being trapped in front of my computer post-processing images. Ansel Adams loved working in the darkroom. I am not Ansel Adams. Another shortcoming of shooting in RAW is that all of the fabulous film simulations provided in-camera by Fuji are aspirational only as the RAW file does not record that bit of post-processing in itself. I have shot RAW+JPEG for many years and I could never nail the look exactly.
Shortly after I picked up my X-T5 for walkabout camera duties, I discovered the option to record in HEIF instead of JPEG. Thus began my journey into the world of film simulations that frustrated me so often in the past. HEIF’s lossless 10-bit recording with baked in film simulations is an excellent “RAW-lite substitute”, providing editable source files that can be easily exported to JPEG for general consumption. The space savings are significant vs RAW (12.7Mb vs 47.9Mb in most cases – a 75% space reduction) also making it faster to load into memory for editing.
The left image above was shot in RAF and converted to JPG (with default settings) using darktable. The image on the right was saved in HEIF format with the Provia film simulation and exported to JPG using darktable. Both images were taken simultaneously with my X-H2 + TTArtisan 27mm f/2.8 lens writing RAW to the CFExpress card and HEIF to the SD card.
Since both images are shot with the Standard (Provia) profile, they are the closest in appearance. It’s when you start using other film simulations that things get tricky.
Here we have another pair of images this time with the Velvia simulation activated. Again RAF on the left and HEIF on the right and the same rules as before. The RAF discarded the simulation information and has the Provia profile applied. The HEIF file has the Velvia “baked in” and is preserved even with the JPG export. A lot less work and a lossless format to boot.
Hardware Support
According to Wikipedia, the following hardware supports HEIF:
- The Canon EOS-1D X Mark III, Canon EOS R5, Canon EOS R6 and Canon EOS R8 cameras use the HEIF format to capture images in an HDR display format that use the PQ tone curve, BT.2100 color primaries and 10-bit.[55][56] “We’ve moved on to HEIF files,” Canon said in 2019.[57]
- The Sony α1[58] and Sony α7 IV[59] offer capturing images in 10-bit HEIF format with an HDR format that uses HLG.
- The Fujifilm X-H2S[60], Fujifilm X-H2[61], and Fujifilm X-T5[62] offers a choice of JPEG or 10-bit HEIF file formats.
- The Nikon Z9 and Nikon Z8 offer 10-bit HEIF file formats.
- Multiple Qualcomm Snapdragon SoCs support capturing images in HEIC format (e.g. Snapdragon 888,[63] Snapdragon 662[64]). Some of their latest SoCs also support capturing in HEIC with HDR (e.g. Snapdragon 8 Gen 1,[65] Snapdragon 780[66]).
- The iPhone 7 and later devices from Apple can capture media in HEIF or HEVC format.[67]
- Android smartphones like Xiaomi 12, OPPO Reno 7 5G, Samsung Galaxy S21 5G can capture images in HEIF format.
Conclusion
While JPEG reigns supreme for cross-platform compatibility, and RAW for post-processing flexibility, HEIF weighs in with features the modern photographer wants: lossless images that are vastly smaller than RAW, 10-bit color, and in the case of Fuji cameras, benefit from advanced film simulations baked into the images. For paid photo shoots, I will shoot RAW + HEIF, but for my personal work HEIF meets all of my needs.
Bonjour, j’ai bien un Fujifilm XH2 , et je regrette que Lightroom Classic, avec abonnement, ne le prenne pas en charge, sur PC Intel I7, 64 Bits ce genre de fichier HEIF, n’est pas reconnu. Y aurait-il une configuration que j’ai mal comprise ou appliquée? ou alors sur la toile comme j’ai déja lu, ce format n’est pas encore au point ni opérationnel en 2023 quand je l’ai lu. Merci fe me faire un retour pour mon évolution numérique.
Raphael Boyer.
Bonjour, veuillez pardonner mon français car j’utilise Google Translate. Je ne sais pas pourquoi vous rencontrez des problèmes pour ouvrir un fichier HEIF dans Lightroom Classic. J’en ai ouvert un depuis mon XT-5 sans problème. Voici une capture d’écran pour le prouver :