You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constconvertPDFToImages=async(pdfFile: Express.Multer.File)=>{constoptions={density: 300,width: 1200,height: 1800,format: 'png',savePath: pdfFile.destination,saveFilename: pdfFile.filename.replace(/\.[^/.]+$/,''),};constconvert=fromPath(pdfFile.path,options);try{constimages=awaitconvert.bulk(-1);console.log('images==>',images);}catch(error){console.error('Error during conversion:',error);}}
The issue occurs intermittently during the conversion of a PDF file to PNG images using GraphicsMagick (gm) within a Node.js environment. The error message suggests a problem with opening the temporary file (/tmp/gm4yFeyx) and indicates that the identify request did not return an image.
Intermittent Error Message:
Code Snippet:
The issue occurs intermittently during the conversion of a PDF file to PNG images using GraphicsMagick (gm) within a Node.js environment. The error message suggests a problem with opening the temporary file (/tmp/gm4yFeyx) and indicates that the identify request did not return an image.
Environment Details:
Originally posted by @kirito286 in #665 (comment)
The text was updated successfully, but these errors were encountered: