Message Boards Message Boards


Rendering object of class map to an image file

Posted 3 months ago
0 Replies
0 Total Likes

I am using the wolfram API and my code requires the image in the subpod to be returned as an image file. However subpod.img returns an object of class map , which , as far as i know , can be converted to classes like lists and tuples i.e iterators . How do i render this object into an image file?
Error i am getting:
Command raised an exception: TypeError: Can not serialize value type: <class 'map'> headers: {'Content-Type': 'application/octet-stream'} value: <map object at 0x0000021FF503C198>

Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
or Discard

Group Abstract Group Abstract