我如何正确地将此条形码字节[]渲染为可在浏览器中显示的图像?

时间:2019-02-24 15:46:42

标签: asp.net-core-mvc png zxing.net

我正在使用Zxing创建将在浏览器中呈现的内存中条形码,但是我怀疑条形码二进制文件需要更多数据才能被浏览器正确解释。

以前,我将其用作扩展方法,呈现了以下HTML

 <img width="250" height="250" alt="Authentication Barcode" 
  src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPoAAAD6CAYAAACI7Fo9AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAABrFSURBVHhe7dOBqhxZkgTR/v+fnkWghRF7WAw8yCq9TgNDkJjHLQn0z39eXl5+PO9/9JeXfwHvf/SXl38B73/0l5d/Ae9/9JeXfwH8j/7PP//8H8Xbvd0v3u67OsGyHny7t/vF231XJ1jWg2/3dr94u+/qBMt68O3e7hdv912dYFkPvt3b/eLtvqsTLOtBdVKoq1bqVp2sXG+rQl1VXHeibr+9q9R76qTg1zxGJ4W6aqVu1cnK9bYq1FXFdSfq9tu7Sr2nTgp+zWN0UqirVupWnaxcb6tCXVVcd6Juv72r1HvqpODXPEYnhbpqpW7Vycr1tirUVcV1J+r227tKvadOCn7NY3RSqKtW6ladrFxvq0JdVVx3om6/vavUe+qk4FeNq5VPba/Rb6mK6048sa2d0HZRqJNCnRTqpKidYKmD1cqnttfot1TFdSee2NZOaLso1EmhTgp1UtROsNTBauVT22v0W6riuhNPbGsntF0U6qRQJ4U6KWonWOpgtfKp7TX6LVVx3YkntrUT2i4KdVKok0KdFLUTLHWwWvnU9hr9lqq47sQT29oJbReFOinUSaFOitoJljoohbqqUCdF7Sr1nrqqUCeFOrlQ71134omtumsrdcuvGkuhrirUSVG7Sr2nrirUSaFOLtR71514Yqvu2krd8qvGUqirCnVS1K5S76mrCnVSqJML9d51J57Yqru2Urf8qrEU6qpCnRS1q9R76qpCnRTq5EK9d92JJ7bqrq3ULb9qLIW6qlAnRe0q9Z66qlAnhTq5UO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B7slK36haFumuFOlnRdlHwq8bymuUNbWVF26pQV13QPVmpW3WLQt21Qp2saLso+DWPY/cE+i3VirbXik91Qlsp1C1+E/X3qZPX8GJ9uHZPoN9SrWh7rfhUJ7SVQt3iN1F/nzp5DS/Wh2v3BPot1Yq214pPdUJbKdQtfhP196mT1/Bifbh2T6DfUq1oe634VCe0lULd4jdRf586eQ0v1odr9wT6LdWKtteKT3VCWynULX4T9fepk9fwYn146apCXXWh3lu6TynUSaFuUSydFE901wp+zeOhqwp11YV6b+k+pVAnhbpFsXRSPNFdK/g1j4euKtRVF+q9pfuUQp0U6hbF0knxRHet4Nc8HrqqUFddqPeW7lMKdVKoWxRLJ8UT3bWCX/N46KpCXXWh3lu6TynUSaFuUSydFE901wp+zWN0ckH3ZOWJrbpFoU4KdVWhTgp1UqirLtR7tXsCvlx/oDq5oHuy8sRW3aJQJ4W6qlAnhTop1FUX6r3aPQFfrj9QnVzQPVl5YqtuUaiTQl1VqJNCnRTqqgv1Xu2egC/XH6hOLuierDyxVbco1EmhrirUSaFOCnXVhXqvdk/Al+sPVCcXdE9WntiqWxTqpFBXFeqkUCeFuupCvVe7J+DL+oGvr69/h+L9j/76+sMU73/019cfpnj/o7++/jDF+x/99fWHKfz15eXlR/H+R395+Rfw/kd/efkX8P5Hf3n5F/D+R395+fH85z//A8xRMWlg/3HuAAAAAElFTkSuQmCC">

但是,相同的方法似乎不能用作ActionResult。我应该考虑采用什么其他方法制作此渲染器?

    [ResponseCache(Location = ResponseCacheLocation.None, NoStore = true)]
    public IActionResult QRCode()
    { 
        // string url, string alt = "QR code", int height = 500, int width = 500, int margin = 0)
        var content = "https://example.net/go?asf";
        var width = Convert.ToInt32(250);
        var height = Convert.ToInt32(250);
        var margin = Convert.ToInt32(0);

        var qrWriter = new ZXing.BarcodeWriterPixelData
        {
            Format = ZXing.BarcodeFormat.DATA_MATRIX,
            Options = new QrCodeEncodingOptions { Height = height, Width = width, Margin = margin }
        };

        var pixelData = qrWriter.Write(content);

        // creating a bitmap from the raw pixel data; if only black and white colors are used it makes no difference
        // that the pixel data ist BGRA oriented and the bitmap is initialized with RGB
        // the System.Drawing.Bitmap class is provided by the CoreCompat.System.Drawing package
        using (var bitmap = new System.Drawing.Bitmap(pixelData.Width, pixelData.Height, System.Drawing.Imaging.PixelFormat.Format32bppRgb))
        using (var ms = new MemoryStream())
        {
            // lock the data area for fast access
            var bitmapData = bitmap.LockBits(new System.Drawing.Rectangle(0, 0, pixelData.Width, pixelData.Height),
               System.Drawing.Imaging.ImageLockMode.WriteOnly, System.Drawing.Imaging.PixelFormat.Format32bppRgb);
            try
            {
                // we assume that the row stride of the bitmap is aligned to 4 byte multiplied by the width of the image
                System.Runtime.InteropServices.Marshal.Copy(pixelData.Pixels, 0, bitmapData.Scan0,
                   pixelData.Pixels.Length);
            }
            finally
            {
                bitmap.UnlockBits(bitmapData);
            }
            // save to stream as PNG
            bitmap.Save(ms, System.Drawing.Imaging.ImageFormat.Png);
            var barcodeImageArray = new byte[ms.Length];
            ms.Read(barcodeImageArray, 0, barcodeImageArray.Length);

            string filename = "login.png";
            string contentType;
            new FileExtensionContentTypeProvider().TryGetContentType(filename, out contentType);
            var timestamp = DateTime.UtcNow;

            // Strong vs weak etag: https://stackoverflow.com/questions/3043729/weak-etags-and-last-modified#3050762
            var tag = new EntityTagHeaderValue(new Microsoft.Extensions.Primitives.StringSegment("\""+ timestamp.Ticks.ToString() + "\""), isWeak: false);

            return File(barcodeImageArray, contentType, timestamp, tag);
        }
    }

以下是有关好图像的Fiddler痕迹:

enter image description here

这是“残破”图像的输出

enter image description here

最后,这是对上述功能的更改,以使其能够使用Razor帮助器在浏览器中呈现

   // Continue from script above where PNG is saved to stream 
            bitmap.Save(ms, System.Drawing.Imaging.ImageFormat.Png);

            output.TagName = "img";
            output.Attributes.Clear();
            output.Attributes.Add("width", width);
            output.Attributes.Add("height", height);
            output.Attributes.Add("alt", alt);
            output.Attributes.Add("src",
               String.Format("data:image/png;base64,{0}", Convert.ToBase64String(ms.ToArray())));
        }

0 个答案:

没有答案