I want to have a background overlay blur on a image if it is rectangular. Like if the image sides are of brown color it should have brown blur background to support its sides. Likewise if it has grey sides it should have grey blur background.
This is what i want to achieve
Pls help...