IPixelCollection change #790
-
Following an update of Magick.NET, IPixelCollection now requires a struct. Are there predefined structures or do I have to define my own? Any advice will be appreciated. Current code (not working) Required code ?????? = struct |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The |
Beta Was this translation helpful? Give feedback.
The
IPixelCollection
now requires this because of breaking changes in the API to make it possible to move some code to new NuGet packages. The struct that you should be using depends on the version of Magick.NET that you are using. It should be the same time as the oneMagickImage
is using in it's interface. I would advise you to usevar
instead to make your life a bit easier.