Modeling Guide for SAP Data Hub

Message to Python2 Image Converter

Converts messages, i.e. from File Consumer, into Python2 Images (message.python.image type).

Configuration Parameters

None

Input

Input

Type

Description

messageIn

message.python.image

The message containing an image as a blob in the body. If the blob is too short or contains invalid data, the error will be raised.

Output

Output

Type

Description

imageOut

message

The message containing 3-dimensional numpy array (RGB image) in the body. The decoded images will have the channels stored in B G R order. The message attributes are left unchanged.