Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IDB] Feature Request: 1 alpha pixel highlighting #24

Open
ZeWaka opened this issue Aug 3, 2023 · 0 comments
Open

[IDB] Feature Request: 1 alpha pixel highlighting #24

ZeWaka opened this issue Aug 3, 2023 · 0 comments

Comments

@ZeWaka
Copy link
Member

ZeWaka commented Aug 3, 2023

Idea:

Highlight 1 alpha pixels on sprites so that we can tell if holes/outlines are done. See image for a (fake) example.

Possible implementation:

for color in dmi.pallete:
  if color.alpha == 1:
    color.alpha = 255
    color = "#ff00ff" // magenta

Downsides / Alternatives:

Some app users may not want this because they dum.
Perhaps make it opt-in using a config file, similar to SpacemanDMM (maybe in .github?):

IconDiffBot.toml:
[alpha_highlight]
enabled = true
color = "#ff00ff"

Example Images (there's not actually a 1 alpha outline but you get the point):

image
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant