Create a mask from jpg file and choose the channel to be the opacity with skiasharp #3245
oscar-bertran
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
First at one, I'm sorry for my very bad english.
I'm very new user of skiasharp and i'm thinking how use this tool to obtain some things that I'm thinking. It could be only mind exercices.
I really like the possibilities offered by the color matrix and I use it a lot.
I'm thinking about a function to create a useful mask from jpg file (opaque)
As a enter variables we can have a Skbitmap from the jpg file, the destination size , the channel chossed to be alfa (0 to 3) and a boolean vaulue to invert.
The steps for the function are:
I don't know if this idea are in other discussion, if it this thecase I so sorry for the time lose.
In all cases thank you very mutch for your attention
Beta Was this translation helpful? Give feedback.
All reactions