diff --git a/nft_svc/app.py b/nft_svc/app.py index b1e4484..71eeda6 100644 --- a/nft_svc/app.py +++ b/nft_svc/app.py @@ -16,7 +16,7 @@ def open_image_as_array(path): def get_encoded_img(arr): - img = Image.fromarray(arr).convert("L") + img = Image.fromarray(arr) img_byte_arr = io.BytesIO() img.save(img_byte_arr, format='PNG') encoded_img = base64.encodebytes(img_byte_arr.getvalue()).decode('ascii')