image_storage_properties(3)

πŸ“¦
version 0.7.1 Β· 2 versions
, in nixos 26.05

πŸ’– NAME πŸ’–

okay so bestie, this is image_storage_properties(3) from the Arcan Lua API ✨ and it’s literally the glow-up function for getting a table that describes the current storage state of the object you point at 🫢


🌸 SYNOPSIS 🌸

proptbl
image_storage_properties( vid:src )

πŸ¦‹ DESCRIPTION πŸ¦‹

This function hands you the image state back, with the same fields as image_surface_resolve β€” no cap πŸ’… β€” but the dimensions are gonna be the ones from the backing store, not the current presentation size. tiny but iconic distinction, okay?

It also gives you the extended fields 'type' and 'refcount', because we love extra info πŸŽ€


πŸŽ€ EXAMPLE πŸŽ€

       function image_storage_properties0()
             a = fill_surface(64, 64, 255, 0, 0, 33, 33);
             b = image_storage_properties(a);
             print(b.width, b.height);
       end

πŸ‘‘ SEE ALSO πŸ‘‘


kisses and sparkles 🫢 from the image manual, October 2026 edition β€” periodt πŸ’…βœ¨

πŸ“¦ where this page comes from