About 6,050 results
Open links in new tab
  1. Structure of a PDF file? - Stack Overflow

    Sep 18, 2008 · Here's the raw reference of PDF 1.7, and here's an article describing the structure of a PDF file. If you use Vim, the pdftk plugin is a good way to explore the document in an ever-so-slightly …

  2. Proper MIME media type for PDF files - Stack Overflow

    Dec 14, 2015 · The standard Media Type (formerly known as MIME types) is application/pdf. The assignment is defined in RFC 3778, The application/pdf Media Type, referenced from the Media …

  3. How can I visually inspect the structure of a PDF to reverse engineer ...

    Such PDF parts are JPEG images, fonts or ICC color profiles. If you compare above tools and the command line examples given, you will discover that they do NOT all produce identical outputs. The …

  4. c# - Determine if a byte [] is a pdf file - Stack Overflow

    May 31, 2011 · The problem is the PDF spec says the %PDF-1.x only needs to be in the first 1024 bytes and not the first 4 - This is wrong, the specification (ISO 32000-1) clearly says " The first line of a …

  5. Getting pdf file from api response - Stack Overflow

    Getting pdf file from api response Asked 5 years, 1 month ago Modified 3 years, 8 months ago Viewed 58k times

  6. Is there a field in which PDF files specify their encoding?

    A quick look at the PDF specification seems to suggest that you can have different encoding inside a PDF-file. Have a look at page 86. So a PDF library with some kind of low level access should be able …

  7. Check whether a PDF file is valid with Python - Stack Overflow

    Use libmagic (the file command in bash uses it). This does exactly the same check as in (1) Use a library to try to read the page count out of the file. If the lib is able to read a page count it should be a …

  8. python - pdf in binary format - Stack Overflow

    Aug 5, 2021 · I don't quite get it - why if my pdf is a bookpage with text, no images, open as binary file, python interpreter can't convert it to text format? It converted some metadata at the beginning of the …

  9. Allow only pdf,doc,docx format for file upload? [duplicate]

    See, if the client-os dont know about what is the mime-type of .pdf -files, it won't show .pdf -files for selection! You can use the navigator.mimeType to evaluate this cornercase.

  10. parsing - How to extract data from a PDF file while keeping track of ...

    Jun 2, 2009 · My objective is to extract the text and images from a PDF file while parsing its structure. The scope for parsing the structure is not exhaustive; I only need to be able to identify headings and