Added functions to QPDF

- Added opencv to compare 2 images
- Change html to image extraction after pdf rendering