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.


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.

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

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


[IMG width="251px"]https://images.macrumors.com/images-new/macrumorsthreadlogo@3x.png[/IMG] ('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)
Avatar
20 weeks 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)
Avatar
20 weeks 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)

Top Stories

Here's How You Can Download iOS 14 and iPadOS 14 Around the World [It's Out]

Wednesday September 16, 2020 2:36 am PDT by
Apple's official public release of iOS 14 and iPadOS 14 dropped on Wednesday, September 16, just a day after the company released the Golden Master to third-party developers. Also set to be made available to the general public for the first time are watchOS 7 and tvOS 14. Getting Started With iOS 14 Video Click image to watch iOS 14 Getting Started While that's left a lot of developers...

Apple Updates AirPods 2 and AirPods Pro Firmware to Version 3A283

Monday September 14, 2020 11:24 am PDT by
Apple today released new 3A283 firmware updates for the second-generation AirPods and the AirPods Pro. The second-generation AirPods are being updated from the 2D15 firmware they were previously running, while the AirPods Pros are being updated from the 2D27 firmware they had installed previously. Apple does not provide details on what's included in refreshed firmware so we don't know what's ...

New AirPods Pro Firmware Introduces Spatial Audio Support and Automatic Switching

Monday September 14, 2020 12:22 pm PDT by
The new 3A283 firmware that Apple released for the AirPods Pro today appears to introduce support for Spatial Audio, a new feature coming to the higher-end AirPods with iOS 14. Multiple reports on Twitter and the MacRumors forums indicate that the firmware update adds a "Spatial Audio" option to the Control Center, which can be activated to enable the feature. Note that using Spatial Audio...

Spotify Says Apple One Bundle Will Cause 'Irreparable Harm to Developer Community'

Tuesday September 15, 2020 12:26 pm PDT by
Apple today announced Apple One, a series of new subscription bundles that provide access to various Apple services at a combined monthly price. In response, Spotify sent out statements (via Peter Kafka) to the press decrying Apple's anti-competitive behavior and calling on "competition authorities" to stop Apple before it is able to cause "irreparable harm" to developers.Once again, Apple...

Bloomberg: Apple Watch Series 6 With SpO2 Tracking and All-Screen iPad Air Coming at 'Time Flies' Event, Apple Silicon Macs by November

Monday September 14, 2020 5:20 am PDT by
Apple is set to host a virtual event on Tuesday at 10 a.m. Pacific Time, and ahead of time, Bloomberg's Mark Gurman has outlined his expectations for new product announcements both tomorrow and in the months to follow. Gurman, who has a very strong track record, reiterated that this Tuesday's event will be focused on the introduction of new Apple Watch Series 6 and iPad Air models, adding...

iOS 14, iPadOS 14, watchOS 7, and tvOS 14 Will Be Released September 16

Tuesday September 15, 2020 11:06 am PDT by
Apple today announced that iOS 14, iPadOS 14, watchOS 7, and tvOS 14 will be officially released on Wednesday, September 16. Apple has seeded the final Golden Master beta versions of each update to developers in advance. ‌iOS 14‌ and iPadOS 14 introduce dozens of new features, including a redesigned Home Screen that supports widgets on the iPhone and iPad for the first time. For more...

When Will the iPhone 12 Launch? Here's What We Know

Wednesday September 16, 2020 6:12 am PDT by
Yesterday's "Time Flies" Apple event saw the release of the Apple Watch Series 6, Apple Watch SE, iPad 8, and iPad Air 4, but no new iPhone models. Rumors before the event strongly alleged that it would not see the unveiling of new iPhones, with many reports pointing to an October launch. The lack of new iPhone models yesterday seems to confirm that the iPhone 12 lineup will not appear...

Full Transcript of Apple's 'Time Flies' Event With Apple Watch and iPad Updates

Tuesday September 15, 2020 8:46 am PDT by
Apple's virtual "Time Flies" event kicks off today at 10:00 a.m. Pacific Time, with Apple expected to debut new Apple Watch and iPad models, but it appears we may not see the iPhone 12 until next month. While we're not expecting to see new iPhones today, Apple's software updates for its various platforms are likely nearly ready for launch, so we may be hearing more about them today. Check...

Apple Releases iOS 14 and iPadOS 14 With Home Screen Redesign, App Library, Compact UI, Translate App, Scribble Support, App Clips, and More

Wednesday September 16, 2020 12:48 pm PDT by
Apple has released iOS 14 and iPadOS 14, the newest operating system updates designed for the iPhone and iPad. As with all of Apple's software updates, iOS 14 and iPadOS 14 can be downloaded for free. iOS 14 is available on the iPhone 6s and later, while iPadOS 14 is available on the iPad Air 2 and later. The updates are available on all eligible devices over-the-air in the Settings app. To ...

Everything Apple Announced at Today's iPad and Apple Watch Event in Just Seven Minutes

Tuesday September 15, 2020 2:19 pm PDT by
Apple today held its annual September event, but this year was a bit different because no new iPhones were announced. The "Time Flies" event focused on the Apple Watch Series 6 and the iPad Air, and saw the debut of a new Apple One services bundle. Subscribe to the MacRumors YouTube channel for more videos. It took Apple an hour to introduce the new devices, but we've recapped the event in...