Browse Source

Update readme

Former-commit-id: ff480789c60c9395f2ac9e88e043d0025b3199d3
Former-commit-id: 9fb90d3c6b9e9274e5b866ed834bb065097aabda
Former-commit-id: 05acd36376176b7f8658857b2bc6aafcb2ed05b2
af/merge-core
James Jackson-South 10 years ago
parent
commit
5e5c98690d
  1. 12
      README.md

12
README.md

@ -182,7 +182,17 @@ Individual processors can be initialised and apply processing against images. Th
new Brightness(50).Apply(sourceImage, targetImage, sourceImage.Bounds);
```
For advanced usage the `Image<TColor, TPacked>` class is available allowing developers to implement their own color models in the same manner as Microsoft XNA Game Studio and MonoGame
Setting individual pixel values is perfomed as follows:
```csharp
Image image = new Image(400, 400);
using (PixelAccessor<Color, uint> pixels = image.Lock())
{
pixels[200, 200] = Color.White;
}
```
For advanced usage the `Image<TColor, TPacked>` class is available allowing developers to implement their own color models in the same manner as Microsoft XNA Game Studio and MonoGame.
All in all this should allow image processing to be much more accessible to developers which has always been my goal from the start.

Loading…
Cancel
Save