From b230f5d9fb29c7ae443dc129e33e135db1aeafcc Mon Sep 17 00:00:00 2001 From: James Jackson-South Date: Wed, 2 Nov 2016 17:05:49 +1100 Subject: [PATCH] Add endianess comment/question --- src/ImageSharp/PixelAccessor.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ImageSharp/PixelAccessor.cs b/src/ImageSharp/PixelAccessor.cs index 762bf3f43..88c781832 100644 --- a/src/ImageSharp/PixelAccessor.cs +++ b/src/ImageSharp/PixelAccessor.cs @@ -60,6 +60,7 @@ namespace ImageSharp for (int x = 0; x < width; x++) { + // TODO: Do we need this? Only the encoder/decoder cares about the endianess. We should pass it in LittleEndian and let them work it out. if (BitConverter.IsLittleEndian) { *destination = *(source + 1);