Aspose.OMR in a .NET application deployed on Linux

Dear Aspose Support,

We’re currently using Aspose.OMR in a .NET application deployed on Linux, and we’re exploring alternatives to System.Drawing.Common due to its limited support in cross-platform environments. One of the options we’re considering is Aspose.Drawing, given its compatibility with Linux.

However, we’ve noticed that the output from Aspose.OMR.Generate(...) — particularly TemplateImage and MultipageTemplateImages — returns objects of type System.Drawing.Bitmap, which are not directly compatible with Aspose.Drawing.Bitmap.

Could you please confirm:

  • Whether there’s any planned support for outputting Aspose.Drawing.Bitmap from Aspose.OMR?
  • If not currently supported, is there a recommended approach to bridge the compatibility between Aspose.OMR and Aspose.Drawing?

This compatibility would be valuable for .NET developers targeting Linux environments using Aspose end-to-end.

Thank you for your help and for your continued support of cross-platform development.

Best regards,

@Dev122

Could you please specify the version of Aspose.OMR you are currently using and any specific error messages you are encountering related to the compatibility issue?

@Professionalize.Discourse
version: 25.4.0
error: Template generation failed: Error occurred during generation process. Please contact support. Exception message: System.Drawing.Common is not supported on this platform.

Hello, @Dev122

We have a build with Aspose.Drawing - Downloads ---New Releases-aspose.omr-for-.net-23.12-(dlls-only;aspose.drawing)

It is relatively old - December 2023. If you’re interested, we can make a release with the latest .NET version.

@nikita.korobeynikov
Yes, please. That would be very helpful.

@nikita.korobeynikov
Could you kindly share an estimated timeframe for when this might be available? This will help us plan accordingly.

Looking forward to your update!

@Dev122

I believe I can prepare and publish Aspose.Drawing version of 25.4 release in the next week. I will post here details upon completion.

@nikita.korobeynikov
Thank you!

@nikita.korobeynikov
We appreciate your efforts toward improving cross-platform compatibility and in order to plan our migration and long-term maintenance, could you please confirm:

  1. That support for Aspose.Drawing.Bitmap in the output of Aspose.OMR.Generate(...) (including TemplateImage and MultipageTemplateImages) will be included in version 25.4;
  2. And that this support will be maintained in future releases of Aspose.OMR beyond 25.4, so we can continue upgrading without losing this compatibility.

This confirmation would be very helpful as we work to standardize on Aspose components across our cross-platform .NET applications.

Thank you again for your support.

@Dev122

  1. Yes, all of these classes will be a part of Aspose. Drawing namespace.
  2. We are planning to move permanently to Aspose.Drawing in the future. In the meantime, we will be glad to continue supplying these specialized builds over all the duration of your Subscription period.

Thank you!

@nikita.korobeynikov
Hello! Can you let us know an estimated period when Aspose.Drawing 25.4 will be available?

@Dev122

We are in testing stage of the build. It will be published approximately from 23 to 27 of May.

Hello, @Dev122

Thank you for your patience!

Release is ready and can be downloaded here.

To properly function, it is necessary to resolve mandatory dependency.
For example, *.csproj should contain these lines:

  <ItemGroup>
    <PackageReference Include="Aspose.Drawing.Common" Version="25.5.0" />
    <PackageReference Include="System.Text.Encoding.CodePages" Version="9.0.5" />
    <PackageReference Include="System.Text.Json" Version="8.0.5" />
  </ItemGroup>