Detecting attachments in PDF

15 views
Skip to first unread message

Sriram R

unread,
Aug 4, 2016, 8:22:40 AM8/4/16
to PDF::Reader

Hello,


Subj: Validation to check if a PDF has attachments. 


I have a pdf with attachments inside. (I have attached the same to issue as well).

Using pdf-reader gem, how can i do the following: 
1. Detect if a pdf has attachments
2. If it has, how to find the details of the attachments.

If pdf-reader cannot perform this action, may i know any other gem/library which can get this information. 

PDFWithFileAttachmentAnnotation.pdf

PDFWithFileAttachmentAnnotation (1).pdf
Reply all
Reply to author
Forward
0 new messages