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
I do not see a way to load an image and remove or discard the alpha channel from loaded images. This is useful for Deep Learning models that do not normally train using alpha.
note that colorType(2) is for truecolor and colorType(0) is for grayscale and with flattened.background(0xffffffff); I set the default color of the bg pixels to white
I do not see a way to load an image and remove or discard the alpha channel from loaded images. This is useful for Deep Learning models that do not normally train using alpha.
I tried
but does not seem to be how you use it.
Is there any implemented or simple way to do this?
The text was updated successfully, but these errors were encountered: