macOS Image Capture Bug More Pervasive Than Originally Thought

Earlier this week we reported on a bug in Apple's macOS Image Capture app that adds empty data to photos when imported from iOS devices, potentially eating up gigabytes of disk storage needlessly. Today, we're hearing that the bug in macOS 10.14.6 and later is a lot more extensive than was initially believed.

image capture
NeoFinder developer Norbert Doerner, who originally discovered the bug, informed MacRumors that the same issue affects nearly all Mac apps that import photos from cameras and iOS devices, including Adobe Lightroom, Affinity Photo, PhaseOne Media Pro, and Apple's legacy iPhoto and Aperture apps.

The reason is said to be because the bug is located inside Apple's ImageCaptureCore framework, which is a part of macOS that all developers must use to connect to digital cameras. The only app that isn't affected is said to be Apple's Photos app, which uses other undocumented APIs to talk to iOS devices.

Essentially, the pervasive Mac bug causes HEIC files imported from iOS devices and converted to JPG to contain more than 1.5MB of empty data appended to the end of each file, increasing the file size and eating up storage. As an example, Doerner said he discovered more than 12,000 JPG files in his own photo library containing this extra unwanted data, resulting in over 20GB of wasted disk space.

wasted space image capture

Hex data of a JPG file viewed using Hex Fiend

Apple is apparently aware of the bug, but until a patch arrives, one short term workaround for future transfers is to prevent your iPhone or iPad from using the HEIF format when taking photos: To do so, launch the Settings app, select Camera -> Formats and check Most Compatible.

For users with large existing photo libraries, Doerner has suggested using a new beta version of the third-party utility Graphic Converter, which includes an option to remove the unwanted empty data from the JPEG files.

Alternatively, media asset management app NeoFinder is itself being updated on Monday to include a tool that can find and eliminate the unwanted data in JPG files. NeoFinder for Mac costs $39.99 and a free trial is available to download on the developers' website.

Top Rated Comments

chrfr Avatar
52 months ago

Is it possible this is more than just a "bug"? Apple makes a LOT of money from services including iCloud storage fees, and by inflating photo file sizes, more people would be nagged to upgrade their iCloud storage from the initial free 5GB, to a paid tier, to accomodate a larger iCloud Photo Library. There is potential financial motive here - anyone with the know how should look carefully at all files stored in iCloud to see if there is any similar artificial inflation of file size. It reminds me of the Wells Fargo scandal where staff were creating extra accounts in customer names to inflate their numbers...
This is an unfounded conspiracy theory. This bug affects images imported to a Mac manually via the Image Capture app, not images saved in iCloud Photo Library. It's not a widespread workflow for people- most folks just let their device sync photos through the Photos app.
Score: 12 Votes (Like | Disagree)
hughsaunders Avatar
52 months ago
A fixed increase per file is linear not exponential growth.
Score: 11 Votes (Like | Disagree)
martyjmclean Avatar
52 months ago

I don't understand, why a workaround is preventing iOS from shooting in HEIF. It's not the problem in HEIF, but in conversion. So if you work only with HEIF files, it should be fine, right?
The problem is, nothing is compatible with HEIF (or HEVC). I get handed a lot of iPhone stuff at work and need to xcode them to JPG or DNX.
Score: 6 Votes (Like | Disagree)
chrfr Avatar
52 months ago

('https://www.macrumors.com/2020/05/01/macos-jpg-truncation-bug-widespread/')

Earlier this week we reported on a bug in Apple's macOS Image Capture app ('https://www.macrumors.com/2020/04/28/macos-image-capture-bug-eats-storage/') that adds empty data to photos when imported from iOS devices, potentially eating up gigabytes of disk storage needlessly. Today, we're hearing that the bug in macOS 10.14.6 and later is a lot more extensive than was initially believed.



NeoFinder ('https://www.cdfinder.de') developer Norbert Doerner, who originally discovered the bug, informed MacRumors that the same issue affects nearly all Mac apps that import photos from cameras and iOS devices, including Adobe Lightroom, Affinity Photo, PhaseOne Media Pro, and Apple's legacy iPhoto and Aperture apps.

The reason is said to be because the bug is located inside Apple's ImageCaptureCore framework, which is a part of macOS that all developers must use to connect to digital cameras. The only app that isn't affected is said to be Apple's Photos app, which uses other undocumented APIs to talk to iOS devices.

Essentially, the pervasive Mac bug causes HEIC files imported from iOS devices and converted to JPG to contain more than 1.5MB of empty data appended to the end of each file, increasing the file size and eating up storage. As an example, Doerner said he discovered more than 12,000 JPG files in his own photo library containing this extra unwanted data, resulting in over 20GB of wasted disk space.


