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