Currently I'm using below code that it throws an exception on AWS environment that "Not supported image format."
Stream is not null and exception coming from ImageSource(). Could someone help me on this?
using (var stream = Assembly.GetExecutingAssembly().GetManifestResourceStream($"ClaimForms.Server.Shared.Images.{logoFile}.png")) { ImageSource imageSource = new ImageSource(stream, ImageQuality.High); CurrentEditor.DrawImage(imageSource, new Size(162, 42)); }