I'm trying to use Image I/O to create lossless HEIC images. As far as I can tell, it isn't possible. I've added a 1 pixel border around an TIFF image. When I save the TIFF image as HEIC, the border blurs to 3 pixels. If I save to PNG, changing only the "type" parameter in "CGImageDestinationCreateWithURL" the result is lossless.
I compared this behaviour with Pixelmator Pro and Apple's own Preview. When I move the quality knob all the way over to lossless, I still get that blurry 3 pixel border.
I have set the kCGImageDestinationLossyCompressionQuality option to 1.0. I can change the quality and see how it changes, but I can't get it to lossless mode.
Is there some other way to get HEIC into lossless mode that I don't know about?
I compared this behaviour with Pixelmator Pro and Apple's own Preview. When I move the quality knob all the way over to lossless, I still get that blurry 3 pixel border.
I have set the kCGImageDestinationLossyCompressionQuality option to 1.0. I can change the quality and see how it changes, but I can't get it to lossless mode.
Is there some other way to get HEIC into lossless mode that I don't know about?