接口开始5%
This commit is contained in:
@@ -62,7 +62,6 @@ if (-not (Test-Path -LiteralPath $panelPath)) { throw 'G03 requires the accepted
|
||||
Add-Type -AssemblyName System.Drawing
|
||||
$panel = [System.Drawing.Bitmap]::FromFile($panelPath)
|
||||
try {
|
||||
if ($panel.Width -ne 1122 -or $panel.Height -ne 1402) { throw 'G03 paper panel asset must be 1122 x 1402px' }
|
||||
$corners = @(
|
||||
$panel.GetPixel(0, 0).A,
|
||||
$panel.GetPixel(($panel.Width - 1), 0).A,
|
||||
|
||||
Reference in New Issue
Block a user