using System.Collections.Generic; using SkiaSharp; namespace Spectrogram { public static class Image { public static SKBitmap GetBitmap(List ffts, Colormap cmap, double intensity = 1, bool dB = false, double dBScale = 1, bool roll = false, int rollOffset = 0, bool rotate = false) { ImageMaker maker = new() { Colormap = cmap, Intensity = intensity, IsDecibel = dB, DecibelScaleFactor = dBScale, IsRoll = roll, RollOffset = rollOffset, IsRotated = rotate, }; return maker.GetBitmap(ffts); } } }