Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

As a software developer, DatenLokator should support retrieving bitmap images (*.bmp), in order to make the library more useful. #16

Closed
Pressacco opened this issue Nov 25, 2024 · 2 comments
Labels
wontfix This will not be worked on

Comments

@Pressacco
Copy link
Member

No description provided.

@Pressacco Pressacco self-assigned this Nov 25, 2024
@Pressacco
Copy link
Member Author

Why Doesn't .NET Core Provide Cross-Platform Support for Images (e.g., Bitmap)?

.NET Core and .NET (including .NET 8) do not provide full cross-platform support for Bitmap or similar image processing types from System.Drawing.Common because:

  1. Reliance on GDI+:
    The System.Drawing.Common library depends on GDI+, a graphics library native to Windows, making it unsuitable for non-Windows platforms.

  2. Platform Limitations:
    While some functionality of System.Drawing.Common is available on Linux and macOS via libgdiplus, the library lacks full compatibility and often results in inconsistent behavior or degraded performance on non-Windows platforms.

  3. Strategic Focus:
    Microsoft has chosen not to invest in making GDI+ cross-platform. Instead, they encourage developers to use modern, cross-platform libraries like ImageSharp or SkiaSharp, which are designed for portability, performance, and extensibility.

By delegating to third-party libraries, .NET avoids duplicating efforts and leverages specialized, actively maintained solutions for cross-platform image processing.

@Pressacco
Copy link
Member Author

Given the lack of cross-platform support, AsBmp() will not be added at this time.

@Pressacco Pressacco added the wontfix This will not be worked on label Nov 26, 2024
@Pressacco Pressacco removed their assignment Nov 26, 2024
Pressacco added a commit that referenced this issue Nov 26, 2024
Merge branch to `main` for: removing dead code related to `AsBmp()` #16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant