Screenshot output is completely distorted when using magick CLI or from Magick++.
But weird thing is that it only happens when my screen resolution is 1366x768. When I use other resolutions, it works normally again
.
Change screen resolution to 1366x768.
Run this in terminal:
magick screenshot: D:\file.png
D:\file.png:

I can reproduce your issue on my laptop. I have no idea why this is happening but I will get back to you when I have more info.
I found and fixed the bug, this will be resolved in the next release.
Most helpful comment
I found and fixed the bug, this will be resolved in the next release.