Follow this guide and learn how to convert documents to PDF with height, width, DPI, margins and other customizations using GroupDocs.Conversion for Node.js via Java....desired image width after conversion. specifies desired image height... whether set to true , all images in the document are re-compressed...