i wanted to build a REST API for sending an image as base64 which should be stored locally, so i convert the base64 string to image after recieving it. When i try to handle