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
34 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
34 months ago
A fixed increase per file is linear not exponential growth.
Score: 11 Votes (Like | Disagree)
martyjmclean Avatar
34 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
34 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
34 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
34 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

Apple advanced security Advanced Data Protection screen Feature

FBI Calls End-to-End Encryption 'Deeply Concerning' as Privacy Groups Hail Apple's Advanced Data Protection as a Victory for Users

Thursday December 8, 2022 2:45 am PST by
Apple yesterday announced that end-to-end encryption is coming to even more sensitive types of iCloud data, including device backups, messages, photos, and more, meeting the longstanding demand of both users and privacy groups who have rallied for the company to take the significant step forward in user privacy. iCloud end-to-end encryption, or what Apple calls "Advanced Data Protection,"...
General iOS 16 Feature Yellow

iOS 16.2 for iPhone Expected to Launch Next Week With These 12 New Features

Thursday December 8, 2022 7:05 am PST by
iOS 16.2 is expected to be released next week following nearly two months of beta testing. With last-minute additions like Apple Music Sing and Advanced Data Protection, the software update now has over a dozen new features for the iPhone. Below, we've recapped many of the new features coming with iOS 16.2, including Apple's new whiteboard app Freeform, two new Lock Screen widgets, the...
maxresdefault

Can't Get an iPhone 14 Pro? Here's Why You Should Wait for the iPhone 15 Ultra

Monday December 5, 2022 11:44 am PST by
Due to production issues at Apple supplier factories in China, the iPhone 14 Pro and iPhone 14 Pro Max are backordered and basically out of stock at every store. If you were planning to gift or receive an iPhone 14 Pro model for the holidays and didn't already get one, you're basically out of luck because they're gone until late December. Subscribe to the MacRumors YouTube channel for more ...
maxresdefault

Hands-On With Apple Music Sing in iOS 16.2

Wednesday December 7, 2022 12:24 pm PST by
With the iOS 16.2 release candidate that came out today, Apple added the new Apple Music Sing feature that was announced earlier this week. We thought we'd check out the new karaoke feature to see how it works. Subscribe to the MacRumors YouTube channel for more videos. Apple Music Sing is available on modern iPhones and iPads, as well as the newest Apple TV 4K. It's built in to the Apple...
General iOS 16 Feature Yellow

iOS 16.2 for iPhone Launching This Month With These 8 New Features

Thursday December 1, 2022 8:44 am PST by
Apple plans to publicly release iOS 16.2 for the iPhone in mid-December, according to Bloomberg's Mark Gurman. The update remains in beta testing for now, with at least eight new features and changes already uncovered so far. iOS 16.2 introduces a number of new features, including Apple's new whiteboard app Freeform, two new Lock Screen widgets for Sleep and Medications, the ability to hide...
Apple Accessories Deals 2022 Anker

Deals: Amazon's New Anker Sale Has Savings on USB-C Chargers, Portable Batteries, and More

Wednesday December 7, 2022 8:10 am PST by
Anker this week has introduced a new sale across its most popular accessories on Amazon, including savings on USB-C cables, wall chargers, portable batteries, wireless chargers, and more. Note: MacRumors is an affiliate partner with some of these vendors. When you click a link and make a purchase, we may receive a small payment, which helps us keep the site running. Many of these sales...
Apple advanced security Advanced Data Protection screen Feature

Apple Announces End-to-End Encryption Option for iCloud Photos, Notes, Backups, and More

Wednesday December 7, 2022 10:00 am PST by
Apple today announced it is expanding end-to-end encryption to many additional iCloud data categories on an opt-in basis for enhanced security. iCloud already protects 14 data categories using end-to-end encryption by default, including the Messages app when backups are disabled, passwords stored in iCloud Keychain, Health data, Apple Maps search history, Apple Card transactions, and more,...
Twitter Feature

Twitter to Charge $11 Per Month for Twitter Blue on iPhone, $7 on Website

Wednesday December 7, 2022 6:47 pm PST by
Twitter plans to charge $11 per month for a Twitter Blue subscription on the iPhone in order to account for the 30 percent cut that Apple takes from in-app purchases, reports The Information. On the web, Twitter Blue will be priced at $7 per month. Prior to when Twitter Blue was paused, Twitter was charging $7.99 for a subscription, but the pricing will change before it relaunches. According ...
Apple car wheel icon feature yellow

Apple to Charge Under $100,000 for Apple Car, Launch Planned for 2026

Tuesday December 6, 2022 2:31 pm PST by
Apple is aiming to launch an Apple-branded consumer-oriented vehicle by 2026, and its goal is to hit a price point under $100,000 to make the car appeal to a wider range of customers, reports Bloomberg. Apple initially planned to design a car that might look similar to Canoo's Lifestyle Vehicle, where passengers could face one another in a limousine-style car with no steering wheel or...