Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > Other formats > LRF

Notices

Reply
 
Thread Tools Search this Thread
Old 06-18-2008, 05:33 AM   #136
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
Thanks kovidgoyal, I'll take a look. I'm finding the library stuff and the cross-platform stuff the hardest thing to work out with Python, the language itself is quite excellent though!
FangornUK is offline   Reply With Quote
Old 06-18-2008, 10:49 AM   #137
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,842
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Yeah cross platform is a pain. You may also want to look at the Python Imaging Library. It should allow you to do the transforms easily in python, without relying on an external imaging library. If you need any help with the cross platform stuff, just ask, I have a good deal of experience with it.

Last edited by kovidgoyal; 06-18-2008 at 10:55 AM.
kovidgoyal is offline   Reply With Quote
Advert
Old 06-19-2008, 12:17 PM   #138
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
I would have liked to use the Python Imaging Library but it misses a few vital functions that ImageMagick provides. Thanks for the pointers on the ImageMagick libraries, there's no mature interface for Python but I've managed to coble together a suitable interface, that now works well, from various sources. Also the ImageMagick documentation is almost non-existent when using the API.
I'll PM you if I have any questions, I'm particularly interested in cracking OS X support next.
FangornUK is offline   Reply With Quote
Old 06-19-2008, 06:46 PM   #139
Lime2K
Member
Lime2K began at the beginning.
 
Lime2K's Avatar
 
Posts: 21
Karma: 10
Join Date: May 2007
Device: Sony Reader (PRS-500)
I second the OSX support - if you need a guinea pig, just let me know!
Lime2K is offline   Reply With Quote
Old 06-21-2008, 10:35 PM   #140
hoodaman
the new guy
hoodaman began at the beginning.
 
hoodaman's Avatar
 
Posts: 20
Karma: 10
Join Date: Jul 2007
Location: Central Alabama in a little town called Slapout
Device: PRS-505
this program is very nice. I was unsure of the capability of the prs505 to display comics but after putting a moon knight book on it and reading through it, I'm very impressed. Good work.
hoodaman is offline   Reply With Quote
Advert
Old 06-28-2008, 12:27 AM   #141
fake-name
Member
fake-name began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Jun 2008
Device: PRS-505
Well, I can confirm that the 64mb limitation is completely false.

Using the new pythin version of comiclrf, I have been able to generate a 4615 page, 251,386 kb .lrf file that works perfectly on my prs-505.

It's an archive of Dilbert comics, 1990 to 2005, incidentally.
fake-name is offline   Reply With Quote
Old 06-30-2008, 03:17 PM   #142
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
Update: Version 2.1 released
  • Python version now works on Mac OS X and Linux.
  • Now uses built in ImageMagick library and does not use external installation (except Linux)
  • ImageMagick processing now thread based instead of external process, slightly faster.
  • Added output directory (-o) option where LRFs are written to.

If you installed previous versions you can uninstall ImageMagick as the latest version has the libraries built-in (except for Linux).

Last edited by FangornUK; 07-02-2008 at 09:58 AM.
FangornUK is offline   Reply With Quote
Old 07-01-2008, 08:19 PM   #143
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,842
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
On linux the most robust way to load the magickwand library would be

Code:
ctypes.cdll.LoadLibrary(ctypes.util.find_library('MagickWand'))
kovidgoyal is offline   Reply With Quote
Old 07-02-2008, 10:03 AM   #144
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
Thanks for the info kovidgoyal. Unfortunately they changed the library naming from Wand to MagickWand etc recently so my version tries to access either.

Last edited by FangornUK; 07-02-2008 at 10:09 AM.
FangornUK is offline   Reply With Quote
Old 07-02-2008, 10:11 AM   #145
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,842
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Well, in that case

Code:
lib = ctypes.util.find_library('MagickWand')
if not lib: lib = ctypes.util.find_library('Wand')
kovidgoyal is offline   Reply With Quote
Old 07-02-2008, 12:18 PM   #146
serpentium
eAddictd
serpentium began at the beginning.
 
serpentium's Avatar
 
Posts: 41
Karma: 10
Join Date: Apr 2008
Location: Italia
Device: PRS505, Iliad Book Edition
osx trouble

Quote:
Originally Posted by FangornUK View Post
Update: Version 2.1 released
  • Python version now works on Mac OS X and Linux.
  • Now uses built in ImageMagick library and does not use external installation (except Linux)
  • ImageMagick processing now thread based instead of external process, slightly faster.
  • Added output directory (-o) option where LRFs are written to.

If you installed previous versions you can uninstall ImageMagick as the latest version has the libraries built-in (except for Linux).
Hi, i was so happy to know u finally compiled your program in osx (i red great comments on your software).
But i uncompressed it and it doesnt work... i just said
>ERROR: Can't load ImageMagick Library /Applications/Multimedia/ebook/comiclrf/ImageMagickOSX/lib/libWand.dylib

i tried to run the program from outside the folder and inside the directory and subdirectories... but still doesnt work...

i want to try it!
serpentium is offline   Reply With Quote
Old 07-03-2008, 07:45 AM   #147
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
Did you extract everything out of the TAR and all subdirectories? Also is X11 installed? Think ImageMagick might need that but I'm not sure.

Can you see the file "/Applications/Multimedia/ebook/comiclrf/ImageMagickOSX/lib/libWand.dylib"
FangornUK is offline   Reply With Quote
Old 07-03-2008, 10:57 AM   #148
SurgE
Serial Bricker
SurgE doesn't litterSurgE doesn't litter
 
Posts: 65
Karma: 104
Join Date: Feb 2008
Location: Singapore
Device: Sony PRS-505, Kindle 3 KSO
here's an error:

Extracting...

Traceback (most recent call last):
File "comiclrf.py", line 363, in <module>
File "comiclrf.py", line 298, in runcomic
File "comiclrf.py", line 153, in processcomic
IOError: [Errno 2] No such file or directory: 'c:\\users\\user\\appdata\\loc
al\\temp\\tmp2ovzox\\001/01.jpg'

------------------------

I am using the latest version on windows vista. The application died when the cbz file itself has a folder structure inside.
SurgE is offline   Reply With Quote
Old 07-03-2008, 01:11 PM   #149
serpentium
eAddictd
serpentium began at the beginning.
 
serpentium's Avatar
 
Posts: 41
Karma: 10
Join Date: Apr 2008
Location: Italia
Device: PRS505, Iliad Book Edition
Quote:
Originally Posted by FangornUK View Post
Did you extract everything out of the TAR and all subdirectories? Also is X11 installed? Think ImageMagick might need that but I'm not sure.

Can you see the file "/Applications/Multimedia/ebook/comiclrf/ImageMagickOSX/lib/libWand.dylib"
i see .dylib file and others... i have x11 installed...
serpentium is offline   Reply With Quote
Old 07-04-2008, 01:58 PM   #150
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
Update: Version 2.2 released
  • Mac OS X version fixed
  • Fix handling of CBZ files that contain directories
FangornUK is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Conversion of comics (CBR/CBZ) FangornUK Conversion 269 09-05-2012 11:43 PM
PDF -> JPG -> CBZ -> LRF leveck Workshop 13 06-16-2011 11:21 AM
Best (approximately 7 inch) sub-250$ reader for color comics (unzipped CBR/CBZ)? Neole Alternative Devices 15 05-15-2011 05:02 PM
how to read / convert comics (.cbz) cybmole Calibre 8 10-04-2010 03:16 AM
CBZ > LRF (LRF>HTML/MOBI????) sideburnt Calibre 4 09-15-2009 06:44 AM


All times are GMT -4. The time now is 10:56 PM.


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