Table of Contents

Interface IPdfImagesExtractor

Namespace
IO.Scanbot.Sdk.Pdf
Assembly
BarcodeSDK.NET.Droid.dll
[Register("io/scanbot/sdk/pdf/PdfImagesExtractor", "", "IO.Scanbot.Sdk.Pdf.IPdfImagesExtractorInvoker")]
public interface IPdfImagesExtractor : IJavaObject, IJavaPeerable, IDisposable
Inherited Members

Methods

ImageUrlsFromPdf(File, File, string, CompressFormat, int, float, Config, ILongOperationCancelCallback, IProgressCallback)

[Register("imageUrlsFromPdf", "(Ljava/io/File;Ljava/io/File;Ljava/lang/String;Landroid/graphics/Bitmap$CompressFormat;IFLandroid/graphics/Bitmap$Config;Lio/scanbot/sdk/util/LongOperationCancelCallback;Lio/scanbot/sdk/util/ProgressCallback;)Ljava/util/List;", "GetImageUrlsFromPdf_Ljava_io_File_Ljava_io_File_Ljava_lang_String_Landroid_graphics_Bitmap_CompressFormat_IFLandroid_graphics_Bitmap_Config_Lio_scanbot_sdk_util_LongOperationCancelCallback_Lio_scanbot_sdk_util_ProgressCallback_Handler:IO.Scanbot.Sdk.Pdf.IPdfImagesExtractorInvoker, BarcodeSDK.NET.Droid")]
IList<Uri> ImageUrlsFromPdf(File pdfFile, File outputDir, string prefix, Bitmap.CompressFormat compression, int quality, float scaling, Bitmap.Config bitmapConfig, ILongOperationCancelCallback cancelCallback, IProgressCallback progressCallback)

Parameters

pdfFile File
outputDir File
prefix string
compression Bitmap.CompressFormat
quality int
scaling float
bitmapConfig Bitmap.Config
cancelCallback ILongOperationCancelCallback
progressCallback IProgressCallback

Returns

IList<Uri>

ImageUrlsFromPdf(File, File, string, int, float)

Returns the ImageUrls from the PDF file.

IList<Uri> ImageUrlsFromPdf(File pdfFile, File outputDir, string prefix = "scanbotImage", int quality = 100, float scaling = 2)

Parameters

pdfFile File

Required PDF File for image extraction.

outputDir File

Java.IO.File Object. Requires the output directory path only, and not a file name or extension.

prefix string

Prefix string of the images. Optional.

quality int

Quality of the image from 1 to 100. Optional.

scaling float

Scaling of the image. Optional.

Returns

IList<Uri>