I am facing a problem with a workflow designed to convert PDF files stored on OneDrive into JPEG/PNG images. To accomplish this, I’m using the “Edit Image” node. Previously, I had managed to bypass the lack of a direct conversion option to JPEG by applying a slight blur to the PDF, which allowed me to output the file in JPEG format. This method worked flawlessly during my initial tests with a first PDF.
However, after unpinning the data from the previous nodes and launching the complete workflow with new PDF files, I encountered an error on the “Edit Image” node indicating “Stream yields empty buffer”. This problem occurred despite the fact that the workflow worked perfectly with my initial test file.
I am trying to understand why this workflow worked previously and why it is failing now, especially since the only change made was moving to other PDF files. All the targeted PDFs contain resumes that are one page long.
Has anyone encountered this type of error “Stream yields empty buffer” when using the “Edit Image” node to process PDF files? Do you have any suggestions on how to solve this problem or recommendations for a better practice for converting PDFs into images in n8n?
It’s intriguing that my workflow operated successfully several times during the initial setup with my test PDF and now encounters issues regardless of the workflow used.
I understand that the solution might involve certain costs, and I was ideally looking for a free alternative.
I’m still puzzled about the underlying cause of this shift in performance and am keen on exploring any free solutions that might be out there.
If you or anyone else has insights or recommendations on free tools or methods within n8n that could facilitate this PDF to PNG conversion, I would be very grateful to hear more.