View Single Post
Old 10-11-2010, 11:30 AM   #99
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
Here's Canti v1.92a

New to version 1.92a:
-Bug fix: Auto trimming not working properly
The auto trim algorithm was only supposed to be trimming the white space around a scan, but if there was another dominant color on the outside of the scan (such as black) it would trim that instead.
Now instead of trimming a random color, auto trimming will trim whatever color you specify in @trim_color.
-Bug fix: Resizing only width or height would produce weird sized output
If you disabled either width or height resizing (so you set one of them to some integer > 0, and the other to -1) then the output images could come out at a size you didn't expect.
Resizing one dimension should work correctly now.
-Trim color
If you enabled auto trimming, this is the color that should be trimmed.
If you set this value to original, then the trimming algorithm will trim whatever color it encounters first.
Acceptable values: original, white, black, #[hex color code] (for example: #000000)
Recommended: white
This is set up in the .properties file.

Enjoy
Attached Files
File Type: zip Canti_v1.92a.zip (112.2 KB, 181 views)
lilman is offline   Reply With Quote