I have made a function which takes image URI and converts it into black and white photo. But problem is if i use portrait photo it will change its orientation and not vice versa