potatoeggy / mandown

Comic/manga/webtoon downloader and CBZ/EPUB/MOBI/PDF converter
GNU Affero General Public License v3.0
45 stars 7 forks source link

Cannot convert from CBZ to PDF #55

Closed martinkirov closed 1 year ago

martinkirov commented 1 year ago

i tried running:

mandown convert pdf (comic.cbz)

and I got:

Comic not found at (comic), is md-metadata.json missing?

Im not sure what this means, have you had this when trying to convert cbz to pdf?

Cheers,

potatoeggy commented 1 year ago

Hi,

Mandown doesn't support coverting between comic formats and expects a folder of image folders.

In your case, since you have a CBZ file, you can rename it to a .zip file, extract it somewhere, and follow the instructions here https://github.com/potatoeggy/mandown/blob/master/docs/converting.md#converting-external-comics to get the PDF.

Hope this helps!

potatoeggy commented 1 year ago

This is now natively supported! mandown convert pdf (comic).cbz will now do exactly as you'd expect.

martinkirov commented 1 year ago

hey, apologies i didnt reply on the earlier message. Thanks for adding this as a feature!!