< Previous | Contents | Next >
img:Fill(object pixel)
This argument should be set to a pixel object.
function Process(req)
img = InImage:GetValue(req)
p = Pixel({R = 0.5, G = 0.2, B = 0, A = 1})
out = Image({IMG_Like = img}) out:Fill(p)
OutImage:Set(req, out)
end