Remove background AND apply a mask?
Hi all,
So I'm processing Facebook Messenger Scan codes, and I'm able to remove the center of the image using a mask like so:
https://res.cloudinary.com/braintrust/image/upload/w_1000,h_1000,c_fill/l_sc-cutout-center,fl_cutter/sc-test.png
and I can remove the white from the image like so:
https://res.cloudinary.com/braintrust/image/upload/w_1000,h_1000,c_fill/e_make_transparent:50/sc-test.png
But I can't for the life of me figure out how to combine the two to remove the center AND the white from the image. Any ideas? Thanks!
-
Center Only Cut Out
https://res.cloudinary.com/{cloudname}/image/upload/w_1000,h_1000,c_fill/l_sc-cutout-center,fl_cutter/{image}.pngFull Cut Out
https://res.cloudinary.com/{cloudname}/image/upload/w_1000,h_1000,c_fill/l_sc-full,fl_cutter/{image}.png
Full Transparency
https://res.cloudinary.com/{cloudname}/image/upload/w_1000,h_1000,c_fill/e_make_transparent:50/l_sc-full,fl_cutter/{image}.pngFull Transparency + colorize
https://res.cloudinary.com/{cloudname}/image/upload/w_1000,h_1000,c_fill/e_make_transparent:50/l_sc-full,fl_cutter/e_colorize:100,co_rgb:990000/{image}.png0 -
In order to apply a transformation on top of another transformation. you might want to use `fl_layer_apply`.
If you want us to help you with your own image. please feel free to contact us at support@cloudinary.com with your image public_id.
Cheers,
0
Post is closed for comments.
Comments
2 comments