ByteScout Data Extraction Suite - 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 Data Extraction Suite – VBScript – Convert PDF to Black and White

  • Home
  • /
  • Articles
  • /
  • ByteScout Data Extraction Suite – VBScript – Convert PDF to Black and White

How to convert PDF to black and white in VBScript and ByteScout Data Extraction Suite

ByteScout Data Extraction Suite is the set that includes 3 SDK products for data extraction from PDF, scans, images and from spreadsheets: PDF Extractor SDK, Data Extraction SDK, Barcode Reader SDK.

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