ADR-0037 Mallzee Image Handling

Publication Date2022-06-24
Last Update2022-06-24


ETryOn applications currently generate images of the products being tested which are to be sent to the Mallzee API for popularity predictions. Currently the API only accepts a URL to image data so it can download and process any image hosted on the internet. The applications would like to send raw image data to avoid uploading and storing images that are generated on the fly.


The Mallzee API will support raw image data being sent via the img_data key. Raw data is to be sent Base64 encoded.


With this change. Applications are responsible for image size constraints when sending raw data as the API will only accept 10mb as a payload in its current configuration.