Deskew is a command line tool for deskewing scanned text documents. It uses Hough transform to detect "text lines" in the image. As an output, you get an image rotated so that the lines are horizontal.
Newer GUI version may not work correctly when paired with outdated CLI program (new options, deprecated options, etc.) => deskewing then fails but there is just not very visible e.g. "Invalid params" message in the output log.
GUI could check if the CLI is a reasonable version (parse the captured console output).
This could be printed somewhere on the "Progress" page (Detected version: 1.40, tested version: 1.35). Or in the console output with some highlight.
Newer GUI version may not work correctly when paired with outdated CLI program (new options, deprecated options, etc.) => deskewing then fails but there is just not very visible e.g. "Invalid params" message in the output log.
GUI could check if the CLI is a reasonable version (parse the captured console output). This could be printed somewhere on the "Progress" page (Detected version: 1.40, tested version: 1.35). Or in the console output with some highlight.
Another possibility is to color the console output (line background?) when Error or FinishedOk message is detected. We would have to switch from TMemo to TRichMemo, such styling is supposed to be supported on all 3 supported platforms: https://wiki.freepascal.org/RichMemo#Append_mixed_color_text_at_the_end_of_the_RichMemo Colors: