node-pdf-image icon indicating copy to clipboard operation
node-pdf-image copied to clipboard

fix combinedImage with file paths with spaces

Open Pablo1107 opened this issue 6 years ago • 0 comments

I got an uncaught error when trying to convert pdf to png. The pdf file path has some spaces and I figured that the command convert -append file with spaces.png "combinedImage.png" was the caused, and it was.

The solution involves adding the necessary espaced spaces in the command such that a line becomes convert -append file\ with\ spaces.png "combinedImage.png".

Please code review this PR, and merge if you consider it useful.

Pablo1107 avatar Feb 08 '20 03:02 Pablo1107