Saving a View with Images is not working on Android
myDocument.Save() -> exception
myImage.AsJpeg() -> exception
myImage.AsBitmap() -> works
PDFsharp 1.50.5147
PdfSharp.Xamarin.Forms 1.0.0
System.NullReferenceException: Object reference not set to an instance of an object. at PdfSharp.Xamarin.Forms.Droid.AndroidImageSourceImpl.SaveAsJpeg (System.IO.MemoryStream ms) [0x00045] in E:\My Xamarin plugin\PdfSharp.Xamarin.Forms\PdfSharp.Xamarin.Forms\PdfSharp.Xamarin.Forms.Android\AndroidImageSourceImpl.cs:111 at PdfSharpCore.Drawing.XImage.AsJpeg () [0x00006] in <11413e5833e04920b85b1578e479c930>:0
Saving a View with Images is not working on Android
myDocument.Save() -> exception myImage.AsJpeg() -> exception myImage.AsBitmap() -> works
PDFsharp 1.50.5147 PdfSharp.Xamarin.Forms 1.0.0
System.NullReferenceException: Object reference not set to an instance of an object. at PdfSharp.Xamarin.Forms.Droid.AndroidImageSourceImpl.SaveAsJpeg (System.IO.MemoryStream ms) [0x00045] in E:\My Xamarin plugin\PdfSharp.Xamarin.Forms\PdfSharp.Xamarin.Forms\PdfSharp.Xamarin.Forms.Android\AndroidImageSourceImpl.cs:111 at PdfSharpCore.Drawing.XImage.AsJpeg () [0x00006] in <11413e5833e04920b85b1578e479c930>:0