Configuration
Administrators configure document data extraction and download format conversion in the Global site. The services available depend on which DAM modules the project includes. For a list of modules, see the technical reference.
Configure document data extraction
Extraction services read the text from uploaded documents and generate thumbnails. Brightspot runs the first service in the list that supports the file type of the upload.
To configure document data extraction:
- From the left navigation, under Admin, click Sites & Settings, then select the Global site.
-
Click the CMS tab.
-
Expand the DAM Document Data Extraction Settings cluster.
-
In the Extractor Services list, add one or more services, and complete the fields for each service.
Using the following table as a reference, complete the fields as needed.
Service Supported files Fields Pdf Document Data Extractor (PDFBox) PDF Disable Text Extraction? and Disable Thumbnail Extraction? checkboxes. CloudConvert Not restricted by file type Api Key, Webhook Signing Secret, Thumbnail Height, Thumbnail Width (both default to 100), and the two disable checkboxes (Disable Text Extraction? and Disable Thumbnail Extraction?).Textract Document Data Extractor PDF, JPEG, and PNG Thumbnail Extractor (optional), a service that generates the thumbnail. Textract does not generate thumbnails for PDF files itself, so select a PDF extractor to get one. For image files, Brightspot uses the image as the thumbnail. -
Click Save.
The Textract Document Data Extractor runs only when you enable the Amazon Textract integration and supply its AWS settings. Textract runs asynchronously, so the text appears after Amazon Textract finishes processing the file.
To enable the Amazon Textract integration:
- From the left navigation, under Admin, click Sites & Settings, then select the Global site.
- Click the Integrations tab, and expand the AWS Textract cluster.
- Toggle on the Enable Textract Service setting.
- In the SQS Queue Name, Topic ARN, and Role ARN fields, type the values from your AWS console.
- In the Minimum Block Confidence field, type a value from
0.0to100.0. Brightspot excludes text in blocks that fall below this confidence level. - Click Save.
For the AWS setup, including the role permissions that Textract requires, see Amazon Textract configuration.
The CloudConvert Api Key setting in the CloudConvert cluster is deprecated. Use the Api Key field in DAM Document Data Extraction Settings instead.
Configure Pandoc downloads
Pandoc converts documents to formats such as Word, EPUB, and Markdown during a download. Install Pandoc on the application server before you enable these options.
To configure Pandoc:
- From the left navigation, under Admin, click Sites & Settings, then select the Global site.
-
Click the Pandoc tab.
-
Using the following table as a reference, complete the fields as needed.
Field Description Pandoc Executable Path to the pandocexecutable. Defaults topandocon the application server path.Pandoc Process Path Additional directories to add to the path of the Pandoc process. For PDF output, the path must include pdflatexorwkhtmltopdf, depending on the converter.Disable Pandoc Download Options? Select to hide Pandoc formats from the Download Options window. Pdf Converter Converter that Pandoc uses for PDF output. Defaults to WKHTMLTOPDF.Markdown Flavor Markdown variant to use for Markdown output. Defaults to EXTENDED.Epub Version EPUB version to use for EPUB output. Defaults to V3.Default Pandoc Document Format Format that is selected by default in the Download Options window. -
Click Save.
Configure ImageMagick downloads
ImageMagick converts images to formats such as JPG, PNG, TIFF, and GIF during a download. Install ImageMagick on the application server before you enable these options.
To configure ImageMagick:
- From the left navigation, under Admin, click Sites & Settings, then select the Global site.
-
Click the ImageMagick tab.
-
Using the following table as a reference, complete the fields as needed.
Field Description Image Magick Executable Path to the convertexecutable. Defaults toconverton the application server path.Image Magick Process Path Additional directories to add to the path of the ImageMagick process. Disable Image Magick Download Options? Select to hide ImageMagick formats from the Download Options window. Default Image Magick Format Format that is selected by default in the Download Options window. -
Click Save.
Configure DocRaptor PDF downloads
DocRaptor converts HTML documents to PDF during a download.
To configure DocRaptor:
- From the left navigation, under Admin, click Sites & Settings, then select the Global site.
- Click the DocRaptor tab.
- In the Api Key field, type your DocRaptor API key.
- Click Save.
Outside of production, Brightspot sends documents to DocRaptor in test mode, so the PDF contains a watermark.