Skip to content
This repository has been archived by the owner on Nov 29, 2022. It is now read-only.

Fix crashing when get_bg_color only returns rgb #166

Closed
wants to merge 1 commit into from

Conversation

brunoais
Copy link
Contributor

@brunoais brunoais commented Sep 14, 2021

When it returns rgb, the a is missing for unpacking which can cause a crash.
This makes the a (alpha) optional.

fixes #139

@multiSnow multiSnow deleted the branch multiSnow:pixel2int September 14, 2021 15:28
@multiSnow multiSnow closed this Sep 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants