You must have nodejs installed to use this project, if not download and install from http://nodejs.org
This is a node project to compress png image to jpeg image
Clone my git repository using the command
git clone https://github.com/ameerthehacker/node-jpeg.git
Install the neccessary packages using the command
npm install
In the file index.jpg replace the source and destination file names as required and run the file as
node index.js