The trim feature is incredibly useful but occasionally I find that jpeg artifacts or slight vignette prevents the trim from achieving visually satisfactory results.
Would it be possible to add an optional trim parameter to allow a threshold.
flatcv input.jpg trim 2% output.jpg