3 small fixes

1. Better handling Pdf-files where image heigth and width are PdfIndirectObjects
2. Better handling of Pdf-files with "empty" hex strings
3. Better handling of Pdf-files where form-fields are PdfIndirectObjects