This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| import sys | |
| import hashlib | |
| def hash_file_sha256(path): | |
| with open(path, "rb") as file: | |
| return hashlib.file_digest(file, "sha256").hexdigest() | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Public Class HSV | |
| Public H As Double '0 - 360 | |
| Public S As Double '0 - 100 | |
| Public V As Double '0 - 100 | |
| Public A As Double '0 - 255 | |
| Public Sub New(Optional hue As Double = 0, Optional sat As Double = 0, Optional val As Double = 0, Optional alpha As Double = 255) | |
| H = hue | |
| S = sat |