View Single Post
Old 07-21-2010, 03:10 PM   #4
fanoI
Connoisseur
fanoI began at the beginning.
 
Posts: 83
Karma: 10
Join Date: Jun 2010
Device: Kobo Aura H20
Sorry it seems not working... maybe I've done something wrong:

Code:
F:\Documents and Settings\Administrator.TESTSP3\My Documents\Downloads\Canti_v1.
83>java -jar Canti.jar -parent_folder "E:\\Fumetti\\Identity Crisis\\1" -title "
Crisi"

Using these settings stored in Canti.properties:
  width (in pixels):  600
  height (in pixels): 800
  maximum dpi: 170
  auto trim: true
    trim fuzz: 15%
  auto rotate: true
  color mode: grayscale
  num colors: 256
  pdf chapters: true
    pdf r to l: false
  archive chapters: false
  epub chapters: false
  auto bind: false
  auto split landscape scans: true
    split right page first: true
    allow auto split color scans: false
    auto split gray strictness: 0.8
    auto split color strictness: 0.9
    auto sense landacape folders: true
  manga prefix: auto
  archive input image folders: false
  delete output image folders: true
  image format: .jpg
  kindle bookmark: false
  comic zeal naming: false
  ImageMagick home directory: F:\Program Files\ImageMagick-6.6.3-Q16\

Testing rar handler...
  Can unrar: true
  Can rar: true

parent_folder E:\Fumetti\Identity Crisis\1 is a directory that did not contain a
ny subfolders, so running in single folder mode.

Copying files to new folders...
Converting all manga scans using ImageMagick...
  Processing folder: Crisi_-_1...
Exception in thread "main" java.lang.NumberFormatException: empty String
        at sun.misc.FloatingDecimal.readJavaFormatString(Unknown Source)
        at java.lang.Double.parseDouble(Unknown Source)
        at common.image.ImageMagick.getImageData(ImageMagick.java:166)
        at common.image.ImageMagick.processImage(ImageMagick.java:112)
        at manga.ConvertManga.main(ConvertManga.java:1514)
What string is empty?

I've to manually extract the cbr because it had a folder inside and Canti says "there was no image on it", but they were
Maybe there some character conversion too the title (in italian) is "Crisi di Identità" the "à" is (in the windows command prompt at least) a sort of "alpha" letter... JAVA does not use "UTF-8"?
fanoI is offline   Reply With Quote