How to crop white margins from photo?

fCoder Home - Image Converters - 2TIFF

To crop white margins use option "-acropm(R,G,B)". Letters in brackets mean channels: R - red, G - green, B- blue.

Example*:

2jpeg.exe s="C:\Images\*.*" d="C:\out" -acropm(255,255,255)

The program will automatically find on image a rectangle containing pixels with color different from color specified in "-acropm" option. After this it will crop the margins.

* This example works the same way with 2GIF, 2TIFF, 2Bitmap, 2TGA, 2PNG and 2WBMP.