Link Search Menu Expand Document

How to extract text with colored background

If you can’t extract text with colored background, please add the Grayscale filter to the profiles param.

{
  'OCRImagePreprocessingFilters.AddGrayscale()': []
}

Applies to:

  • pdf/convert/to/csv
  • pdf/convert/to/json2
  • pdf/convert/to/text
  • pdf/convert/to/xls(x)
  • pdf/convert/to/xml