ByteScout Data Extraction Suite - VBScript - Extract images from pdf with pdf extractor sdk - ByteScout

ByteScout Data Extraction Suite – VBScript – Extract images from pdf with pdf extractor sdk

  • Home
  • /
  • Articles
  • /
  • ByteScout Data Extraction Suite – VBScript – Extract images from pdf with pdf extractor sdk

How to extract images from pdf with pdf extractor sdk in VBScript using ByteScout Data Extraction Suite

This code in VBScript shows how to extract images from pdf with pdf extractor sdk with this how to tutorial

Quickly learn how to extract images from pdf with pdf extractor sdk in VBScript with this sample source code. ByteScout Data Extraction Suite: the bundle that includes three SDK tools for data extraction from PDF, scans, images and from spreadsheets: PDF Extractor SDK, Data Extraction SDK, Barcode Reader SDK. It can extract images from pdf with pdf extractor sdk in VBScript.

Want to quickly learn? This fast application programming interfaces of ByteScout Data Extraction Suite for VBScript plus the guidelines and the code below will help you quickly learn how to extract images from pdf with pdf extractor sdk. This VBScript sample code is all you need for your app. Just copy and paste the code, add references (if needs to) and you are all set! Applying VBScript application mostly includes various stages of the software development so even if the functionality works please test it with your data and the production environment.

You can download free trial version of ByteScout Data Extraction Suite from our website to see and try many others 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)

ExtractAllImages.vbs
      
' Create Bytescout.PDFExtractor.ImageExtractor object Set extractor = CreateObject("Bytescout.PDFExtractor.ImageExtractor") extractor.RegistrationName = "demo" extractor.RegistrationKey = "demo" ' Load sample PDF document extractor.LoadDocumentFromFile("..\..\sample1.pdf") i = 0 ' Initialize image enumeration If extractor.GetFirstImage() Then Do outputFileName = "image" & i & ".png" ' Save image to file extractor.SaveCurrentImageToFile outputFileName i = i + 1 Loop While extractor.GetNextImage() ' Advance image enumeration End If ' Open first output image in default associated application Set shell = CreateObject("WScript.Shell") shell.Run "image0.png", 1, false Set shell = Nothing Set extractor = Nothing

ON-PREMISE OFFLINE SDK

60 Day Free Trial or Visit ByteScout Data Extraction Suite Home Page

Explore ByteScout Data Extraction Suite Documentation

Explore Samples

Sign Up for ByteScout Data Extraction Suite Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

VIDEO

ON-PREMISE OFFLINE SDK

60 Day Free Trial or Visit ByteScout Data Extraction Suite Home Page

Explore ByteScout Data Extraction Suite Documentation

Explore Samples

Sign Up for ByteScout Data Extraction Suite Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

Tutorials:

prev
next