I have a logo to place in a QR Code that is Landscape 718x238. However, all of my output forces the logo image aspect ratio to be a square. How can I change this?
Here is what I have currently:
BarcodeSettings settings = new BarcodeSettings();
if (strBarCodeType == "QR")
{
settings.Type = BarCodeType.QRCode;
settings.AutoResize = false;
settings.Unit = GraphicsUnit.Pixel;
settings.X = 120f;
settings.Y = 120f;
settings.ImageWidth = Convert.ToInt64(4052);
settings.ImageHeight = Convert.ToInt64(4052);
settings.QRCodeLogoImage = Image.FromFile(@"C:\Users\fumak\Downloads\QR_TESTING\SXM-RGB.JPG");
blnCreateBarCodes = true;
}