Method: Pdfcrowd::ImageToPdfClient#convertStreamToStream

Defined in:
lib/pdfcrowd.rb

#convertStreamToStream(in_stream, out_stream) ⇒ Object

Convert the contents of an input stream and write the result to an output stream.

  • in_stream - The input stream with source data.

  • out_stream - The output stream that will contain the conversion output.



4077
4078
4079
4080
# File 'lib/pdfcrowd.rb', line 4077

def convertStreamToStream(in_stream, out_stream)
    @raw_data['stream'] = in_stream.read
    @helper.post(@fields, @files, @raw_data, out_stream)
end