File Format Conversion

to convert

Input Type
msg

to

Output Type
jpeg

Node.js Quick Start Guide - Convert MSG to JPEG

Below is a functional (copy and paste) code example of how to quickly get started with our conversion technology using our new Node.js module.
npm install @accusoft/document-processing-helper --save

Example of usage [MSG to JPEG]

const Helper = require('@accusoft/document-processing-helper');

  async function main()  {
    const documentProcessingHelper = new Helper({
      prizmDocServerBaseUrl: 'https://api.accusoft.com',
      apiKey: 'YOUR_API_KEY'
    });

    // Initialize a conversion
    const output = await documentProcessingHelper.convert({
      input: 'input.msg',
      outputFormat: 'jpeg'
    });

    // Download the output and save the file
    await output[0].saveToFile('output.jpeg');
  }

main();
Not using Node.js? View our official documentation to use our advanced features with other languages.