thgtoa/imagesize.lua

8 lines
168 B
Lua
Raw Normal View History

function Image (img)
-- get dimensions
local width, height = nil, nil -- implement
img.attributes.width = width
img.attributes.height = height
return img
end