search for: pdf_data

Displaying 1 result from an estimated 1 matches for "pdf_data".

Did you mean: pde_data
2007 Apr 25
5
Upload PDF / Save as tiff
...PAUSE -dBATCH -sDEVICE=tiffg4 -sOutputFile=- > test5.tiff I''ve had success in writing directly to a file via: IO.popen(''c:\program files\gs\gs8.56\bin\gswin32c.exe -q -dNOPAUSE -dBATCH -sDEVICE=tiffg4 -sOutputFile=test3.tiff -'', "wb") do |pipe| pipe.write pdf_data end However, I really want to bypass writing to disk. If I attempt to get the data back from the pipe, there are extra bytes returned at the end of the stream. On my test file, I receive eight extra bytes on XP, and ten extra bytes on Linux. # **** This doesn''t work **** # test convers...