You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, thanks for the report, @tillkruss. It is a defect in the framework. The resize method does not handle grayscale images like this correctly.
RCA (for future reference)
The input image is grayscale (8 bpp pixel format) and with no alpha channel
The framework tries to create CGContext with the grayscale CS, 8 bpp and CGImageGetAlphaInfo.nonSkipLast, an unsupported combination
The framework expects the CGContext init to fail and fall back to a safe combination of parameters supported on all Apple devices. But CGContext does get created anyway and fails to render images correctly.
I'm noticing some
.jpg
result in a black image when resized. Is that an issue with the file, Nuke, or my code?The text was updated successfully, but these errors were encountered: