Tiny Ruby helper that turns any image size into a square canvas plus left/right/top/bottom padding. Fit mode letterboxes; fill mode covers. Layout math only — it does not decode or rewrite image files.
Required Ruby Version
>= 3.0
Authors
hiltonlee981
Versions
- 0.1.0 September 08, 2026 (6.5 KB)