i am calling an external program that returns me an 8-bit grey-scale TIFF. I want to use it as the alpha channel of a colored PNG. If I create the PNG, flood it with the color I want, load the TIFF, put it in my PNG’s mask with ApplyMask, then save, I get an image that looks correct in Photoshop. When I bring it back into my app, however, the transparency is gone.
What platform? Also what options are you using when creating a PNG, I noticed that Sierra is a little more finicky with transparency than any other version of the macOS.
I routinely work with PSDs, TIFFs and PNGs (creation and such).
If Photoshop shows it correctly I’d assume the png file is properly formed. Maybe it’s just bringing it into your app that’s the problem. What’s the code for this and how have you tested, or do you mean adding the png file in the navigator?