Skip to content

Commit 2a20eaf

Browse files
committed
chore: add 216x216 store icon
1 parent 948b11e commit 2a20eaf

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

docs/store_icon_216.png

116 KB
Loading

scripts/update_icons.ps1

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,5 +160,17 @@ foreach ($folder in $sizes.Keys) {
160160
Write-Host "Saved $folder ($size x $size)"
161161
}
162162

163+
# Generate 216x216 Store Icon
164+
$storeSize = 216
165+
$storePath = "c:\Users\xhb23\Desktop\good\gifts---APK\gifts---couple-connection\docs\store_icon_216.png"
166+
$resizedStore = New-Object System.Drawing.Bitmap $storeSize, $storeSize
167+
$gStore = [System.Drawing.Graphics]::FromImage($resizedStore)
168+
$gStore.InterpolationMode = [System.Drawing.Drawing2D.InterpolationMode]::HighQualityBicubic
169+
$gStore.DrawImage($cropped, 0, 0, $storeSize, $storeSize)
170+
$resizedStore.Save($storePath, [System.Drawing.Imaging.ImageFormat]::Png)
171+
$gStore.Dispose()
172+
$resizedStore.Dispose()
173+
Write-Host "Saved Store Icon (216x216) to docs\store_icon_216.png"
174+
163175
$cropped.Dispose()
164176
$srcInfo.Dispose()

0 commit comments

Comments
 (0)