ByteScout tutorials are designed to explain the code for both VBScript beginners and advanced programmers. ByteScout PDF Extractor SDK is 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. It can be used to convert PDF to JSON with images using VBScript.
Fast application programming interfaces of ByteScout PDF Extractor SDK for VBScript plus the instruction and the code below will help you quickly learn how to convert PDF to JSON with images. Just copy and paste the code into your VBScript application’s code and follow the instruction. This basic programming language sample code for VBScript will do the whole work for you to convert PDF to JSON with images.
Free trial version of ByteScout PDF Extractor SDK is available for download from our website. Get it to try other source code samples for VBScript.
On-demand (REST Web API) version:
Web API (on-demand version)
On-premise offline SDK for Windows:
60 Day Free Trial (on-premise)
' Create Bytescout.PDFExtractor.JSONExtractor object Set extractor = CreateObject("Bytescout.PDFExtractor.JSONExtractor") extractor.RegistrationName = "demo" extractor.RegistrationKey = "demo" ' Load sample PDF document extractor.LoadDocumentFromFile "../../sample1.pdf" ' Uncomment this line to get rid of empty nodes in JSON 'extractor.PreserveFormattingOnTextExtraction = False ' Set output image format extractor.ImageFormat = 0 ' 0 = PNG; 1 = JPEG; 2 = GIF; 3 = BMP ' Save images to external files extractor.SaveImages = 1 ' 1 = ImageHandling.OuterFile extractor.ImageFolder = "images" ' Folder for external images extractor.SaveJSONToFile "result_with_external_images.json" ' Embed images into JSON as Base64 encoded string extractor.SaveImages = 2 ' 2 = ImageHandling.Embed extractor.SaveJSONToFile "result_with_embedded_images.json" WScript.Echo "Done."
60 Day Free Trial or Visit ByteScout PDF Extractor SDK Home Page
Explore ByteScout PDF Extractor SDK Documentation
Explore Samples
Sign Up for ByteScout PDF Extractor SDK Online Training
Get Your API Key
Explore Web API Docs
Explore Web API Samples
60 Day Free Trial or Visit ByteScout PDF Extractor SDK Home Page
Explore ByteScout PDF Extractor SDK Documentation
Explore Samples
Sign Up for ByteScout PDF Extractor SDK Online Training
Get Your API Key
Explore Web API Docs
Explore Web API Samples
also available as: