We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aeaba83 commit 22e6541Copy full SHA for 22e6541
src/Spectrogram/ImageMaker.cs
@@ -88,7 +88,7 @@ public SKBitmap GetBitmap(List<double[]> ffts)
88
value *= Intensity;
89
value = Math.Min(value, 255);
90
91
- int bytePosition = row * width + col;
+ int bytePosition = (height - 1 - row) * width + col;
92
pixelBuffer[bytePosition] = (byte)value;
93
}
94
});
0 commit comments