{"name": "Magic Wand", "package_name": "MagicWand-master", "version": "v2.0.1", "experimental": false, "qgis_min": "3.44.0", "qgis_max": "4.99.0", "downloads": 127, "uploaded_by": "kanahiro", "upload_datetime": "2026-07-19T11:47:36.720964", "changelog": "- Support QGIS 4.x / Qt6 (scoped enums, sizeInBytes, PyQt6-safe code)\r\n- Polygons are now traced by flood fill from the clicked point (connected component), replacing the whole-canvas scan and the Single Mode checkbox\r\n- Colors are compared perceptually in CIELAB (delta-E) instead of RGB distance\r\n- The selection grows over smooth color gradients (region growing) while sharp edges stop it\r\n- Remove the Accuracy slider; analysis resolution is now chosen automatically (full resolution, downscaled only on very large canvases)\r\n- Clicking now shows a tentative polygon with a confirmation dialog: adjust the Color Threshold while watching the result, then confirm to save (polygons are no longer created immediately on click)\r\n- Fix runaway selection at loose Color Threshold: the gradient-growing edge tolerance is now a small fixed value instead of scaling with the slider, and the growth cap is tightened\r\n- The reference color is refined from region statistics: it starts as the median of a small patch around the click and is re-anchored once to the selected region's median color, so the result no longer depends on the exact pixel that was clicked\r\n- Rescale the Color Threshold: the slider now maps geometrically to delta-E 1-12 (the old strictest setting sits at the middle), compensating for the extra reach the refinement and gradient growing added\r\n- Add a 1 click mode toggle to save polygons immediately on click, bypassing the confirmation dialog\r\n- Tidy up the dock widget: the stateless Enable button is now \"Start Magic Wand\", the output layer combo has a label, and a newly created layer stays selected as the target of subsequent clicks\r\n- Replace Douglas-Peucker vertex thinning with area-based Visvalingam-Whyatt simplification: pixel staircases collapse cleanly while real corners are preserved (Douglas-Peucker used to clip corners near the ring start)\r\n- Polygons are added through the layer's edit session, one undo command per click: press Ctrl+Z to undo a creation (edits stay uncommitted until you save the layer)\r\n- While the confirmation dialog is open, every further map click adds a seed point to the same selection; the dialog stays on top and the rest of the UI stays usable\r\n- Multi-point selections combine all seed colors into one color model: a pixel matches when it is close to the nearest seed color and connected to any of the points (multi-source flood fill)\r\n- Add a processing algorithm \"Polygonize by seed points\" (magicwand:polygonizebyseeds): magic-wand selection on any RGB raster with a seed point layer, usable in models, batch runs and qgis_process; combine with \"Convert map to raster\" to reproduce the interactive behavior. One seed feature = one selection = one multipolygon output; all points of a multipoint feature contribute to the same selection, like clicking multiple points in the interactive preview\r\n- Load toolbar icon from file and drop compiled Qt resources\r\n- Build the dock widget UI in Python instead of a Designer .ui file\r\n- Use native: processing algorithms instead of deprecated qgis: ones\r\n- Show only polygon layers as output targets in the layer selector\r\n- Fix duplicated signal connections when reopening the dock widget\r\n- Restore the previous map tool when the dock widget is closed\r\n- Clean up dock widget and signal connections on plugin unload\r\n- Require QGIS 3.44+ and modernize the code base (type hints etc.)\r\n- Add unit tests and CI (lint / test on QGIS 3.44 and 4.0 / release)", "external_deps": null, "download_url": "https://plugins.qgis.org/plugins/MagicWand-master/version/v2.0.1/download/"}