RasterizeXCAssets
Rasterize svg files into your XCAssets
Install / Use
/learn @LinusU/RasterizeXCAssetsREADME
RasterizeXCAssets
Rasterize svg files into your XCAssets.
Installation
Installation via Mint:
mint install LinusU/RasterizeXCAssets
Usage
converting logo.svg to an appiconset xcasset:
rasterizexcassets logo.svg Sources/Assets.xcassets/AppIcon.appiconset
The command will load the svg file logo.svg, and then rasterize it to all sizes that should be present for an appiconset. It will also create the neccesary Contents.json file, and create Assets.xcassets if it doesn't exist.
converting greeting.svg to an imageset xcasset:
rasterizexcassets greeting.svg Sources/Assets.xcassets/Greeting.imageset --size 120x200
The command will load the svg file logo.svg, and then rasterize it to the size specified at 1x, 2x and 3x. It will also create the neccesary Contents.json file, and create Assets.xcassets if it doesn't exist.
Related tools
- jkmathew/Assetizer - Creates Assets from raster images
- LinusU/RasterizeXCAssets - Create AppIcons & Assets from SVGs
- num42/icon-resizer-swift - Create AppIcons from raster images
Related Skills
node-connect
344.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
96.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
344.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
344.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
