[P4-010] Migrate ImageMerger System.Drawing.Imaging usage to SkiaSharp/ImageSharp · Issue #45 · r6e/FModel-Linux · GitHub
Skip to content

[P4-010] Migrate ImageMerger System.Drawing.Imaging usage to SkiaSharp/ImageSharp #45

Open

Description

@r6e

Overview

Replace System.Drawing.Imaging usage in ImageMerger.xaml.cs with SkiaSharp or SixLabors.ImageSharp (both already referenced in the project).

Files Affected

  • FModel/Views/ImageMerger.xaml.cs

Findings

  • Uses System.Drawing.Imaging.ImageFormat for TIF → PNG conversion via GDI+
  • System.Drawing.Common is unsupported on Linux in .NET 6+; throws PlatformNotSupportedException
  • Both SkiaSharp and SixLabors.ImageSharp are already referenced in the project and support TIF decoding and PNG encoding

Acceptance Criteria

  • Image merge produces a valid PNG on Linux
  • No System.Drawing references remain in ImageMerger.xaml.cs

Effort

S (< 1 hour)

Agent

platform-abstraction-specialist

Depends On

  • P2-003

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions