sungaila / PDFtoImage

A .NET library to render PDF files into images.
https://www.sungaila.de/PDFtoImage/
MIT License
188 stars 25 forks source link

Add support for net8.0-ios #98

Closed danardelean closed 1 month ago

danardelean commented 1 month ago

This commit adds support for net8.0-ios to the library and the MauiApp test.

It will only work on the device (no support for iossimulator runtime) Supported runtime: ios-arm64

MauiApp - added the code to associate the first page image to the Image control

sungaila commented 1 month ago

Have you tested this on a real iOS and iPadOS device?

With missing support for Mac Catalyst and simulated iOS, it's odd that iOS/iPadOS works "just like that".

I don't have hardware here to verify this so I have to take your word for it.

danardelean commented 1 month ago

IMG_DDB98FEA8533-1

danardelean commented 1 month ago

Of course the only thing that I'be tested and works is : _bitmap = PDFtoImage.Conversion.ToImage(ms, 0); I have to try to run all the tests on iOS and see if they pass

sungaila commented 1 month ago

Great, I will merge your pull request (after a few changes) and build a test version. Thanks for your help! :-)

sungaila commented 1 month ago

@danardelean I've released PDFtoImage 5.0.0-preview for testing. Please check if the iOS builds are still working if you have the time.