< Previous | Contents | Next >

Usage

img:Fill(object pixel)

object (pixel, required)

This argument should be set to a pixel object.

Example


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