These are chat archives for django/django
@codingjoe So, the server internally responds to the API query with an image, and the python api to access the server returns the image data as mentioned, converting it to an image using PIL and sending an image object as a response is one option, but is this the recommended way to returning image responses via an API to the developer using the API ? or should I just be returning the binary data content which I am doing as of now and leave the overhead of converting it to an image to the developer ?
I do not want to increase the requirements for the library to be setup and using PIL just for converting it to an image object seems like an overkill in this situation. I hope my question is much more clear now. Thanks for the link as reference.