in reply to Re: Writing PDF binary file from stream yields malformed PDF
in thread Writing PDF binary file from stream yields malformed PDF

Use the three argument open and set the the files' layer to raw

three argument good, with :raw good, while good, binmode is :raw

  • Comment on Re^2: Writing PDF binary file from stream yields malformed PDF