internal static int GetDecompressedOffset(int start, int lineLength, int pixelIndex) { return start + (lineLength * (pixelIndex / 4)) + (pixelIndex % 4) * 4; }