Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 12-31-2020, 10:45 AM   #1
Cactus Chef
Enthusiast
Cactus Chef ought to be getting tired of karma fortunes by now.Cactus Chef ought to be getting tired of karma fortunes by now.Cactus Chef ought to be getting tired of karma fortunes by now.Cactus Chef ought to be getting tired of karma fortunes by now.Cactus Chef ought to be getting tired of karma fortunes by now.Cactus Chef ought to be getting tired of karma fortunes by now.Cactus Chef ought to be getting tired of karma fortunes by now.Cactus Chef ought to be getting tired of karma fortunes by now.Cactus Chef ought to be getting tired of karma fortunes by now.Cactus Chef ought to be getting tired of karma fortunes by now.Cactus Chef ought to be getting tired of karma fortunes by now.
 
Posts: 43
Karma: 2217778
Join Date: Apr 2019
Device: Kobo Clara HD
EPUB -> CBZ Conversion?

I did a thread search before posting this, and I see alot of articles on converting CBZ -> EPUB, but nothing on the reverse.

My use-case is that I have a bunch of digital comics I purchased from a vendor (we'll call them "Rainforest") and then stripped the DRM to get an EPUB. I'd prefer to just have them as generic CBR/CBZ files, though, so that I can leverage the dedicated comic-book reader apps on my tablet.

I've found that I can manually make a CBZ file from a comic source EPUB by just yanking the "Images" directory out of the extracted EPUB, zipping it up, and renaming it to a .CBZ extension. This is trivial to do, but quite time-consuming.

Has anyone created a plugin/conversion option that would let me do this within Calibre? I am sure this might result in some missing metadata, but I did try googling around, and as far as I'm aware there is no established "standard" for CBR/CBZ files for metadata files, etc. It looks like it's literally just a Zip Archive or RAR Archive of images, with the first chronologically-named image serving as the comic's cover.

If I'm wrong on this front, I'd appreciate any info about the CBR/CBZ standard.
Cactus Chef is offline   Reply With Quote
Old 12-31-2020, 06:21 PM   #2
BetterRed
null operator
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 17,700
Karma: 20473671
Join Date: Mar 2012
Location: Sydney Australia
Device: none
What you have written accords with my understanding of CBZ/CBR.

You could convert the EPUB to ZIP. My default comic book viewer, Honeyview, can open ZIPs, and it ignores non image files, I'd be surprised if other comic viewers weren't similar.

I can't think of a built in way to rename a ZIP to CBZ from within calibre - you'd need to copy the ZIP somewhere, rename it to CBZ and then add it to the book and delete the ZIP. This is what I'd do - open the book folder, drag the ZIP to the desktop, close the book folder, rename the ZIP to CBZ, drag it back to the Book details panel and then delete the ZIP.

For a bunch of books you could use the command line ebook-convert tool to do the EPUB ->ZIP conversion, and do the ZIP->CBZ rename in a .BAT or Powershell script. See ==>> Command Line Interface

BR
BetterRed is online now   Reply With Quote
Advert
Old 01-14-2021, 09:40 PM   #3
Fiat_Lux
Addict
Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.
 
Fiat_Lux's Avatar
 
Posts: 336
Karma: 6136208
Join Date: Jan 2012
Location: Gimel
Device: tablets
Quote:
Originally Posted by Cactus Chef View Post
I did a thread search before posting this, and I see alot of articles on converting CBZ -> EPUB, but nothing on the reverse.

My use-case is that I have a bunch of digital comics I purchased from a vendor (we'll call them "Rainforest") and then stripped the DRM to get an EPUB. I'd prefer to just have them as generic CBR/CBZ files, though, so that I can leverage the dedicated comic-book reader apps on my tablet.

I've found that I can manually make a CBZ file from a comic source EPUB by just yanking the "Images" directory out of the extracted EPUB, zipping it up, and renaming it to a .CBZ extension. This is trivial to do, but quite time-consuming.

Has anyone created a plugin/conversion option that would let me do this within Calibre? I am sure this might result in some missing metadata, but I did try googling around, and as far as I'm aware there is no established "standard" for CBR/CBZ files for metadata files, etc. It looks like it's literally just a Zip Archive or RAR Archive of images, with the first chronologically-named image serving as the comic's cover.

If I'm wrong on this front, I'd appreciate any info about the CBR/CBZ standard.
Play around with Embed Comic Metadata.
I have no idea if it does what you want, but it can do things that are not implied by either the name, or description.
Fiat_Lux is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre cbr/cbz to epub conversion help needed! Cristofer Conversion 8 08-26-2017 08:01 PM
Zip to CBZ 'conversion' BetterRed Conversion 6 10-22-2013 10:52 PM
Conversion of comics (CBR/CBZ) FangornUK Conversion 269 09-06-2012 12:43 AM
.cbz conversion hangs roguesith Conversion 5 12-10-2011 04:14 AM
CBZ Conversion Error Mac OS X 10.5.4 ttate90303 Calibre 2 08-23-2008 10:13 AM


All times are GMT -4. The time now is 06:15 PM.


MobileRead.com is a privately owned, operated and funded community.