Comments (6)
The .Net Assemblies at all doesn't export any functions which can be called with LoadLibrary/GetProcAdress or as externally declared function. As far as I know the freeimage.dll isn't a .Net asssembly.
Perhaps you will find some other solutions to call a .Net Assembly from VBA if you look at stackoverflow.com. Here is one example
https://stackoverflow.com/questions/37074533/how-to-call-net-methods-from-excel-vba
I only know the COM Interop way but the registration of the assembly is required.
On the other hand there are no plans to extend the options of the CommandLineEncoder. Feel free to provide a pull request which adds the functionality.
from zxing.net.
Thank you for the link! After a few hours with visualstudio (never ever used it before and never used the c# or whatever this language is) I came out with this, which when changed in commandlineencoder sample works as expected :
var x = ZXing.QrCode.Internal.ErrorCorrectionLevel.H;
var barcodeWriter = new BarcodeWriter
{
Format = barcodeFormat,
Options = new ZXing.QrCode.QrCodeEncodingOptions
{
CharacterSet = "ISO-8859-1",
Width = 600,
Height = 600,
ErrorCorrection = x,
QrVersion = 15 }
};
Now what I need to do is set:
- ECI value to 000004. Does setting the charset change the ECI by itself?
- Byte data (Mode Byte) - this one is killing me :(
from zxing.net.
ECI is only set if the selected character set differs from the default. The default is "ISO-8859-1". That means, no ECI is needed.
Byte Mode is selected automatically. You can't set it via options. It depends on the content. If you only encode numbers then numeric mode is selected. If you encode alphanumeric characters (table 5 of JISX0510:2004 (p.19)) then alphanumeric mode is used. Otherwise byte mode.
from zxing.net.
Thank you for explaining, so if I set it to ISO-8859-2 then ECI will be set to 000004 and I am good to go. Great.
from zxing.net.
One more question, do you perhaps know if there is some utility to display all this data from the QR code, i mean, ECI, Version, mask, encoding type, length etc...
from zxing.net.
Yes, ECI 4 is added. And no, sorry, don't any tool which fits your needs.
from zxing.net.
Related Issues (20)
- UTF-8 not properly detected in some cases - german umlauts corrupted (ASSUME_SHIFT_JIS broken with .Net Core) HOT 9
- MSI barcode reading fails
- RobiniaDocs API Explorer
- A different CODE_39 barcode HOT 1
- Add some unsafe methods? HOT 1
- 0.16.6 vs 0.16.9 HOT 1
- Missing BitmapLuminanceSource in the ZXing.Net Nuget Package: HOT 1
- Version out dated while opening in vs22, using version 4.0 HOT 3
- Scannig QR Code with Oppo devices doesn't work HOT 2
- BitArray.xor() should check length of both arrays HOT 3
- A small log bug HOT 1
- 如何设置条形码的尺寸以及密度 HOT 1
- Renderer for net8.0-android? HOT 4
- ZXing.Net Bindings for SkiaSharp Package missing Linux HOT 4
- Upgrade SkiaSharp - current version had Vulnerabilities HOT 5
- zxing.net is missing NuGet package README file
- Can't encode € symbol to Qr. HOT 3
- Unable to parse this QR code, I don't know why HOT 1
- QRCODE type error parsing to UPC-E type HOT 1
- UPC/EAN Extension 2/5 does not read the 2/5 digit extension
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 zxing.net.