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

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bf282f-30b4b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bf282f-30b4b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?