Stripping invalid characters from a PDF in PHP -


we're getting pdfs vendor have 58,000+ null characters following legal end of document %%eof. we're working vendor see if can correct it, want ahead of issue in case can't.

using php (or classic asp, though doubt that's possible) want

  • find eof marker

  • strip after

  • and resave file valid pdf.

i've not worked binary files before , have vague idea of start.


Comments

Popular posts from this blog

java - BeanIO write annotated class to fixedlength -

Using Java 8 lambdas/transformations to combine and flatten two Maps -

How to connect android app to App engine -