Using Mari’s C API

Mari provides an SDK for developing binary plug-ins for functionality where Python scripting is not the best solution.

Introduction

The C API allows users to develop plug-ins to read and write custom image formats, or to read custom geometry formats. In these cases, passing data between the application and plug-ins can be done more efficiently by passing buffers of binary data rather than using intermediate Python types.

The choice to use C instead of C++ for the API provides better compatibility and simpler compilation for users, and as always, can still be used in plug-ins written in C++.

Reviewing Mari’s C API Documentation

For full details of the C API, including example plug-ins, please see the C API documentation under Help > SDK > C API > Documentation, or through the installation directory in the SDK folder.