Hex data of a JPG file viewed using Hex Fiend ('https://ridiculousfish.com/hexfiend/')

Apple is apparently aware of the bug, but until a patch arrives, one short term workaround for future transfers is to prevent your iPhone or iPad from using the HEIF format when taking photos: To do so, launch the Settings app, select Camera -> Formats and check Most Compatible.

For users with large existing photo libraries, Doerner has suggested using a new beta version of the third-party utility Graphic Converter ('http://www.lemkesoft.org/beta.html'), which includes an option to remove the unwanted empty data from the JPEG files.

Alternatively, media asset management app NeoFinder is itself being updated ('https://www.cdfinder.de/guide/17/17.5/truncate_JPG.html') on Monday to include a tool that can find and eliminate the unwanted data in JPG files. NeoFinder for Mac costs $39.99 and a free trial is available to download on the developers' website ('https://www.cdfinder.de').

Article Link: macOS JPG File Truncation Bug More Pervasive Than Originally Thought ('https://www.macrumors.com/2020/05/01/macos-jpg-truncation-bug-widespread/')
This article title is wrong. The files are not being truncated. Rather, data is being appended to the end of the files.
Score: 5 Votes (Like | Disagree)
citysnaps Avatar
52 months ago

Is it possible this is more than just a "bug"? Apple makes a LOT of money from services including iCloud storage fees, and by inflating photo file sizes, more people would be nagged to upgrade their iCloud storage from the initial free 5GB, to a paid tier, to accomodate a larger iCloud Photo Library. There is potential financial motive here - anyone with the know how should look carefully at all files stored in iCloud to see if there is any similar artificial inflation of file size. It reminds me of the Wells Fargo scandal where staff were creating extra accounts in customer names to inflate their numbers...
The answer to your question is no. Relax.
Score: 5 Votes (Like | Disagree)
ivarh Avatar
52 months ago
This is a bad bug, but on the other side i would not reccomend converting the .heif files if you are importing them for archiving.

The heif files coming off my iphone 11 pro contains 10 bit color data per channel and this means that in addition of the loss of image quality you get from decompressing a lossy format that .heif is and changing it to jpg that is another lossy format you also loose a lot of color information.

This is not a excuse for apple to not fix the bug but doing this conversion is a bad choice in the first place for archiving.
Score: 5 Votes (Like | Disagree)

Popular Stories

Delta Feature

Delta Game Emulator Now Available From App Store on iPhone

Wednesday April 17, 2024 9:58 am PDT by
Game emulator apps have come and gone since Apple announced App Store support for them on April 5, but now popular game emulator Delta from developer Riley Testut is available for download. Testut is known as the developer behind GBA4iOS, an open-source emulator that was available for a brief time more than a decade ago. GBA4iOS led to Delta, an emulator that has been available outside of...
iPhone 15 Pro Action Button Translate

All iPhone 16 Models to Feature Action Button, But Usefulness Debated

Tuesday April 16, 2024 6:54 am PDT by
Last September, Apple's iPhone 15 Pro models debuted with a new customizable Action button, offering faster access to a handful of functions, as well as the ability to assign Shortcuts. Apple is poised to include the feature on all upcoming iPhone 16 models, so we asked iPhone 15 Pro users what their experience has been with the additional button so far. The Action button replaces the switch ...
Provenance Emulator

PlayStation, GameCube, Wii, and SEGA Emulator for iPhone and Apple TV Coming to App Store

Friday April 19, 2024 8:29 am PDT by
The lead developer of the multi-emulator app Provenance has told iMore that his team is working towards releasing the app on the App Store, but he did not provide a timeframe. Provenance is a frontend for many existing emulators, and it would allow iPhone and Apple TV users to emulate games released for a wide variety of classic game consoles, including the original PlayStation, GameCube, Wii,...
maxresdefault

Hands-On With the New App Store Delta Game Emulator

Wednesday April 17, 2024 12:19 pm PDT by
A decade ago, developer Riley Testut released the GBA4iOS emulator for iOS, and since it was against the rules at the time, Apple put a stop to downloads. Emulators have been a violation of the App Store rules for years, but that changed on April 5 when Apple suddenly reversed course and said that it was allowing retro game emulators on the App Store. Subscribe to the MacRumors YouTube channel ...
iOS NES Emulator Bimmy Feature

NES Emulator for iPhone and iPad Now Available on App Store [Removed]

Tuesday April 16, 2024 11:33 am PDT by
The first approved Nintendo Entertainment System (NES) emulator for the iPhone and iPad was made available on the App Store today following Apple's rule change. The emulator is called Bimmy, and it was developed by Tom Salvo. On the App Store, Bimmy is described as a tool for testing and playing public domain/"homebrew" games created for the NES, but the app allows you to load ROMs for any...