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
Post a Comment