|  06-18-2008, 05:33 AM | #136 | 
| Addict     Posts: 206 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!
		 | 
|   |   | 
|  06-18-2008, 10:49 AM | #137 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 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. | 
|   |   | 
|  06-19-2008, 12:17 PM | #138 | 
| Addict     Posts: 206 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. | 
|   |   | 
|  06-19-2008, 06:46 PM | #139 | 
| Member  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!
		 | 
|   |   | 
|  06-21-2008, 10:35 PM | #140 | 
| the new guy  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.
		 | 
|   |   | 
|  06-28-2008, 12:27 AM | #141 | 
| Member  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. | 
|   |   | 
|  06-30-2008, 03:17 PM | #142 | 
| Addict     Posts: 206 Karma: 317 Join Date: Oct 2006 Location: England Device: Sony PRS-505, iPad, Kindle 3 | 
			
			Update: Version 2.1 released 
 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. | 
|   |   | 
|  07-01-2008, 08:19 PM | #143 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 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')) | 
|   |   | 
|  07-02-2008, 10:03 AM | #144 | 
| Addict     Posts: 206 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. | 
|   |   | 
|  07-02-2008, 10:11 AM | #145 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 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') | 
|   |   | 
|  07-02-2008, 12:18 PM | #146 | |
| eAddictd  Posts: 41 Karma: 10 Join Date: Apr 2008 Location: Italia Device: PRS505, Iliad Book Edition | 
				
				osx trouble
			 Quote: 
 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!   | |
|   |   | 
|  07-03-2008, 07:45 AM | #147 | 
| Addict     Posts: 206 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" | 
|   |   | 
|  07-03-2008, 10:57 AM | #148 | 
| Serial Bricker   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. | 
|   |   | 
|  07-03-2008, 01:11 PM | #149 | |
| eAddictd  Posts: 41 Karma: 10 Join Date: Apr 2008 Location: Italia Device: PRS505, Iliad Book Edition | Quote: 
   | |
|   |   | 
|  07-04-2008, 01:58 PM | #150 | 
| Addict     Posts: 206 Karma: 317 Join Date: Oct 2006 Location: England Device: Sony PRS-505, iPad, Kindle 3 | 
			
			Update: Version 2.2 released 
 | 
|   |   | 
|  | 
| 
 | 
|  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 |