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

Support of .NET 7 MAUI #42

Open
fhintsch opened this issue Sep 20, 2023 · 3 comments
Open

Support of .NET 7 MAUI #42

fhintsch opened this issue Sep 20, 2023 · 3 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@fhintsch
Copy link

I tried the „PdfToImage“-Package in a .NET 7 MAUI environment. I want to target all MAUI supported platforms (Android, iOS, macOS, Windows). This package seems to be great work, but unfortunately using PDFtoImage.Conversion.SavePng(img, pdfStream, height: 300) throws an Exception

{System.NotSupportedException: Only win-x86, win-x64, win-arm64, linux-x64, linux-arm, linux-arm64, osx-x64, and osx-arm64 are supported.    at PDFtoImage.PdfiumViewer.NativeMethods.LoadNativeLibraryNetCore(String path)    at PDFtoImage.PdfiumViewer.NativeMetho…}

Do you have any plans to make this package work for the .NET 7 MAUI platform?

@sungaila
Copy link
Owner

Hello @fhintsch, supporting Android and iOS for the net7.0 target framework shouldn't be an issue. However, I don't have the necessary hardware to test iOS.

@sungaila sungaila self-assigned this Sep 20, 2023
@sungaila sungaila added the enhancement New feature or request label Sep 20, 2023
@sungaila
Copy link
Owner

@fhintsch Where did you get this exception? Android, iOS, macOS or any combination of them?

@fhintsch
Copy link
Author

I got it on macOS, the target is called "MacCatalyst".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants