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

System.Drawing assembly is not supported on non-Windows platforms #1

Closed
RangHo opened this issue Aug 20, 2023 · 0 comments
Closed

System.Drawing assembly is not supported on non-Windows platforms #1

RangHo opened this issue Aug 20, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@RangHo
Copy link
Owner

RangHo commented Aug 20, 2023

Starting from .NET 6, System.Drawing assembly that this script depends on no longer supports platforms other than Windows. In .NET 7, the compile-time switch that allows System.Drawing.Common package to be used is removed. See this link for more info.

Since this raytracer depends on System.Drawing for PNG output, we need to address this issue. There are two possibilities:

  1. Introduce third-party image processing libraries, such as SkiaSharp;
  2. Revert back to PPM output just like the OG Raytracing Book does.
@RangHo RangHo added the bug Something isn't working label Aug 20, 2023
@RangHo RangHo closed this as completed in 364f734 Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant