PDF SDK Documentation

Comprehensive Guide for Developers: Features, Integration, and API Reference

Loading...
Searching...
No Matches
pdf2image.h File Reference

PDF to image conversion API. More...

#include <pdfsdk/core.h>

Go to the source code of this file.

Classes

struct  PDFConvertToImageParams
 Contains conversion-related parameters such as the system output folder, desired image type, desired file name, a flag indicating conversion success status, a custom callback procedure along with it's buffer and an image quality parameter. More...
 

Macros

#define PDF_PDF2IMAGE_API   PDFSDK_IMPORT_
 

Typedefs

typedef void(* PDFReplaceFileQuestionProc) (void *, const wchar_t *, bool *, bool *)
 

Functions

PDFSDK_IMPORT_ PDErrCode PDFSDK_CALLCONV PDFConvertToImage (PDDoc source, const PDPageRange *pageRange, const PDProgressMonitor *progress, void *progressData, const PDFConvertToImageParams *params)
 A function to covert all or specific pages of a PDF document into separate image files.
 

Detailed Description

PDF to image conversion API.

Function Documentation

◆ PDFConvertToImage()

PDFSDK_IMPORT_ PDErrCode PDFSDK_CALLCONV PDFConvertToImage ( PDDoc source,
const PDPageRange * pageRange,
const PDProgressMonitor * progress,
void * progressData,
const PDFConvertToImageParams * params )

A function to covert all or specific pages of a PDF document into separate image files.

Parameters
[in]sourceThe already opened PDF document to convert into image files.
[in]pageRangeA pointer to the range of pages to convert. If a null pointer is passed each and every page from the PDF document will be converted into a separate image file. To specify a range of pages define an array of page numbers starting from 0 and pass it along with its size as a PDPageRange type. size_t pages[] = {1, 2}, will convert pages 2 and 3.
[in]progressA pointer to the progress monitor to receive notifications about the conversion process. It may be null.
[in]progressDataA pointer to the progress data which is passed to progress monitor to update the process. It may be null.
[in]paramsA pointer to the conversion parameters like the system output folder, desired image type, desired file name, a flag indicating conversion success status, a custom callback procedure along with it's buffer and an image quality parameter.