Comments (2)
Then there's maybe a change in the .NET Framework implementation...
Background:
The idea of the tests was to generate a PNG (because in opposite to JPEG it has lossless compression and the same input Image object should return the same PNG file/bytes every time) and build a hash of the resulting file. Thus it should be ensured, that the QRCode has to look exactly the same to make an positive assumption.
When I wrote the tests the same Image object, saved to PNG file, created byte-wise different files, when running in .NET 3.5/.NET 4.X vs all other framework versions. Back then I checked the files in a hex editor and saw that the PNG headers, written bei .NET differed in dependency to the used framework version.
Different PNG file headers resulted in different checksums. That's why I added the compiler flags/branches in the test case.
If it returns the same checksum now, then there must have been a patch in the framework.
from qrcoder.
Thanks, that is exactly what I thought.
Well, because I had to download .NET Framework 4.5 additionaly, maybe there is something wrong on my side.
Thanks for the answer and have a great day.
from qrcoder.
Related Issues (20)
- WiFi Payload Won't Generate Correctly HOT 2
- Module size (note pixelsPerModule) HOT 1
- PlatformNotSupportedException when trying to generate QR Code. HOT 1
- Intelligent Mail, IM, postal barcode support? HOT 3
- Memory leak occurs when QR codes used Base64QRCode class HOT 4
- How to generate qr code with transparent background? HOT 2
- 更新到1.4.3,SvgQRCode没有了 HOT 4
- Why not use Color struct instead of byte[] in color parameters? HOT 1
- PayloadGenerator.WiFi.Authentication.WPA2 missing HOT 2
- Can Create a QR with shapes of my logo HOT 1
- Sample code fails - "QRCode" doesn't exist HOT 5
- Guidance on artistic QR codes
- Trying to Convert a SVG QRCODE to PNG file HOT 3
- PayloadGenerator give the same result HOT 2
- How to read the code from image HOT 2
- Qr-code
- The type initializer for 'SkiaSharp.SKData' threw an exception. HOT 3
- Is it possible to crate a qr Code with FNC1 Type to build it as a QR CODE GS-1 Type? HOT 2
- QRCode namespace doesn't exist in .NET 8 HOT 12
- Check PayloadGenerator.SwissQRCode for necessary changes
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qrcoder.