Mark Stephens Mark has been working with Java and PDF since 1999 and is a big NetBeans fan. He enjoys speaking at conferences. He has an MA in Medieval History and a passion for reading.

How likely is this to happen in a PDF file

19 sec read

As we all know, a PDF file contains a lot of PDF objects (with numbers) at specific byte offsets in the file. Recently we came across some PDF files where the file contained some bum references – the byte offset and the PDF object number were identical. Adobe correctly ignores these objects. So we ignored entries where the values were identical. How likely was this to happen, we thought?

I have just modified this code to check more carefully after we found a PDF file where object 16 started at byte offset 16…

Did you know...

IDRsolutions offers a whole range of online file converters to convert PDF and Microsoft Excel, Word and Office Documents to HTML5, SVG or image formats?

It is free to use for single file conversions and also includes Developer links if you want to use our commercial software for bulk conversions. Find out more on this page

Mark Stephens Mark has been working with Java and PDF since 1999 and is a big NetBeans fan. He enjoys speaking at conferences. He has an MA in Medieval History and a passion for reading.

Enabling SVG Gzip Compression on Apache and NGINX

Gzip compression is a widely supported method of reducing the size of the content sent from a web server in order to improve the...
Leon Atherton
47 sec read

Leave a Reply

Your email address will not be published. Required fields are marked *

IDRsolutions Ltd 2020. All rights reserved.