post-process-logo
Installation
SKILL.md
Post-process logo
This skill transforms original logo images into standardised 256x256 PNG format suitable for vault protocol metadata. It automatically selects the most square variant from available logos and applies padding if needed to create a perfect square output.
Required inputs
Before starting, gather the following from the user:
- Input folder - Folder containing original logo files (e.g.,
eth_defi/data/vaults/original_logos/protocol-name/) - Output folder - Folder where processed logos should be saved (e.g.,
eth_defi/data/vaults/formatted_logos/) - Variant preference (optional) - Which variant(s) to process:
generic,light,dark, orall
If any required input is missing, ask the user before proceeding.
Prerequisites
Ensure the following are available:
- Python dependencies installed:
poetry install --with dev