Named transformation with user-defined variables not working

Options
fahico98
fahico98 Member Posts: 6

I'm working with Strict Transformations mode disabled and I'm trying the following named transformation (portfolio_color_replacement) with user-defined variables:

My original image looks like this:

If I try to use the replace color effect like this https://res.cloudinary.com/torrevia/image/upload/e_replace_color:0000ff:20:d22210/samples/dessert-on-a-plate I get the following result:

But it doesn't work with user-defined variables: https://res.cloudinary.com/torrevia/image/upload/$tocolor_!rgb:0000ff!,$tolerance_20,$fromcolor_!rgb:d22210!/t_portfolio_color_replacement/samples/dessert-on-a-plate. I'm getting a 400 error in $tolerance variable:

I already tried to separate these variables value assingment with / and with comma and also tried changing the variables order but nothing worked.


Can somebody help with this ? Why I'm getting this error ?

Best Answer

Answers