image_surface...al_properties(3)
β¨ NAME β¨
Okay so welcome to the Arcan Lua API, bestie π β this page is all about image_surface_initial_properties, which pulls up a table describing the initial storage state of whatever object you point it at. Cute, right? π
πΈ SYNOPSIS πΈ
proptbl
image_surface_initial_properties( vid )
π¦ DESCRIPTION π¦
So here's the tea β: this function is literally just an alias for image_surface_initial, and it's only still here for legacy reasons β like that one friend who refuses to leave the group chat π. Please go see image_surface_initial instead, fr fr. No cap, that's the one you actually want. π
π EXAMPLE π
Here's how it looks in action, bestie β go off π
function image_surface_initial_properties0()
a = load_image("test.png");
resize_image(a, 32, 32);
iprop = image_surface_initial_properties(a);
cprop = image_surface_properties(a);
print(string.format("initial_w: %d, inital_h: %d, current_w: %d, current_h: %d",
iprop.width, iprop.height, cprop.width, cprop.height));
end
(and yes, inital_h is spelled exactly like that in the original β not me, I don't make the rules π)
π SEE ALSO π
Go read those too, they're iconic π
π slay, that's the whole page π
This gem dropped in the image manual, October 2026 β periodt, no further questions π«Άβ¨
π¦ where this page comes from
- nixos 26.05: arcan 0.7.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms