That worked, thanks, though in my particular case I was working on macOS 11.3.I encountered a very similar bug and I found a workaround. Can you try context.heifRepresentation(of: image.settingAlphaOne(in: image.extent), …) and see if that works?
That worked, thanks, though in my particular case I was working on macOS 11.3.I encountered a very similar bug and I found a workaround. Can you try context.heifRepresentation(of: image.settingAlphaOne(in: image.extent), …) and see if that works?