Skip to main content

Supported formats

This guide will describe which formats are supported for the annotation tool.

Formats

This is the supported formats for documents that the annotation tool will be able to understand.

  • .pdf
  • .doc
  • .xls
  • .ppt
  • .docx
  • .xlsx
  • .pptx
  • .ppsx
  • .jpg
  • .png
  • .tiff

Example

Here is an example of how to use the .jpg format when initializing the annotation tool.

import Annotation from '@pathfindr.dev/annotation';

const options = {
...
pdf: 'https://i.imgur.com/e5MGWSa.jpg', // jpg
};

const annotation = new Annotation('#annotation-tool-container', options);