View Single Post
Old 05-26-2007, 03:10 PM   #1
FangornUK
Addict
FangornUK has a complete set of Star Wars action figures.FangornUK has a complete set of Star Wars action figures.FangornUK has a complete set of Star Wars action figures.FangornUK has a complete set of Star Wars action figures.
 
FangornUK's Avatar
 
Posts: 205
Karma: 317
Join Date: Oct 2006
Location: England
Device: Sony PRS-505, iPad, Kindle 3
comiclrf - Comic Book (CBZ,CBR) to LRF converter

UPDATE ComicLRF has now been added to kovidgoyal's Calibre. It uses Calibre's GUI as well as a command line utility (comic2lrf). I'll keep this here for now until the code has matured in Calibre.

Command line program to convert Comic Books (CBZ & CBR format) into an LRF file you can load onto the Sony Reader. See Wikipedia

This program extracts and converts the images using ImageMagick into a format suitable for the Reader. The images are resized to match the Reader screen size, white spaces around the edges of the images are cropped and the images are converted to 64 "color" greyscale to look their best on the Reader's grey screen whilst reducing the file size. The images are also sharpened slightly to improve legibility of text.

Install
Install instructions are in the README.txt in the download files.

How to use
Once installed open a command/terminal window in the directory with your Comics, then simply pass it the path of the CBZ/CBR file, e.g.
comiclrf "Simpsons 01.cbz"

(You can pass multiple files to it and use wildcards)

Where to get it
Download Windows version comiclrf-WINDOWS.zip

Download Mac OS X version comiclrf-OSX.tar.gz (it appears to require Leopard)

Download Linux version comiclrf-LINUX.tar.gz


Some samples; first one fills screen, second preserves aspect ratio
Attached Files
File Type: lrf Simpsons.lrf (659.1 KB, 3407 views)
File Type: lrf Batman.lrf (181.3 KB, 2790 views)

Last edited by FangornUK; 08-15-2008 at 09:10 AM.
FangornUK is offline   Reply With Quote