xieguigang / mzkit

Data toolkits for processing NMR, MALDI MSI, MALDI single cell, Raman Spectroscopy, LC-MS and GC-MS raw data, chemoinformatics data analysis and data visualization.
https://mzkit.org
MIT License
47 stars 15 forks source link

MS-imaging gdi+ render bugs on unix platform #1

Closed xieguigang closed 2 years ago

xieguigang commented 2 years ago

It seems that there is a little difference of the MSI rendering result between the windows/unix platform when running with the exactly same code on .NET 5.

  1. dpi is not working on unix .net 5
  2. there is a lot of noise on the image rendering output on unix .net 5

source url for MSI rendering:

nuget package that used for MS-imaging rendering:

<PackageReference Include="System.Drawing.Common" Version="6.0.0-preview.7.21377.19" />
<PackageReference Include="System.Drawing.Primitives" Version="4.3.0" />

windows unix

unsure how to fixed this problem, try to finding solution from ms dotnet development team

xieguigang commented 2 years ago

bug has been fixed