This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// smartCropper.fsx - Crop images using IdCropper or SmartCropper | |
// | |
// USAGE: | |
// dotnet fsi smartCropper.fsx <imagePath> [outputWidth] [outputHeight] [cropperType] | |
// | |
// ARGUMENTS: | |
// <imagePath> Path to the input image file (required) | |
// [outputWidth] Output width (optional, default: 350) | |
// [outputHeight] Output height (optional, default: 400) | |
// [cropperType] 1 = IdCropper, 2 = SmartCropper (optional, default: 1) |