Sending base64 images through APIs

Hello community,

I'm here with a question regarding an API integration sending images.

Our goal is to transfer an image from an external system to Sugar. In Sugar we were thinking on saving the file in an image type field.

The external system can send images encoded in base64 format, please see the attached file.

Do we have a standard way to save the base64 format image into an image field and decode it?

Thanks in advance

image_base64.rtf