How to use the canvas box to select an irregular closed area

use canvas to import an image into the interface. The effect you want to achieve is to select a box of an irregular area in the image, and then manipulate the pixels in that area. There is a lot of information on the Internet, but there are no desired results, so let"s ask the bosses.

Mar.20,2021

you can have an array of point coordinates for this irregular region.

  https://github.com/PengJiyuan.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3efeb-2c460.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3efeb-2c460.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?