How to convert a word file into a picture by node

now there is a requirement for the project to download an external word file and convert it into a picture. Now the downloaded file is correct, but the file written in this way using fs.writeFileSync (". / image/" + "dd.png", readInfo, "binary") is not readable. How to deal with this and that? What are we going to do with that? Do you have any handy bags to recommend?

Mar.29,2022

have done
first word to pdf and then to pictures
there should be these two packages on npm

Menu