Archived from the Transloadit support forum. Originally posted on January 8, 2014; details may be outdated, see our docs for current behavior. Original thread
Hello
I see that the resize strategies talks about background color and /image/resize have a background parameter. How can I do the same with the /video/encode robot?
sorry for the long delay. I have implemented this today. There is a new parameter called “background” in the /video/encode robot (and /video/merge robot) that allows you to specify the background color that is used when you use the “pad” resize strategy.
You can specify the colors in two formats: simple strings like “black”, “red”, “white” and “yellow”. And Hexformat is also allowed (also strings): 0xrrggbbaa, so for example “0xFFaa00AA”.