Hi,
this asterix file...
unrar - the same issue
jpg files - for some time running, but again error.
Copying files to new folders...
Converting all manga scans using ImageMagick...
Processing folder: Asterix1...
Exception in thread "main" java.lang.NumberFormatException: empty String
at sun.misc.FloatingDecimal.readJavaFormatString(Unkn own Source)
at java.lang.Double.parseDouble(Unknown Source)
at common.image.ImageMagick.getImageData(ImageMagick. java:270)
at common.image.ImageMagick.processImage(ImageMagick. java:150)
at manga.ConvertManga.main(ConvertManga.java:1662)
I was thinking - may be if you prepare some directory with all needed tools: rar, java, imagemagic and zip it and put it to same megaupload, so we can just extract to C:\ drive and run it, it should avoid issue with different versions..
something like \convertmanga\
inside folders TOOLS (with all needed tools)
then folder SOURCE
then folder OUTPUT
then several canti properties, so user will rename the one he needs.
and script convertmanga.bat with inside
FOR /f "tokens=*" %%G IN ('DIR /B c:\convertmanga\SOURCE\*.*') DO (SET FILE=%%G) & CALL :CONV1
PAUSE
goto :EOF
:CONV1
java -jar Canti.jar -parent_folder "C:\\convertmanga\\%file%\\" -title "%file%" -output_folder "c:\\convertmanga\\OUTPUT\\"
goto :EOF
So users will only rename canti properties (which they want) and put cbr files to source and run bat script?
Maybe in the canti properties can be a path for rar to this c:\\convertmanga\\TOOLS\\unrar.exe
But great job. Thank you for your work on this.
|