Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 11-10-2019, 08:40 PM   #1
20191110
Junior Member
20191110 began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Nov 2019
Device: Kobo Libra H2O
Solution for opening large .cbz files

I bought my Libra H2O a few months ago. One of the things I was looking forward to the most was reading my backlog of comic books purchased through Humble Bundle. Much to my disappointment, most of the .cbz files I attempted to open would trigger an error saying that the file was corrupted.

I found the solution to this problem a few days ago, and came here to share! It turns out that .cbz files are nothing more than a .zip file containing an image for every page. Page arrangement works based on the alphabetic sort order of each image's file name. To get a large .cbz file to open, you need to reduce the file size of the embedded pages. In every case I've tried, simply resizing pages to fit within the Libra's screen without scaling is enough. I set them to gray-scale at the same time. The end result is that I am finally able to open these files. Even .cbz files that opened previously are able to turn pages faster.
20191110 is offline   Reply With Quote
Old 11-10-2019, 10:25 PM   #2
codychan
Groupie
codychan has much to be proud ofcodychan has much to be proud ofcodychan has much to be proud ofcodychan has much to be proud ofcodychan has much to be proud ofcodychan has much to be proud ofcodychan has much to be proud ofcodychan has much to be proud ofcodychan has much to be proud ofcodychan has much to be proud ofcodychan has much to be proud of
 
codychan's Avatar
 
Posts: 153
Karma: 27950
Join Date: Nov 2018
Device: Kobo Aura One, Kobo Forma
1. How large?
2. How did you "simply resizing pages to fit within the Libra's screen without scaling is enough. I set them to gray-scale at the same time. "?
codychan is offline   Reply With Quote
Advert
Old 11-11-2019, 12:24 AM   #3
20191110
Junior Member
20191110 began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Nov 2019
Device: Kobo Libra H2O
Quote:
Originally Posted by codychan View Post
1. How large?
I am not able to open .cbz files that are larger than about 200MB.

Quote:
2. How did you "simply resizing pages to fit within the Libra's screen without scaling is enough. I set them to gray-scale at the same time. "?
I extract the .cbz file into a folder, use ImageMagick's command-line "convert" tool to resize all of them in bulk, and zip them back up again. The following example produces nice-looking results that fit each page within the Libra's screen without any stretching:

Code:
convert source.jpg -resize 1264x1680 -colorspace gray -quality 80 destination.jpg
20191110 is offline   Reply With Quote
Old 11-12-2019, 12:22 PM   #4
ZodWallop
Gentleman and scholar
ZodWallop ought to be getting tired of karma fortunes by now.ZodWallop ought to be getting tired of karma fortunes by now.ZodWallop ought to be getting tired of karma fortunes by now.ZodWallop ought to be getting tired of karma fortunes by now.ZodWallop ought to be getting tired of karma fortunes by now.ZodWallop ought to be getting tired of karma fortunes by now.ZodWallop ought to be getting tired of karma fortunes by now.ZodWallop ought to be getting tired of karma fortunes by now.ZodWallop ought to be getting tired of karma fortunes by now.ZodWallop ought to be getting tired of karma fortunes by now.ZodWallop ought to be getting tired of karma fortunes by now.
 
ZodWallop's Avatar
 
Posts: 11,252
Karma: 110227191
Join Date: Jun 2015
Location: Space City, Texas
Device: Clara HD; Nook ST w/Glowlight, (2015) Glowlight Plus, Paperwhite 3
Quote:
Originally Posted by 20191110 View Post
I bought my Libra H2O a few months ago. One of the things I was looking forward to the most was reading my backlog of comic books purchased through Humble Bundle. Much to my disappointment, most of the .cbz files I attempted to open would trigger an error saying that the file was corrupted.
If you have one, I would suggest just reading CBZ files on a tablet. Android has lots of good free comic apps: Perfect Viewer and Challenger Comics are good and ad-free.

On Windows, selection is more limited. I use Cover on my Surface. Comics look terrific on it.

I love my e-ink readers for novels. But not comics.
ZodWallop is offline   Reply With Quote
Old 11-12-2019, 03:34 PM   #5
rtiangha
Evangelist
rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.
 
Posts: 495
Karma: 356531
Join Date: Jul 2016
Location: 'burta, Canada
Device: Kobo Glo HD
You can do what the OP suggested and be fine, but if you don't want to install Imagemagick or aren't comfortable with command line utilities, you could also use Kindle Comic Converter instead. Select your device and it'll automatically choose the resolution of your device and scale the image down if it's larger, or upscale the image if it's smaller if you choose. You can also do multiple items in a batch, convert between cbz, cbr and image pdfs, and there are options to convert all color images to grayscale to save space, and to automatically trim margins to maximize the amount of image displayed on the screen (although test the option first; if there's a small image in the corner used as a chapter or issue divider surrounded by nothing but whitespace, it'll crop all of the whitespace out leaving you with a giant version of that image which may not be what you want).

My favorite part of it though is that it saves you from having to manually unzip/rezip files. That right there is a time saver!

And if those image files are DRM free, you could also try installing koreader onto the device and using that to view them. It uses MuPDF as its image renderer for comic files, and while it can't handle cbr (since the rar format isn't technically open source), it is faster than the Adobe renderer used by Kobo, and it might be able to handle those large files with no modification. The latest versions now support the Libra too.

Last edited by rtiangha; 11-12-2019 at 03:43 PM.
rtiangha is offline   Reply With Quote
Advert
Old 11-14-2019, 01:06 AM   #6
20191110
Junior Member
20191110 began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Nov 2019
Device: Kobo Libra H2O
Quote:
Originally Posted by ZodWallop View Post
If you have one, I would suggest just reading CBZ files on a tablet. Android has lots of good free comic apps: Perfect Viewer and Challenger Comics are good and ad-free.

On Windows, selection is more limited. I use Cover on my Surface. Comics look terrific on it.

I love my e-ink readers for novels. But not comics.
I can use Atril on my computer, and maybe I'll give one of those Android apps a try for any colorized comic books. For comics that are already in black and white, I've been surprised how nice they look an eink.
20191110 is offline   Reply With Quote
Old 11-14-2019, 01:15 AM   #7
20191110
Junior Member
20191110 began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Nov 2019
Device: Kobo Libra H2O
Quote:
Originally Posted by rtiangha View Post
You can do what the OP suggested and be fine, but if you don't want to install Imagemagick or aren't comfortable with command line utilities, you could also use Kindle Comic Converter instead.
Thanks for those tips. I wasn't aware of any automatic conversion tools. I'll probably stick with my current method. It's working for me and I like being able to make small tweaks to the conversion for each comic.

One think I've noticed is that the .cbz files look better when they have been optimized for the device they are read on. Even on my computer screen, scaling the pages to fit my monitor yields better results than letting my reader software scale them as they are read.
20191110 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
CBZ conversion crashes with large images ratinox Conversion 3 09-19-2019 11:13 AM
Timeout during opening a large ebook. Chillertje Calibre 2 09-05-2017 09:44 PM
Aura HD Problem opening large ebooks Nick Payne Kobo Reader 9 03-18-2017 03:37 AM
I have a problem opening SOME large .mobi files in Calibre cageybee Calibre 5 10-09-2012 08:36 PM
Large pdf opening pthwaite iRex 25 10-19-2008 02:38 PM


All times are GMT -4. The time now is 02:11 PM.


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