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
There should be a switch to toggle the background transparency so that the output image can be readily used without concerns of background color.
I can think of are two way to implement this:
Change the RGBA parsing so that the alpha will also be parsed. This may involves extra handling of RGB string. This may allow transparent theme in the future.
Create a new boolean argument so that it will override the alpha setting in Config.background. This likely will involve some processing outside of the struct declaration.
I would like to invite comments from everyone for how to proceed.
The text was updated successfully, but these errors were encountered:
Currently, all transparency are hardcoded to
0xff
:silicon/src/utils.rs
Lines 27 to 32 in c277f1a
There should be a switch to toggle the background transparency so that the output image can be readily used without concerns of background color.
I can think of are two way to implement this:
Config.background
. This likely will involve some processing outside of the struct declaration.I would like to invite comments from everyone for how to proceed.
The text was updated successfully, but these errors were encountered: