We have a client for a file system with method open() which returns \GuzzleHttp\Stream\Stream object. I have a pdf file to be read from the file system and therefore I am using open() method to get the output as Guzzle stream object.
I got to merge this pdf file with other pdfs which are being created using mpdf. I could not do that as the merge function(which is using FPDI) could not read xref-Data.
Is there any way that I can convert/manipulate GuzzleHttp stream object to a proper format to make the pdf parser be able to read it?