Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QuickLook Fails to Preview HEIC Images After iOS 18 Update - ImageMagick.MagickCorruptImageErrorException #1470

Open
xDj4 opened this issue Sep 22, 2024 · 1 comment

Comments

@xDj4
Copy link

xDj4 commented Sep 22, 2024

Describe the bug
Photos taken since updating to iOS 18 do not work with QuickLook. When attempting to preview, the following error message appears: "Failed to preview IMG_xxxx.HEIC."

To Reproduce
Steps to reproduce the behavior:

  1. Take a photo on a device running iOS 18.
  2. Transfer the HEIC image to a Windows machine.
  3. Attempt to preview the image using QuickLook.
  4. Observe the error message.

Expected behavior
The HEIC image should be previewed without errors in QuickLook, as it was prior to the iOS 18 update.

Desktop (please complete the following information):

  • OS Version: Windows 10 [version number, e.g., 22H2]
  • QuickLook Version: [version number, e.g., 3.7.1]

Exception:

========9/22/2024 11:36:28 AM========
ImageMagick.MagickCorruptImageErrorException: Invalid input: Unspecified: Metadata not correctly assigned to image `D:\...\IMG_1255.HEIC' @ error/heic.c/IsHeifSuccess/135
   at ImageMagick.NativeInstance.CheckException(IntPtr exception, IntPtr result)
   at ImageMagick.MagickImage.NativeMagickImage.ReadFile(IMagickSettings`1 settings)
   at ImageMagick.MagickImage.Read(String fileName, IMagickReadSettings`1 readSettings, Boolean ping)
   at QuickLook.Plugin.ImageViewer.MetaProvider.GetSize()
   at QuickLook.Plugin.ImageViewer.Plugin.Prepare(String path, ContextObject context)
   at QuickLook.ViewerWindow.BeginShow(IViewer matchedPlugin, String path, Action`2 exceptionHandler)
@iGeTT
Copy link

iGeTT commented Oct 20, 2024

I have the same issue, however exception is different:

========19/10/2024 6:23:06 pm========
ImageMagick.MagickCorruptImageErrorException: Invalid input: Unspecified: Too many auxiliary image references `Z:\...\IMG_2115.HEIC' @ error/heic.c/IsHeifSuccess/135
   at ImageMagick.NativeInstance.CheckException(IntPtr exception, IntPtr result)
   at ImageMagick.MagickImage.NativeMagickImage.ReadFile(IMagickSettings`1 settings)
   at ImageMagick.MagickImage.Read(String fileName, IMagickReadSettings`1 readSettings, Boolean ping)
   at QuickLook.Plugin.ImageViewer.MetaProvider.GetSize()
   at QuickLook.Plugin.ImageViewer.Plugin.Prepare(String path, ContextObject context)
   at QuickLook.ViewerWindow.BeginShow(IViewer matchedPlugin, String path, Action`2 exceptionHandler)

Windows 11 Pro 23H2 22631.4317
QuickLook 3.7.3 (MSI)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants