I would like to calculate the pixels of the area of an image is not width and height because it is an irregular figure, I want to know how many pixels there are inside this figure, example a triangle, if you calculate the height x width of a non triangle will give the value of your area because it will take into account as a square. I already looked for a lot on the internet and I did not find anything that would help me right now!