< Previous | Contents | Next >

number r, g, b, a (number, required)

The amount by which to gamma the image.

Example


function Process(req)

local img = InImage:GetValue(req) local gamma = 0.5


local newimg = img:Copy() newimg:Gamma(gamma, gamma, gamma, 1)

OutImage:Set(req, newimg)

end