Create PDF Images

Stable version 2.2.2 (Compatible with OutSystems 11)
Other versions available for 10
Published on 14 Mar by 
4.1
 (7 ratings)

Create PDF Images

Details
Creates image(s) from provided PDF file path. Output image format can be bmp, gif, jpg, png or tiff. Usefull with the "FileSystem" extension
Read more

Generates images from a specified PDF file or path. Retrieves converted images binaries or the saved path.


Output image format can be bmp, gif, jpg, png or tiff.

Image(s) Filename is the same as the PDF + "_" + PageNumber (if less than 10 it beggins with "00" and if less than 100 it will have a leading "0")


This extension uses the PdfiumViewer library.

What’s new (2.2.2)

Possibility to convert PDF to image directly from binary.

Possible scenarios (result depends on the IsGetBinary* option):
- FileBinary, FilePath and FileName provided:
. Images binaries returned with provided Filename, or
. Images saved to FilePath + Filename
- FileBinary and FileName provided, with no FilePath:
. Images binaries returned with provided Filename, or
. Images saved to a Temporary folder with Filename
- FilePath and FileName provided (location in the disk of the file to get images is) with no FileBinary:
. Images binaries returned with provided Filename, or
. Images saved to the provided FilePath folder with the proided Filename
- FileBinary only:
. Images binaries returned with random Filename, or
. Images saved to a Temporary folder with a random Filename


Each Image Filename returned, begins with the Filename (if provided) or with the name of a temporary file created by the system (if no Filename is provided). In both cases it's added to the name: "_" + PageNumber (if less than 10 it beggins with "00" and if less than 100 it will have a leading "0").


* If 'IsGetBinary' is:
- False: The extension retrieves the saved image(s) path, in SavedPath, and a list with the image(s) Filename(s) generated, in ImgFilename.
- True: It's only retrieved the CreatedImages record list, with the image Filename, MIME type and its binary.


Notes:

This extension uses the PdfiumViewer library.

Demo is for version 11. 

Reviews (0)