Skip to content

Commit

Permalink
Added OffIfOpaque to AlphaOption.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlemstra committed Feb 20, 2024
1 parent 7ffaf1f commit 4918c33
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/enums/alpha-option.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,4 +98,9 @@ export enum AlphaOption {
* RGB data still intact, but fully transparent.
*/
Transparent,

/**
* Removes the alpha channel when the alpha value is opaque for all pixels.
*/
OffIfOpaque,
}

0 comments on commit 4918c33

Please sign in to comment.