MangAI v1.04 released
New to version 1.04:
-Bug fix: Chop cancel not calculating properly
One missing character of code was causing chop cancel to calculate incorrectly, potentially leading to situations where chopping should have been canceled but continued anyway.
This has been fixed.
-Improved @auto_trim/@chop_white_rows/@chop_white_cols when combined with @auto_rotate
In very rare instances, white space trimming/chopping could remove enough area to cause a scan to change orientation (i.e. a portrait scan could become landscape, or vice versa).
In this scenario, you probably don’t want the image to be rotated since the original orientation is the intended way to read that scan.
This has been improved by canceling trimming/chopping if it would lead to an orientation change and rotation.
-Added more ereader .properties settings profiles
Settings profiles now available for:
- kindle4 (Amazon Kindle 4)
- kindletouch (Amazon Kindle Touch)
- nooktouch (Barnes & Noble Nook Touch)
I also renamed some of the existing profiles to remove ambiguity. For example, “k1” may have been mistaken for Kobo 1, so I renamed it to “kindle1”.
Contact me if you would like a settings profile added for your device.
Download the latest version from the MangAI project page.
Hello,
I recently discovered your program which is really incredible.
I have a simple question.
Is there a way to force the program to split horizontal pages ?
I mean, it does not always work so if we could simply tell the program that it doesn’t have to deduce if a cut is needed it could be great.
Of course, this means taking out of the folder those images we want to keep horizontal, but maybe it could be useful.
Anyway thanks a lot for your program and please pardon my english, I’m french.
@GeekyToad
Yes, you can force all horizontal (landscape) pages to be split by using the following settings:
auto_split_landscape_scans = true
allow_auto_split_color_scans = true
auto_split_gray_strictness = 0.0
auto_split_color_strictness = 0.0
auto_sense_landscape_folders = false
I’m glad you are enjoying the program. Please let me know if you have any further questions.
Thank’s a lot for you very quick answer, it now works like a charm.
I made different tries and found that at 0.5, the auto split rarely misses pages. And for the remainig, i use th 0.0 setting, which is perfect.
This is an amazing program.
I can’t seem to get it to work anymore.
Stage 2 of 4: Auto sensing landscape folders…
Exception in thread “Thread_cmt” java.lang.OutOfMemoryError: Java heap space
at java.awt.image.DataBufferByte.(Unknown Source)
at java.awt.image.ComponentSampleModel.createDataBuffer(Unknown Source)
at java.awt.image.Raster.createWritableRaster(Unknown Source)
at javax.imageio.ImageTypeSpecifier.createBufferedImage(Unknown Source)
at javax.imageio.ImageReader.getDestination(Unknown Source)
at com.sun.imageio.plugins.jpeg.JPEGImageReader.readInternal(Unknown Source)
at com.sun.imageio.plugins.jpeg.JPEGImageReader.read(Unknown Source)
at javax.imageio.ImageIO.read(Unknown Source)
at javax.imageio.ImageIO.read(Unknown Source)
at common.image.ImageUtils.getImageData(Unknown Source)
at common.image.ImageUtils.getImageDataOfFolder(Unknown Source)
at common.image.ImageUtils.isLandscapeFolder(Unknown Source)
at manga.ConvertManga.main(Unknown Source)
at mangaigui.b.run(Unknown Source)
@migz
I’m looking into this problem. If you can isolate a single volume or chapter that alone can trigger this error, please send me it for testing.
Btw, I tried to reply to your email but got an “undelivered mail returned to sender” error to your yahoo account. We can just track this problem using this thread.
It worked on single chapter conversion but a complete volume (7 vol average 200mb file) it shows the error. I think maybe there’s a problem with Java or ImageMagick-6.7.5-5, I used MangAI on my other computer and it worked just fine (28 vol 500mb file).
ImageMagick-6.7.5-5 portable used that shows the error, ImageMagick-6.7.5-5 installed in C: drive that works. thanks for looking into this.
Btw MangAI is the BEST!!! \m/
@migz
This problem should be related to Java only. The program is running out of memory while analyzing scans for page splits which is handled completely by Java code. ImageMagick doesn’t come into play until after the analysis is done to perform the necessary page splitting.
I’ll keep looking into why this is happening. Thanks for the bug report. Glad you are enjoying MangAI :3
-Update-
I have emailed you a work in progress build of MangAI v1.04a. Please test it with the same manga/computer you were getting the OutOfMemoryError to see if the problem has been fixed.
The fix for the OutOfMemoryError reported by migz was not tested, so v1.04 will remain as the latest available build. If someone else experiences the same problem, email me and I can send you the potential fix for testing.