Skip to content

Need to convert from System.Drawing to Microsoft.Maui.Graphics for portability #265

@StuffOfInterest

Description

@StuffOfInterest

I've been using SharpMap for over 10 years to generate images of maps for inclusion in other media, such as PDF documents. In recent versions of .NET, the use of the System.Drawing library is being flagged for portability issues due to underlying use of Windows specific functionality. The recommendation is to move to the Micorosoft.Maui.Graphics library, which is portable across platforms. Some experiments using a generative AI tool to convert some other code I have from System.Drawing to Microsoft.Maui.Graphics indicates that most if not all of the needed functionality is available in the newer library, which wasn't the case when I first tired this a couple of years ago. It may be time to work towards converting SharpMap away from System.Drawing to allow for platform portability.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions