![]() |
#76 |
Zealot
![]() Posts: 122
Karma: 86
Join Date: Dec 2006
Location: Italy
Device: Boox M90
|
we'll see
![]() ![]() |
![]() |
![]() |
![]() |
#77 |
Connoisseur
![]() Posts: 53
Karma: 32
Join Date: Mar 2007
|
I want to try this but where is the link?
|
![]() |
![]() |
![]() |
#78 |
Zealot
![]() Posts: 122
Karma: 86
Join Date: Dec 2006
Location: Italy
Device: Boox M90
|
in the first post
![]() |
![]() |
![]() |
![]() |
#79 | |
Enthusiast
![]() Posts: 33
Karma: 10
Join Date: Aug 2006
Device: Ebookwise 1150, Sony Reader
|
Great software Kirys, youre a champion. Are you planning to add .cbr support anytime in the future?
Quote:
|
|
![]() |
![]() |
![]() |
#80 | |
Zealot
![]() ![]() ![]() ![]() Posts: 106
Karma: 348
Join Date: Dec 2006
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#81 |
Zealot
![]() ![]() ![]() ![]() Posts: 106
Karma: 348
Join Date: Dec 2006
|
Back to the old OS X conversion problem, I have noticed something interesting on the 7.0 release (have not tried it with other versions).
I ran JE-Comics on the first chapter of Death Note again. This Chapter contained 53 files. The first 10 being .jpg, the remaining 43 being PNG. Taking the default settings on JE-Comics and hitting generate, it processed all 10 jpg with out and issue, but this time also managed to convert the next 9 .png files. Before erroring. Code:
Generating output for: Iliad portrait Image 'Death Note v01 CoverFront.jpg' processed in:2s Image 'Death Note v01 c001 000a.jpg' processed in:2s Image 'Death Note v01 c001 000b.jpg' processed in:3s Image 'Death Note v01 c001 000c.jpg' processed in:3s Image 'Death Note v01 c001 000d.jpg' processed in:2s Image 'Death Note v01 c001 001.jpg' processed in:2s Image 'Death Note v01 c001 002-003.jpg' processed in:2s Image 'Death Note v01 c001 004.jpg' processed in:2s Image 'Death Note v01 c001 005.jpg' processed in:2s Image 'Death Note v01 c001 006.jpg' processed in:3s Image 'Death Note v01 c001 007.png' processed in:2s Image 'Death Note v01 c001 008.png' processed in:2s Image 'Death Note v01 c001 009.png' processed in:2s Image 'Death Note v01 c001 010.png' processed in:2s Image 'Death Note v01 c001 011.png' processed in:2s Image 'Death Note v01 c001 012.png' processed in:2s Image 'Death Note v01 c001 013.png' processed in:2s Image 'Death Note v01 c001 014.png' processed in:2s Image 'Death Note v01 c001 015.png' processed in:2s Exception:java.lang.IllegalArgumentException: LUT has improper length! Done Exception:com.lowagie.text.DocumentException: The document has been closed. You can't add any Elements. Done Exception:java.lang.IllegalArgumentException: LUT has improper length! Done <.....repeats for remaining PNG.....> Total Processing time:123s Done This was tested with both J2se 1.4.2 and J2SE 5.0. I have attached 4 pages from Death Note, on the off chance this can help in troubleshooting: Death Note v01 c001 014.png Death Note v01 c001 015.png Which both converted fine, and then Death Note v01 c001 016.png Death Note v01 c001 017.png Which failed the conversion. All these files convert fine when on Windows |
![]() |
![]() |
![]() |
#82 | |||
Zealot
![]() Posts: 122
Karma: 86
Join Date: Dec 2006
Location: Italy
Device: Boox M90
|
![]() Quote:
![]() Quote:
![]() Quote:
I'm searching for some external png lib that maybe can solve this problem. Maybe i should try jai... Cya |
|||
![]() |
![]() |
![]() |
#83 |
Zealot
![]() Posts: 122
Karma: 86
Join Date: Dec 2006
Location: Italy
Device: Boox M90
|
I've uploaded a test version (i've marked as v0.7.1) that uses and external lib for png files when the native java support fails. I don't know how much that lib is good and if it will open all png files that sun imageio doesn't.
Due to the use of this lib the program will use more ram when loading images from a zip/cbz file. Let me know if it does fix your issues |
![]() |
![]() |
![]() |
#84 | |
Zealot
![]() ![]() ![]() ![]() Posts: 106
Karma: 348
Join Date: Dec 2006
|
Quote:
I havn't had a chance to do a compare on the output of .7.0 and .7.1 on the iLiad yet, but the PDF looks fine. As an added bonus, 0.7.1 creates a smaller file size on the outputed PDF -rw------- 1 splat splat 6488630 Mar 30 18:41 c1-70.pdf -rw------- 1 splat splat 6017109 Mar 30 18:34 c1-71.pdf edit: looks like with the default filter settings, 0.7.1 is not as good with shading in the png, images are alot darker and as a result can lose some of the detail of the drawing. Time to play with the filter settings. Am I correct in saying that using 0.7.1 on windows, it should give the same results at 0.7.0 as it's using the same libs? Last edited by splat; 03-30-2007 at 01:49 PM. |
|
![]() |
![]() |
![]() |
#85 |
Zealot
![]() Posts: 122
Karma: 86
Join Date: Dec 2006
Location: Italy
Device: Boox M90
|
The only difference in v0.7.1 is the png read lib (that is used only when the standard lib fails).
All the rest of the engine is unchange. Other differences may be into the interface (some menus and shortcuts) Last edited by Kirys; 03-31-2007 at 10:17 AM. |
![]() |
![]() |
![]() |
#86 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 714
Karma: 1014039
Join Date: May 2007
Device: Sony PRS-500, Sony PRS-505, Kindle 3, Sony PRS350, iPad 64GB
|
Hiya, i've just purchased the Sony Reader (waiting for it to be delivered right now) and have been testing your program.
It looks great! I got some ideas for user friendly improvements though. I have a lot of manga zip files organized into neat named (sub)folders and the zipfiles themselves are also named. It'd be handy if a batch option is available, where you just save your settings, and then select a main folder (for instance Death Note) and it will just go into the directory, searching for available zipfiles. Each zipfile will then be automaticly made into a pdf-document. Another thingie is that in windows, each time you chose "Add files, directory or zip" it will jump back to "My Documents". If it remembers it's last directory then it would be much easier. Also, in images, I think it'd be easy if the image dimensions are used to automaticly rotate a landscape image. I mean, you detect it already with H/V, why not make it rotate automaticly? And a filter to not include certain named files is handy too (like coverpages) Are you planning to release the code into gpl? if so, I might be able to help out a bit, although my java is a bit rusty... Last edited by athlonkmf; 05-25-2007 at 05:59 PM. |
![]() |
![]() |
![]() |
#87 |
Zealot
![]() Posts: 122
Karma: 86
Join Date: Dec 2006
Location: Italy
Device: Boox M90
|
![]()
So you are mainly asking for a batch mode
![]() I've planned a batch mode, but first i want to solve a quality issue with the resample of images (java2d is pretty bad when enlarging BW images). Till now i could not find a lib for image resampling that doesn't use the JAI libs. But using jai means add a 2 mb jar to the already too big package ![]() And latley I had not much free time so the developing is on idle for a wile. About the license: I do plan to release it under Gpl or othe Open License but till now i'm not sure of which license to choose (i'm open to suggestion). And before that i first want to complete the architecture of the software. ![]() So if someone knows a good lib for resizing images that doesn't use JAI just let me know! Bye Kirys |
![]() |
![]() |
![]() |
#88 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 714
Karma: 1014039
Join Date: May 2007
Device: Sony PRS-500, Sony PRS-505, Kindle 3, Sony PRS350, iPad 64GB
|
Quote:
Well, i'm not too familiair with OS-licenses so no suggestions there. I've been programming a C#-tool for myself yesterday to see how it works (and trying to get RAR-support too) My folders contains either zipped, rarred or extracted images and are usually structured like this: c:\death_note\vol01.zip, c:\death_note\vol02.zip, etc My program works like this: -Select a source folder (ex. c:\death_note) -Extract/move the files to a temp-dir like c:\temp\vol01\ch01 c:\temp\vol01\ch02. -I'm using imagemagick to filter, resize and convert the images to GIF*. -The converted images are saved with the folder as prefix (so c:\processed\vol01\ch01_01.gif) -Then i'm using itext to create the PDF. My initial idea would be to make the original zip-name the "chapter". So vol01 would be a chapter, vol02 the 2nd, etc. -And finally use rasterfarian to convert the PDF to lrf (because I couldn't find the specs for lrf) *Image quality: i played around iwth the filters of imagemagick and found out that these are the best for text and images: catrom,lanzcos and sinc. (see attached post) I'm still trying to figure itext out. Can you tell me what kind of settings you're using to to create the document and add the images? I can't seem to create the pages in the size you have.... (i'm still waiting for my reader, so I can't test for myself) Last edited by athlonkmf; 05-28-2007 at 05:19 AM. |
|
![]() |
![]() |
![]() |
#89 | |
Member
![]() Posts: 10
Karma: 10
Join Date: Aug 2007
Device: PRS500
|
Quote:
http://www.darcynorman.net/2005/03/1...image-resizing |
|
![]() |
![]() |
![]() |
#90 |
Zealot
![]() Posts: 122
Karma: 86
Join Date: Dec 2006
Location: Italy
Device: Boox M90
|
![]()
To answer you both
![]() I was looking at imagemagic, but it would be an optional support cause i don't want people to be forced to install something for using this software. Embeding is not possible cause would not be cross platform, I've started this project mainly because i want something completely crossplatform (i'm a linux user). about the sisez for the iliad I'm using Images 768x935 MediaBox 351fx427.32f while for the sony Images 583x753 MediaBox 250fx322.9f I've found a workaround to improve the quality of enlarged images so soon i'll post a version with this fix Cya P.S. If someone could point me to the mediabox and image size for the iliad with the fullscreen patch i would be glad to add those ![]() |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
comiclrf - Comics(CBZ) to LRF converter | FangornUK | LRF | 274 | 06-16-2010 02:24 PM |
PRS-500 JE-Comics Converter | Kirys | Sony Reader Dev Corner | 23 | 02-06-2007 01:30 AM |