Add compression estimates, transparent image output and full format selection
This commit is contained in:
1 parent
65cebb31ca
commit
2b897267d1
22 files changed
+220
-30
No files matched your search
@@ -0,0 +1,6 @@
|
||||
function Get-FileBowSha256([string]$Path) {
|
||||
$stream = [IO.File]::OpenRead([IO.Path]::GetFullPath($Path))
|
||||
$algorithm = [Security.Cryptography.SHA256]::Create()
|
||||
try { return [BitConverter]::ToString($algorithm.ComputeHash($stream)).Replace('-', '') }
|
||||
finally { $algorithm.Dispose(); $stream.Dispose() }
|
||||
}
|
||||
Reference in new issue
Block a user