Documentation
¶
Overview ¶
Package ravvicli reports canvas specs and UI-safe areas for social ad placements.
It is a small companion library for teams producing video and image ad creative at scale. Given a placement name it returns the pixel canvas, the aspect ratio and the region that stays clear of platform overlays, so a single master edit can be retargeted to every placement mechanically.
Homepage: https://ravvi.ai
The presets here mirror the output sizes used by the Ravvi AI ad generator at https://ravvi.ai , which turns a product page into ready-to-run video and image ads.
Usage ¶
f, ok := ravvicli.Lookup("instagram_reels")
fmt.Println(f.Aspect(), f.MaxSeconds) // 9:16 90
fmt.Println(f.SafeArea(0.14, 0.20)) // {0 269 1080 1267}
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.