Mercurial > hgrepos > Python2 > PyMuPDF
diff mupdf-source/thirdparty/zxing-cpp/wrappers/dotnet/README.md @ 2:b50eed0cc0ef upstream
ADD: MuPDF v1.26.7: the MuPDF source as downloaded by a default build of PyMuPDF 1.26.4.
The directory name has changed: no version number in the expanded directory now.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Mon, 15 Sep 2025 11:43:07 +0200 |
| parents | |
| children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mupdf-source/thirdparty/zxing-cpp/wrappers/dotnet/README.md Mon Sep 15 11:43:07 2025 +0200 @@ -0,0 +1,29 @@ +# ZXingCpp + +ZXingCpp is a .NET wrapper for [zxing-cpp](https://github.com/zxing-cpp/zxing-cpp). + +There is a NuGet package available: https://www.nuget.org/packages/ZXingCpp. + +## Usage + +See either the [ZXingCpp/README.md](ZXingCpp/README.md) or the [ZXingCpp.Demo](ZXingCpp.Demo) project. + +To run the `ZXingCpp.Demo` sample program, it is important that the dotnet runtime finds the native +`ZXing[.dll|.so|.dylib]` in your path. E.g. on Linux a complete command line would look like this + +```sh +LD_LIBRARY_PATH=<ZXing.so-path> dotnet run --project ZXingCpp.Demo -- ../../test/samples/multi-1/1.png +``` + +## Benchmarking + +To compare the performance of this .NET wrapper project with other available barcode scanner .NET libraries, +I started the project [zxing-bench](https://github.com/axxel/zxing-bench). The README contains a few +results to get an idea. + +## Release howto (for internal use) + + * download `*-latest-exp-artifacts` from gha page and copy binaries to `runtimes` + * update `Version` in `ZXingCpp.csproj` + * `dotnet pack` + * `dotnet nuget push ZXingCpp/bin/Release/ZXingCpp.<version>.nupkg -s https://api.nuget.org/v3/index.json -k <api-key>`
