Guest Gleb Posted June 5, 2018 Report Share Posted June 5, 2018 Hi, can you tell me how to draw a picture with translucency using ugfx. Sorry for my English) Link to comment Share on other sites More sharing options...
Joel Bodenmann Posted June 5, 2018 Report Share Posted June 5, 2018 Hi, You just need to use an image format which supports transparency. The existing GIF and PNG image decoders will handle transparency out of the box. Link to comment Share on other sites More sharing options...
Guest Gleb Posted June 5, 2018 Report Share Posted June 5, 2018 Thanks for the answer! Transparency works only with 100% absence or availability. If the color has a transparency of 50%, then it will by default be absent in these places. Link to comment Share on other sites More sharing options...
Joel Bodenmann Posted June 5, 2018 Report Share Posted June 5, 2018 It seems that you're confusing transparency and alpha-channel. If you're using GIF then that's expected as GIF doesn't support alpha buy only transparency. If you're using PNG you should refer to the documentation: https://wiki.ugfx.io/index.php/Images#Alpha_.26_Transparency Link to comment Share on other sites More sharing options...
Guest Gleb Posted June 6, 2018 Report Share Posted June 6, 2018 Thank you, will there be once an alpha channel with a transparent background picture, at least with the transfer of the background color to the method? Link to comment Share on other sites More sharing options...
Joel Bodenmann Posted June 9, 2018 Report Share Posted June 9, 2018 Sorry, I do not understand your question. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now