Skip to content

card-crop 1.1.0

Latest

Choose a tag to compare

@lpgonzalez lpgonzalez released this 23 Jul 00:50

card-crop 1.1.0

Fixed

  • Detection no longer mistakes a plain rectangle for a card. In 1.0.0 the
    gate looked only at aspect ratio (within 4%) and bounding-box fill, so a
    smooth rectangle of roughly ID-1 proportions — a background panel, a soft
    shadow — could pass as a card and be cropped. The signal that tells a card
    from a rectangle, the rounded corner radius, was already being measured and
    then thrown away; it now gates the decision. When the detected shape has no
    measurable rounded corner and fills almost the whole selection, the plug-in
    now says so ("This looks like the whole selection, not a card.") instead of
    cropping it.

Added

  • Romanian interface, contributed by Jorge Adrian Saghin Dudulea
    (@z4na14) and reviewed by a native speaker
    (#1). The other non-English catalogues remain machine-drafted.
  • Test suite and CI. Fourteen dependency-free detection tests
    (python3 -m unittest discover -s tests), and a CI workflow that runs them,
    validates the message catalogues (domain-correct .mo names, exact msgid
    coverage, matching format specifiers) and lints, on every pull request.

Install

Download card-crop-1.1.0.zip (or .tar.gz) below, unpack it, and copy the
card-crop/ folder into your GIMP 3 plug-ins directory. Full steps are in the
bundled INSTALL.txt. Requires GIMP 3.0 or later; no other dependencies.