codebude / QRCoder

A pure C# Open Source QR Code implementation
MIT License
4.43k stars 1.08k forks source link

Add overload for supplying Color to PngByteQRCode.GetGraphic #564

Closed Shane32 closed 1 week ago

Shane32 commented 3 weeks ago

Summary

This PR adds an overload to PngByteQRCode.GetGraphic that accepts System.Drawing.Color instances, which are available on all supported platforms except .NET Standard 1.3

Test plan

Test added

Closing issues

Addresses confusion here: https://github.com/codebude/QRCoder/issues/536#issuecomment-2161663630

codebude commented 1 week ago

Updated the wiki regarding the new overload: https://github.com/codebude/QRCoder/wiki/Advanced-usage---QR-Code-renderers/_compare/588755ac6c039ee4075db9edfa6095238161749d...7f0f343cb5917f65c334b801119ff8c8e2241b7e

codebude commented 1 week ago

Updated release notes: https://github.com/codebude/QRCoder/wiki/Release-Notes/_compare/9e5a56c8a4ebe520082ff47217d1e0013e3a7dca...f65174dfcfa139487de893bd439bbd5b659ca48e

codebude commented 1 week ago

@Shane32 Can you have a look on the merge conflict?