SmartZone v7.1 - Updated
Troubleshoot Image Loading on Linux
Developer Guide > How To > Troubleshoot Image Loading on Linux

Troubleshoot Image Loading on Linux

C# .NET API on Linux is very sensitive to the image data format and structure. Sometimes recognition results may vary when loading the same image from different containers like PNG, TIFF or BMP.

Known limitations:

Note that System.Drawing.Bitmap is not supported by Microsoft on Linux starting with .NET 6.0. We recommend you use the following to make it feasible to load images on any .NET version:

  <ItemGroup>
    <PackageReference Include="System.Drawing.Common" Version="4.7.0" />
  </ItemGroup>
Is this page helpful?
Yes No
Thanks for your feedback.