I’ve been told by various people in the industry that AFX doesn’t handle premultiplied images correctly and I’ve been able to verify this myself in my own pipeline. I’m just not sure if we are all wrong or missing something or this is just the way it has always been?

I don’t use AFX at all in my pipeline for production but I do have it to check deliveries to vendors who do use AFX. Our pipeline is all EXR/Nuke and everything works fine with premultiplied images.

When I convert these known good images to TIFF 16bit fixed point for AFX they only look correct with straight alpha. I’m converting to straight alpha buy running an ‘unpremultiply’ operation in nuke on the source images. Both the TIFF converted premultiplied and straight files still work fine in Nuke.

However the premultiplied ones don’t look correct in AFX. There is a light colored halo around soft edges. It’s actually very hard to see this edge artifact in AFX depending on the background that is being composited onto. I usually composite onto pure red to see this bright halo. And yes I’m interpreting the premultiplied images correctly in AFX as ‘premultiplied on black’. Also setting blend colors using 1.0 gamma makes the problem worse.

I just want to check if this is just a known issue that people just use wacky work arounds for or they simply don’t even notice and thus never bring it up.

Below is a screenshot of AFX showing the artifact.

AFX premult vs straight input image


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.