05-11-2023, 05:17 PM
I'm trying to avoid this being an XY problem, what I want to achieve remains the same as my original post.
I am trying to write a script that can essentially do what the decompose to R,G,B,A and then compose a new image using R and G as-is but with B and A channels using a mask value of 255.
If the new approach being suggested (using layers filled with #FF0000, ##00FF00 and ##0000FF in multiply mode) is the better approach, I can try this on my end. I'll use alpha-to-selection and then apply a 255 mask value to the drawable.
I'll be giving this a go and updating my results here
I am trying to write a script that can essentially do what the decompose to R,G,B,A and then compose a new image using R and G as-is but with B and A channels using a mask value of 255.
If the new approach being suggested (using layers filled with #FF0000, ##00FF00 and ##0000FF in multiply mode) is the better approach, I can try this on my end. I'll use alpha-to-selection and then apply a 255 mask value to the drawable.
I'll be giving this a go and updating my results here