ByteScout PDF Extractor SDK - VBScript - Convert PDF to Black and White - ByteScout
Announcement
Our ByteScout SDK products are sunsetting as we focus on expanding new solutions.
Learn More Open modal
Close modal
Announcement Important Update
ByteScout SDK Sunsetting Notice
Our ByteScout SDK products are sunsetting as we focus on our new & improved solutions. Thank you for being part of our journey, and we look forward to supporting you in this next chapter!

ByteScout PDF Extractor SDK – VBScript – Convert PDF to Black and White

  • Home
  • /
  • Articles
  • /
  • ByteScout PDF Extractor SDK – VBScript – Convert PDF to Black and White

How to convert PDF to black and white in VBScript and ByteScout PDF Extractor SDK

ByteScout PDF Extractor SDK: the SDK that helps developers to extract data from unstructured documents, pdf, images, scanned and electronic forms. Includes AI functions like automatic table detection, automatic table extraction and restructuring, text recognition and text restoration from pdf and scanned documents. Includes PDF to CSV, PDF to XML, PDF to JSON, PDF to searchable PDF functions as well as methods for low level data extraction.

On-demand (REST Web API) version:
 Web API (on-demand version)

On-premise offline SDK for Windows:
 60 Day Free Trial (on-premise)

MakePDFBlackAndWhite.vbs

      
' Create Bytescout.PDFExtractor.UnsearchablePDFMaker object Set unsearchablePDFMaker = CreateObject("Bytescout.PDFExtractor.UnsearchablePDFMaker") unsearchablePDFMaker.RegistrationName = "demo" unsearchablePDFMaker.RegistrationKey = "demo" ' Load sample PDF document unsearchablePDFMaker.LoadDocumentFromFile("sample1.pdf") ' Larger resolution - longer processing and larger PDF file size unsearchablePDFMaker.RenderingResolution = 300 ' Enable Black and White mode unsearchablePDFMaker.Grayscale = true ' Process the document unsearchablePDFMaker.MakePDFUnsearchable("result.pdf") WScript.Echo "Unsearchable document saved as 'result.pdf'."

VIDEO

ON-PREMISE OFFLINE SDK

Get 60 Day Free Trial

See also:

ON-DEMAND REST WEB API

Get Your API Key

See also:

Tutorials:

prev
next