image_surface_initial - Retrieve a table describing the initial storage
state for the specified object.
proptbl
image_surface_initial( vid )
The system distinguishes between transformations that have been applied after an
object was created and the initial state of the object. This function
retrieves the values associated with this initial state and returns it as a
property table.
function image_surface_initial0()
a = load_image("test.png");
resize_image(a, 32, 32);
iprop = image_surface_initial(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
image_surface_resolve(3) image_surface_properties(3)