<!DOCTYPE html>
<html>
<head>
<title></title>
<style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style>
</head>
<body><div>I propose to remove the <i>display</i> code paths when generating QR codes on macOS.<br></div>
<div><br></div>
<div>Display is only used when ImageMagick is installed, which is probably true for the vast majority of macOS users who use homebrew. Unfortunately, for <i>display</i> to work, ImageMagick needs to be installed --with-x11 and Homebrew <a href="https://github.com/Homebrew/homebrew-core/issues/31510">no longer supports options in core formulas</a>. Support for the <a href="https://github.com/Homebrew/homebrew-core/commit/f53609a6c42ddf2d27611eb02920e77452cd0ccb">--with-x11 option</a> was removed in line with that directive. <br></div>
<div><br></div>
<div>This makes the --qrcode option virtually useless on macOS because <i>display</i> simply does not work.<br></div>
<div><br></div>
<div>While it's possible for users to install ImageMagick through other means, I think my preference would be to remove the dependency. The output of <i>qrencode</i> is good enough. If users do need a better option; requiring imgcat (as is already the case) seems like a much better option.<br></div>
<div><br></div>
<div>Klaas Pieter<br></div>
</body>
</html>