Dear Community,
Description / Background
We are using mapp Vision to capture images from a vision camera in a B&R system.
Currently, when images are captured and stored using mapp Vision, they are saved only in BMP format by default.
For our MES integration, we need to transfer captured images via REST API, and JPG format is required to reduce file size and network bandwidth.
Technical Questions
1. Image Format (BMP → JPG)
-
Is there a native function or parameter in mapp Vision / Automation Studio that allows captured images to be saved directly as JPG instead of BMP?
-
If direct JPG saving is not supported:
-
Is there any B&R library, function block, or example for converting BMP images to JPG?
-
Can this be implemented using mapp Vision together with mapp File / mapp Services / mapp Media?
-
-
Are there any performance, CPU load, or memory limitations when performing image format conversion on the controller (APC / IPC)?
2. MES Integration via REST API
-
What is the recommended approach to transmit image files captured by mapp Vision to an external MES system via REST API?
-
Is it supported to:
-
Read an image file from the controller file system,
-
Encode it (e.g. Base64),
-
And send it via HTTP POST/PUT using mapp Services (HTTP Client / REST)?
-
-
Are there any reference projects, sample codes, or application notes for:
-
Image file upload via REST API
-
Binary or Base64 image transfer from a B&R controller?
-