This topic was automatically generated from Slack. You can find the original thread here.
Hi all ,
I’m having a lot of trouble trying to convert a PDF to an image (base64image) in my nodejs step. I’m trying to convert the pdf to an image so I can feed it into a GPT4o vision api call.
I’ve tried using pdf2pic npm package but pipedream seems to be missing the GraphicsMagick dependancy. Then i tried using pdf-poppler but the step kept failing with an error: "Worker stopped with exit code 1 ".
It seems like pipedream doesn’t support these packages…?
Can you please recommend the best way to convert a pdf into an image on pipedream? Any help or guidance is much appreciated