I am trying to figure out if there is a way to pass a variable to the transform in the dynamic image. For example, use a variable to pass color to TintMatrix.
Let's say we have dynamic image:
Code: Select all
image mc_outfit = "mc_[outfit].png"
However, what if we want to add a tint to the image:
Code: Select all
image mc_outfit:
"mc_[outfit].png"
matrixcolor TintMatrix("#ffa")
The question is if we can pass a parameter to the TintMatrix using another variable something like:
Code: Select all
default chosen_color = "#ffa"
image mc_outfit:
"mc_[outfit].png"
matrixcolor TintMatrix(chosen_color)
Code: Select all
default chosen_color = "#ffa"
image mc_outfit:
"mc_[outfit].png"
matrixcolor TintMatrix("[chosen_color]")
Is it a simple way to make a tint to the image based on the variable?