PDF.
1 pdf.image.getBytes
<pdf.image.getBytes>
<imageobj /> ?
</pdf.image.getBytes>
Arguments | |||||
---|---|---|---|---|---|
Name | Type | Required | Unique | Nullable | Description |
Eimageobj | PdfImageObject | PdfImageObject which contains the image. |
Returns | |
---|---|
Type | Description |
byteArray | Returns the corresponding bytes to the image represented by an image object PdfImageObject. |
Example
Obtains the content of the images of a PDF file.
Copy
<iterator name='m_objimg' type='entry'> <in> <pdf.reader.getImages> <pdf.reader> <file type='absolute' name='src_plain.pdf' /> </pdf.reader> </pdf.reader.getImages> </in> <do> <println> <pdf_image_getBytes> <m_objimg /> </pdf_image_getBytes> </println> </do> </iterator>