5. Check and run
luastra/assets · UI.Image · UI.Shape · about 15 minutescontain → cover → contain
Check verifies packaged asset admission; the browser preview separately verifies decoded pixels, sizing, clipping, and accessible presentation.
When to use it
Run from visuals-recipe after the PNG and all three text files are saved.
- check and test must report PASS with one passing test.
- A successful build proves the file ledger and contract, not that every browser can decode arbitrary image bytes.
- Resize and zoom the preview: the frame stays bounded while contain preserves the complete image and cover may crop it.
Focused example
luastra check luastra test luastra run # Expect the complete mark inside a 280 × 180 frame. # Press Fill the frame: expect cropping and Fit: cover.