View Single Post
Old 12-13-2010, 08:08 AM   #157
lilman
Addict
lilman has learned how to read e-bookslilman has learned how to read e-bookslilman has learned how to read e-bookslilman has learned how to read e-bookslilman has learned how to read e-bookslilman has learned how to read e-bookslilman has learned how to read e-bookslilman has learned how to read e-books
 
lilman's Avatar
 
Posts: 326
Karma: 960
Join Date: Jul 2009
Location: Florida, US
Device: Kindle DX, iPad
Quote:
Originally Posted by Eraserhead View Post
I know this is probably going to be embarrasing but I keep getting invalid file format. any ideas?

WARNING: Invalid @image_format: .jpg ... Defaulting to original image format.
Not sure why you are getting this warning, ".jpg" is a valid format. Send me your Canti.properties file so I can test it (you can upload it using a free file service such as http://www.megaupload.com).

Quote:
Originally Posted by Eraserhead View Post
Exception in thread "Thread_cmt" java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.charAt(Unknown Source)
at common.image.ImageMagick.<init>(ImageMagick.java:1 45)
at manga.ConvertManga.main(ConvertManga.java:1296)
at cantigui.ConvertMangaThread.run(CantiGUIFrame.java :1399)
This is your big problem and the reason why the program is crashing. Canti.properties doesn't have a value for @image_magick_dir. Usually this value is determined automatically by Canti when creating the .properties file, but sometimes Canti can't find ImageMagick on its own.

First, make sure ImageMagick is installed on your system. Then edit Canti.properties and update the value for @image_magick_dir. For example, here is my setting on Windows XP:
image_magick_dir = C:\\Program Files\\ImageMagick-6.6.3-Q16\\
lilman is offline   Reply With Quote