comment
This commit is contained in:
parent
c9f9d7e181
commit
69f73f709f
1 changed files with 1 additions and 0 deletions
|
@ -181,6 +181,7 @@ proc isTransparent*(image: Image): bool {.raises: [].} =
|
|||
return false
|
||||
|
||||
proc isOpaque*(image: Image): bool {.raises: [].} =
|
||||
## Checks if the entire image is opaque (alpha values are all 255).
|
||||
result = true
|
||||
|
||||
var i: int
|
||||
|
|
Loading…
Reference in a new issue