HTMLZ unlike EPUB is not pointlessly fussy. It will accept a far wider variety of OPFs than your typical non-calibre epub consuming application. So if you are familiar with the epub spec use the OPF part of it to guide yourself in creating the opf for htmlz. Any OPF that works in epub2 will work in HTMLZ. Name the opf anything you like and put it in the root. And I think jpeg, png, gif, bmp will all work for covers.
Although I am a little confused by your use case. As far as I know calibre is the only application that consumes HTMLZ, so why would you want to create an HTMLZ outside it?
Last edited by kovidgoyal; 06-21-2014 at 01:22 PM.
|