{"id":"300a6276-74e7-4612-add6-74c41c5690c8","shortId":"b7DPSE","kind":"skill","title":"asc-screenshot-resize","tagline":"Resize and validate App Store screenshots for all device classes using macOS sips. Use when preparing or fixing screenshots for App Store Connect submission.","description":"# asc screenshot resize\n\nUse this skill to resize screenshots to the exact pixel dimensions required by App Store Connect and validate they pass upload requirements. Uses the built-in macOS `sips` tool — no third-party dependencies needed.\n\n## Required Dimensions\n\n### iPhone\n\n| Display Size | Accepted Dimensions (portrait × landscape) |\n|---|---|\n| 6.9\" | 1260 × 2736, 2736 × 1260, 1320 × 2868, 2868 × 1320, 1290 × 2796, 2796 × 1290 |\n| 6.5\" | 1242 × 2688, 2688 × 1242, 1284 × 2778, 2778 × 1284 |\n| 6.3\" | 1206 × 2622, 2622 × 1206, 1179 × 2556, 2556 × 1179 |\n| 6.1\" | 1125 × 2436, 2436 × 1125, 1080 × 2340, 2340 × 1080, 1170 × 2532, 2532 × 1170 |\n| 5.5\" | 1242 × 2208, 2208 × 1242 |\n| 4.7\" | 750 × 1334, 1334 × 750 |\n| 4\" | 640 × 1096, 640 × 1136, 1136 × 600, 1136 × 640 |\n| 3.5\" | 640 × 920, 640 × 960, 960 × 600, 960 × 640 |\n\n**Note:** 6.9\" accepts screenshots from 6.5\", 6.7\", and 6.9\" devices. 6.3\" accepts from 6.1\" and 6.3\". 6.1\" accepts from 5.4\", 5.8\", and 6.1\".\n\n### iPad\n\n| Display Size | Accepted Dimensions |\n|---|---|\n| 13\" | 2064 × 2752, 2752 × 2064, 2048 × 2732, 2732 × 2048 |\n| 11\" | 1668 × 2420, 2420 × 1668, 1668 × 2388, 2388 × 1668, 1640 × 2360, 2360 × 1640, 1488 × 2266, 2266 × 1488 |\n| iPad Pro 2nd gen 12.9\" | 2048 × 2732, 2732 × 2048 |\n| 10.5\" | 1668 × 2224, 2224 × 1668 |\n| 9.7\" | 1536 × 2008, 1536 × 2048, 2048 × 1496, 2048 × 1536, 768 × 1004, 768 × 1024, 1024 × 748, 1024 × 768 |\n\n### Apple Watch\n\n| Device | Dimensions |\n|---|---|\n| Ultra 3 (49mm) | 422 × 514, 410 × 502 |\n| Series 11 (46mm) | 416 × 496 |\n| Series 9 (45mm) | 396 × 484 |\n| Series 6 (44mm) | 368 × 448 |\n| Series 3 (42mm) | 312 × 390 |\n\n### Mac\n\n| Dimensions |\n|---|\n| 1280 × 800 |\n| 1440 × 900 |\n| 2560 × 1600 |\n| 2880 × 1800 |\n\n### Apple TV\n\n| Dimensions |\n|---|\n| 1920 × 1080 |\n| 3840 × 2160 |\n\n## Workflow\n\n### 1. Fix Unicode filenames\n\nmacOS screenshots often contain hidden Unicode characters (e.g., `U+202F` narrow no-break space) that cause `sips` and other tools to fail with \"not a valid file\". Always sanitize first:\n\n```bash\npython3 -c \"\nimport os\nfor f in os.listdir('.'):\n    clean = f.replace('\\u202f', ' ')\n    if f != clean:\n        os.rename(f, clean)\n        print(f'Renamed: {clean}')\n\"\n```\n\n### 2. Check current dimensions\n\n```bash\nsips -g pixelWidth -g pixelHeight screenshot.png\n```\n\n### 3. Validate App Store readiness\n\nCheck for alpha channel and color space issues before uploading:\n\n```bash\nsips -g hasAlpha -g space screenshot.png\n```\n\nApp Store Connect rejects screenshots with alpha transparency. Remove it by round-tripping through JPEG:\n\n```bash\nsips -s format jpeg input.png --out /tmp/temp.jpg\nsips -s format png /tmp/temp.jpg --out output.png\nrm /tmp/temp.jpg\n```\n\nBatch-strip alpha from all PNGs in a directory:\n\n```bash\nfor f in *.png; do\n  if sips -g hasAlpha \"$f\" | grep -q \"yes\"; then\n    sips -s format jpeg \"$f\" --out /tmp/temp.jpg\n    sips -s format png /tmp/temp.jpg --out \"$f\"\n    rm /tmp/temp.jpg\n    echo \"Stripped alpha: $f\"\n  fi\ndone\n```\n\n### 4. Resize a single screenshot\n\n```bash\n# Portrait iPhone 6.5\" (1284 × 2778)\nsips -z 2778 1284 input.png --out output.png\n```\n\n**Note:** `sips -z` takes height first, then width: `sips -z <height> <width>`.\n\n### 5. Batch resize all screenshots in a directory\n\n```bash\nmkdir -p resized\nfor f in *.png; do\n  sips -z 2778 1284 \"$f\" --out \"resized/$f\"\ndone\n```\n\n### 6. Generate multiple device sizes from one source\n\n```bash\nmkdir -p appstore-screenshots\n# iPhone\nsips -z 2868 1320 input.png --out appstore-screenshots/iphone-6.9.png\nsips -z 2778 1284 input.png --out appstore-screenshots/iphone-6.5.png\nsips -z 2622 1206 input.png --out appstore-screenshots/iphone-6.3.png\nsips -z 2532 1170 input.png --out appstore-screenshots/iphone-6.1.png\nsips -z 2208 1242 input.png --out appstore-screenshots/iphone-5.5.png\n```\n\n### 7. Verify output\n\n```bash\nsips -g pixelWidth -g pixelHeight -g hasAlpha resized/*.png\n```\n\nConfirm all files show the target dimensions and `hasAlpha: no`.\n\n## Guardrails\n\n- `sips` stretches images to fit exact dimensions. For best results, use source screenshots captured at or near the target aspect ratio.\n- Always output to a separate file or directory (`--out`) to preserve originals.\n- App Store Connect requires PNG or JPEG format. `sips` preserves the input format by default.\n- Screenshots **must not** include alpha transparency. Always validate with `sips -g hasAlpha` before upload.\n- Color space must be sRGB. If screenshots use Display P3, convert with: `sips -m \"/System/Library/ColorSync/Profiles/sRGB IEC61966-2.1.icc\" input.png --out output.png`.","tags":["asc","screenshot","resize","app","store","connect","cli","skills","rorkai","agent-skills","ai-skills","app-store-connect"],"capabilities":["skill","source-rorkai","skill-asc-screenshot-resize","topic-agent-skills","topic-ai-skills","topic-app-store-connect","topic-apple","topic-asc","topic-automation","topic-cicd","topic-cli","topic-devops","topic-ios","topic-macos","topic-testflight"],"categories":["app-store-connect-cli-skills"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/rorkai/app-store-connect-cli-skills/asc-screenshot-resize","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add rorkai/app-store-connect-cli-skills","source_repo":"https://github.com/rorkai/app-store-connect-cli-skills","install_from":"skills.sh"}},"qualityScore":"0.700","qualityRationale":"deterministic score 0.70 from registry signals: · indexed on github topic:agent-skills · 776 github stars · SKILL.md body (4,569 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-05-02T18:53:02.665Z","embedding":null,"createdAt":"2026-04-18T21:56:49.819Z","updatedAt":"2026-05-02T18:53:02.665Z","lastSeenAt":"2026-05-02T18:53:02.665Z","tsv":"'+202':296 '/iphone-5.5.png':572 '/iphone-6.1.png':562 '/iphone-6.3.png':552 '/iphone-6.5.png':542 '/iphone-6.9.png':532 '/system/library/colorsync/profiles/srgb':673 '/tmp/temp.jpg':397,402,406,438,443,447 '1':283 '10.5':212 '1004':227 '1024':229,230,232 '1080':113,116,279 '1096':133 '11':186,246 '1125':109,112 '1136':135,136,138 '1170':117,120,556 '1179':104,107 '12.9':207 '1206':100,103,546 '1242':91,94,122,125,566 '1260':78,81 '1280':267 '1284':95,98,463,468,502,536 '1290':86,89 '13':177 '1320':82,85,526 '1334':128,129 '1440':269 '1488':199,202 '1496':223 '1536':218,220,225 '1600':272 '1640':195,198 '1668':187,190,191,194,213,216 '1800':274 '1920':278 '2':341 '2008':219 '2048':182,185,208,211,221,222,224 '2064':178,181 '2160':281 '2208':123,124,565 '2224':214,215 '2266':200,201 '2340':114,115 '2360':196,197 '2388':192,193 '2420':188,189 '2436':110,111 '2532':118,119,555 '2556':105,106 '2560':271 '2622':101,102,545 '2688':92,93 '2732':183,184,209,210 '2736':79,80 '2752':179,180 '2778':96,97,464,467,501,535 '2796':87,88 '2868':83,84,525 '2880':273 '2nd':205 '3':239,261,352 '3.5':140 '312':263 '368':258 '3840':280 '390':264 '396':253 '4':131,454 '4.7':126 '410':243 '416':248 '422':241 '42mm':262 '448':259 '44mm':257 '45mm':252 '46mm':247 '484':254 '496':249 '49mm':240 '5':482 '5.4':168 '5.5':121 '5.8':169 '502':244 '514':242 '6':256,508 '6.1':108,162,165,171 '6.3':99,159,164 '6.5':90,154,462 '6.7':155 '6.9':77,150,157 '600':137,146 '640':132,134,139,141,143,148 '7':573 '748':231 '750':127,130 '768':226,228,233 '800':268 '9':251 '9.7':217 '900':270 '920':142 '960':144,145,147 'accept':73,151,160,166,175 'alpha':359,380,410,450,649 'alway':316,618,651 'app':8,25,45,354,374,630 'appl':234,275 'appstor':520,530,540,550,560,570 'appstore-screenshot':519,529,539,549,559,569 'asc':2,29 'asc-screenshot-res':1 'aspect':616 'bash':319,345,367,390,417,459,490,516,576 'batch':408,483 'batch-strip':407 'best':605 'break':301 'built':57 'built-in':56 'c':321 'captur':610 'caus':304 'channel':360 'charact':293 'check':342,357 'class':14 'clean':328,333,336,340 'color':362,659 'confirm':586 'connect':27,47,376,632 'contain':290 'convert':669 'current':343 'default':644 'depend':66 'devic':13,158,236,511 'dimens':42,69,74,176,237,266,277,344,592,603 'directori':416,489,625 'display':71,173,667 'done':453,507 'e.g':294 'echo':448 'exact':40,602 'f':297,325,332,335,338,419,427,436,445,451,495,503,506 'f.replace':329 'fail':310 'fi':452 'file':315,588,623 'filenam':286 'first':318,477 'fit':601 'fix':22,284 'format':393,400,434,441,637,642 'g':347,349,369,371,425,578,580,582,655 'gen':206 'generat':509 'grep':428 'guardrail':596 'hasalpha':370,426,583,594,656 'height':476 'hidden':291 'iec61966-2.1.icc':674 'imag':599 'import':322 'includ':648 'input':641 'input.png':395,469,527,537,547,557,567,675 'ipad':172,203 'iphon':70,461,522 'issu':364 'jpeg':389,394,435,636 'landscap':76 'm':672 'mac':265 'maco':16,59,287 'mkdir':491,517 'multipl':510 'must':646,661 'narrow':298 'near':613 'need':67 'no-break':299 'note':149,472 'often':289 'one':514 'origin':629 'os':323 'os.listdir':327 'os.rename':334 'output':575,619 'output.png':404,471,677 'p':492,518 'p3':668 'parti':65 'pass':51 'pixel':41 'pixelheight':350,581 'pixelwidth':348,579 'png':401,421,442,497,585,634 'pngs':413 'portrait':75,460 'prepar':20 'preserv':628,639 'print':337 'pro':204 'python3':320 'q':429 'ratio':617 'readi':356 'reject':377 'remov':382 'renam':339 'requir':43,53,68,633 'resiz':4,5,31,36,455,484,493,505,584 'result':606 'rm':405,446 'round':386 'round-trip':385 'sanit':317 'screenshot':3,10,23,30,37,152,288,378,458,486,521,531,541,551,561,571,609,645,665 'screenshot.png':351,373 'separ':622 'seri':245,250,255,260 'show':589 'singl':457 'sip':17,60,305,346,368,391,398,424,432,439,465,473,480,499,523,533,543,553,563,577,597,638,654,671 'size':72,174,512 'skill':34 'skill-asc-screenshot-resize' 'sourc':515,608 'source-rorkai' 'space':302,363,372,660 'srgb':663 'store':9,26,46,355,375,631 'stretch':598 'strip':409,449 'submiss':28 'take':475 'target':591,615 'third':64 'third-parti':63 'tool':61,308 'topic-agent-skills' 'topic-ai-skills' 'topic-app-store-connect' 'topic-apple' 'topic-asc' 'topic-automation' 'topic-cicd' 'topic-cli' 'topic-devops' 'topic-ios' 'topic-macos' 'topic-testflight' 'transpar':381,650 'trip':387 'tv':276 'u':295 'u202f':330 'ultra':238 'unicod':285,292 'upload':52,366,658 'use':15,18,32,54,607,666 'valid':7,49,314,353,652 'verifi':574 'watch':235 'width':479 'workflow':282 'yes':430 'z':466,474,481,500,524,534,544,554,564","prices":[{"id":"456acb87-26ce-44c0-9160-f6097fc01660","listingId":"300a6276-74e7-4612-add6-74c41c5690c8","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"rorkai","category":"app-store-connect-cli-skills","install_from":"skills.sh"},"createdAt":"2026-04-18T21:56:49.819Z"}],"sources":[{"listingId":"300a6276-74e7-4612-add6-74c41c5690c8","source":"github","sourceId":"rorkai/app-store-connect-cli-skills/asc-screenshot-resize","sourceUrl":"https://github.com/rorkai/app-store-connect-cli-skills/tree/main/skills/asc-screenshot-resize","isPrimary":false,"firstSeenAt":"2026-04-18T21:56:49.819Z","lastSeenAt":"2026-05-02T18:53:02.665Z"}],"details":{"listingId":"300a6276-74e7-4612-add6-74c41c5690c8","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"rorkai","slug":"asc-screenshot-resize","github":{"repo":"rorkai/app-store-connect-cli-skills","stars":776,"topics":["agent-skills","ai-skills","app-store-connect","apple","asc","automation","cicd","cli","devops","ios","macos","testflight","xcode"],"license":"mit","html_url":"https://github.com/rorkai/app-store-connect-cli-skills","pushed_at":"2026-04-24T08:59:37Z","description":"Skills to automate app store deployed and everything related to it using the asc cli","skill_md_sha":"9fad85e04a490ba3ec783343aadc9187afb47340","skill_md_path":"skills/asc-screenshot-resize/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/rorkai/app-store-connect-cli-skills/tree/main/skills/asc-screenshot-resize"},"layout":"multi","source":"github","category":"app-store-connect-cli-skills","frontmatter":{"name":"asc-screenshot-resize","description":"Resize and validate App Store screenshots for all device classes using macOS sips. Use when preparing or fixing screenshots for App Store Connect submission."},"skills_sh_url":"https://skills.sh/rorkai/app-store-connect-cli-skills/asc-screenshot-resize"},"updatedAt":"2026-05-02T18:53:02.665Z"}}