Updated Questions and Answers (markdown)

master
asterixorobelix 9 years ago
parent
commit
292f6addc8
  1. 1
      Questions-and-Answers.md

1
Questions-and-Answers.md

@ -27,6 +27,7 @@ using (Image<Rgba32> image = Image.Load($"{filename}.png"))
var imageHeight = image.Height;//height of image in pixels
var imageWidth = image.Width;
var pixels =image[200,200];//the pixel variable contains: <1  1  1  1>
//Which are normalized values (a 0-1 float, instead of 0-255),the 4 values represent "Red Green Blue Alpha" in 32 bits, because Rgba32 was chosen.
var pixels2 = image[125, 180];//<0.7647059  0.7647059  0.7647059  1>
}
```
Loading…
Cancel
Save