Converting HTML layout to PNG image

Used this here (https://www.bitpi.co/2015/02/10/installing-phantomjs-on-the-raspberry-pi/) and it worked flawlessly. Thank You!