Skip to content

Commit 7973b73

Browse files
Merge pull request #50 from sergey-v9/minor-typo-fix-in-var-type
minor typo fix in var type
2 parents 2b2b964 + b41414b commit 7973b73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/imagesharp/pixelbuffers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ A short summary of the limitations:
120120
### Exporting raw pixel data from an `Image<T>`
121121
You can use @"SixLabors.ImageSharp.Image`1.CopyPixelDataTo*" to copy the pixel data to a user buffer. Note that the following sample code leads to to significant extra GC allocation in case of large images, which can be avoided by processing the image row-by row instead.
122122
```C#
123-
Rgb32[] pixelArray = new Rgba32[image.Width * image.Height]
123+
Rgba32[] pixelArray = new Rgba32[image.Width * image.Height]
124124
image.CopyPixelDataTo(pixelArray);
125125
```
126126

0 commit comments

Comments
 (0)