It is very easy to convert div into an image using Html2canvas example by Developer Gang India.
Aslo we have added the Magento Interview Questions and Answers for magento Lovers.
There is also addition for our users to learn Wordpress Interview Questions and Answers.
Converting Div into Canvas. read the blog of HTML2Canvas converting.
Read the Php Interview Questions for Freshers and Experienced candidates at Developer Gang.