Spectrogram icon indicating copy to clipboard operation
Spectrogram copied to clipboard

Render using SkiaSharp

Open swharden opened this issue 1 year ago • 4 comments

Now that System.Drawing.Common lost Linux support in .NET 7

Related: #49

swharden avatar May 17 '23 03:05 swharden

I recommend using Sixlabors.Imagesharp images, very fast implementation, I implemented only grayscale spectrograms with that by extending ImageMaker class.

janjanusek avatar Nov 12 '23 18:11 janjanusek

Hi, sorry to bother. I'm using this really good library to generate spectrograms in my project on Linux but because of the System.Drawing.Common dependency I'm stuck on NET 6. Has there been any progress on the SkiaSharp rendering?

vadd98 avatar Jan 16 '24 14:01 vadd98

Don't do skiasharp man, I tried it's dead end. Do Sixlabors.Imagesharp it's working everywhere, very fast efficient, free AND as I wrote only need to create custom ImageMaker class which will be using this img lib, I didn't manage to update pixel array but only one by one pixel updating L8 bmp values but still lightning fast. I spent one whole day on skiasharp and didn't figure out so this was waay more easy to do.

janjanusek avatar Jan 16 '24 16:01 janjanusek