0

My image contains a grid with different cells size. For an example I show you a similar image.

enter image description here

As you can see the cells don't have the same size. I have to fill the cell with any color when I'm clicking on it. How it's possible to detect a cell on an image like PhotoShop with the Paint Bucket tool ? Should I use HTML5 canvas ?

I have to store all colored cell into my database and re-fill them for the next time. So I have to initialize a variable for each colored cell.

Do you have a code snippet to help me ?

John
  • 4,711
  • 9
  • 51
  • 101

0 Answers0