tvos-assets

MIT - 2 Images → 39 Files - Xcode Ready

Generate complete tvOS Images.xcassets bundles from an icon and a background image. Parallax app icons, Top Shelf images, and splash screen assets - ready for Xcode.

How It Works

Icon input

icon.png

1024 × 1024

Background input

bg.png

2320 × 720

#F39C12

color


$ npx tvos-assets --icon icon.png --background bg.png --color "#F39C12"

39 files generated
==================
Icon: icon.png
Background: bg.png
Color: #F39C12
Dark Color: #0A0800 (auto)
Output: ~/Desktop
Radius: 0px
[1/9] Creating xcassets directory...
[2/9] Generating App Icon (400x240, @1x + @2x)...
[3/9] Generating App Icon - App Store (1280x768, @1x)...
[4/9] Generating Top Shelf Image (1920x720, @1x + @2x)...
[5/9] Generating Top Shelf Image Wide (2320x720, @1x + @2x)...
[6/9] Generating Splash Screen Logo...
[7/9] Generating Splash Screen Background colorset...
[8/9] Generating icon.png (1024x1024)...
[9/9] Creating zip archive...
Done!
Files: 39 files (20 Contents.json + 18 PNGs + icon.png)
Output: ~/Desktop/tvos-assets-20260201-141523.zip

Preview

tvos-assets sample assets seen in the Apple TV simulators

CLI Options

FlagDescriptionDefault
--icon <path>Path to icon PNG (transparent background)required
--background <path>Path to background PNGrequired
--color <hex>Background color hex (e.g. "#B43939")required
--dark-color <hex>Dark mode background color hexauto-darkened
--output <path>Output directory for the zip file~/Desktop
--icon-border-radius <px>Border radius for icon corners0
--config <path>Path to config JSON file

--icon <path>

Path to icon PNG (transparent background)

Required

--background <path>

Path to background PNG

Required

--color <hex>

Background color hex (e.g. "#B43939")

Required

--dark-color <hex>

Dark mode background color hex

Default: auto-darkened

--output <path>

Output directory for the zip file

Default: ~/Desktop

--icon-border-radius <px>

Border radius for icon corners

Default: 0

--config <path>

Path to config JSON file