Upgrading to Magick.Net 13.7.0 breaks ZXing.Magick
flytzen opened this issue · 1 comments
flytzen commented
The ZXing.Magick
binding references Magick.Net.Core
vs 12.3.0.
Consumers of ZXing.Magick
have to reference Magick.Net
themselves (which is a good thing). However, MagickFormat
is an enum in Magick.Net.Core
and it was changed in Magick.Net
v 13.7.0.
This line:
uses MagickFormat.Gray
which has a value of 83 in Magick.Net
13.6.0 and earlier. However, in Magick.Net
13.7.0, 83
equals Gradient
.
So, when a consumer of ZXing.Magick
upgrades Magick.Net
to 13.7.0, it will break ZXing.Magick
.
The easiest fix for ZXing
would be to upgrade to Magick.Net
13.7.0.
See also
micjahn commented
Version 0.16.14 of the binding package is pushed to nuget.org. That version is built against version 13.8.0 of Magick.Net.