pdf icon indicating copy to clipboard operation
pdf copied to clipboard

Handle space after header

Open andybalholm opened this issue 4 years ago • 1 comments

PDF Files produced by libtiff/tiff2pdf have an extra space after the file header. (In other words, the header is "%PDF-1.1 \n" instead of "%PDF-1.1\n". They work in most PDF viewers, but this package rejects them with the error "not a PDF file: invalid header". Would it be a good idea to relax the header check and allow the extra space?

andybalholm avatar Jan 04 '22 01:01 andybalholm

it's good, I'm waiting for correct few code before merging

ledongthuc avatar May 12 '25 11:05 ledongthuc