The determination of the complementary color is done in C# code so please let me know if improvements can be made. This is not part of the ImageMagick library and I used the implementation referenced in this post: http://stackoverflow.com/questions/1664140/js-function-to-calculate-complementary-colour. I assumed the first implementation was the correct one but the last post seems to get you a green color instead of cyan. If you can help me figure out how that implementation works I might be able to add it to Magick.NET.
↧