Returns an array with images of each one of the pages of a PDF object. This function allows to convert a PDF in a list of images
of each one of the pages.
1 pdf.toImages
<pdf.toImages encoding='encoding'>
<inputstream_pdf /> ?
</pdf.toImages>
Attributes | |||||
---|---|---|---|---|---|
Name | Type | Required | Default | Description | |
Aencoding | string | Indicates the coding of the string of characters to process, for example ISO-8859-1 or UTF-8. If not specified, the one defined in the configuration file for the server is used. |
Arguments | |||||
---|---|---|---|---|---|
Name | Type | Required | Unique | Nullable | Description |
Einputstream_pdf | stream | The PDF file which you want to process. |
Returns | |
---|---|
Type | Description |
ArrayList | Returns an array with the images corresponding to each one of the pages of the PDF document. |
Example
Obtains an array with the images of each one of the pages of the PDF document.
Copy
<pdf.toImages> <pdf.reader> <file type='absolute' name='src_plain.pdf' /> </pdf.reader> </pdf.toImages>