im willing to compile Calibre's source code in order to try and improve PDF to ePub conversion.

for some reason, i couldn't find the pdftohtml source code of calibre's version. iv'e compiled pdftohtml from its project page and compared them using a simple command line convert of a pdf file with no arguments.

following the results, it seems that the pdftohtml is not the same as the one used at calibre.

using pdftohtml command line, im getting an output html file with no pictures.
when using the pdftohtml command line that comes with calibre, im getting the file pictures in the html.