{"name": "Magic Wand", "package_name": "MagicWand-master", "version": "v2.2.0", "experimental": false, "qgis_min": "3.44.0", "qgis_max": "4.99.0", "downloads": 478, "uploaded_by": "kanahiro", "upload_datetime": "2026-07-22T19:21:26.812248", "changelog": "2.2.0\n- Fix distorted polygons on a rotated map canvas: the pixel-to-map transform now carries the canvas rotation, both for the created geometry and for the preview seed points\n- Rewrite polygonization to trace the selection boundary directly (component labeling + boundary walking in numpy) instead of dissolving one rectangle per pixel run, making preview updates roughly 3-30x faster and dropping the processing-framework dependency\n- Small selections are no longer silently discarded: the minimum-size filter predated the flood-fill selection and could only ever drop a deliberately clicked small feature; filling of small holes (labels, anti-aliasing) is unchanged\n- Vertex thinning now uses QGIS's Visvalingam-Whyatt implementation (QgsMapToPixelSimplifier) directly on the geometry\n2.1.0\n- Replace the confirmation dialog with an in-canvas preview flow: right-click to show the tentative polygon (each further right click adds a seed point), left-click to confirm and save, Escape to discard\n- The Color Threshold slider in the dock widget updates the tentative polygon live while previewing\n- Backspace while previewing undoes the latest seed point (undoing the only one discards the preview)\n- A left click without an open preview creates and saves the polygon immediately; the 1 click mode checkbox is removed as this is now the default left-click behavior\n2.0.0\n- Support QGIS 4.x / Qt6 (scoped enums, sizeInBytes, PyQt6-safe code)\n- Polygons are now traced by flood fill from the clicked point (connected component), replacing the whole-canvas scan and the Single Mode checkbox\n- Colors are compared perceptually in CIELAB (delta-E) instead of RGB distance\n- The selection grows over smooth color gradients (region growing) while sharp edges stop it\n- Remove the Accuracy slider; analysis resolution is now chosen automatically (full resolution, downscaled only on very large canvases)\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)\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\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\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\n- Add a 1 click mode toggle to save polygons immediately on click, bypassing the confirmation dialog\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\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)\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)\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\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)\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\n- Load toolbar icon from file and drop compiled Qt resources\n- Build the dock widget UI in Python instead of a Designer .ui file\n- Use native: processing algorithms instead of deprecated qgis: ones\n- Show only polygon layers as output targets in the layer selector\n- Fix duplicated signal connections when reopening the dock widget\n- Restore the previous map tool when the dock widget is closed\n- Clean up dock widget and signal connections on plugin unload\n- Require QGIS 3.44+ and modernize the code base (type hints etc.)\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.2.0/download/"}