title: Can you remove the alpha channel in a PNG with SIPS?
body: <p>Trying to stay <em>native</em> in SIPS when removing the alpha channel from images I am familiar with the process in ImageMagick with:</p>
  
  <pre><code>convert -flatten test.png test-white.png
  </code></pre>
  
  <p>or:</p>
  
  <pre><code>convert test.png -background white -alpha remove test.png
  </code></pre>
  
  <p>but when I reference the man page on <a href="http://ss64.com/osx/sips.html" rel="nofollow noreferrer">ss4</a> and <a href="https://developer.apple.com/legacy/library/documentation/Darwin/Reference/ManPages/man1/sips.1.html" rel="nofollow noreferrer">Library</a> it tells me that <code>hasAlpa</code> is a boolean read only when I run:</p>
  
  <pre><code>sips -g hasAlpha test.png
  </code></pre>
  
  <p>Per searching under the tag <a href="/questions/tagged/sips" class="post-tag" title="show questions tagged &#39;sips&#39;" rel="tag">sips</a> and with:</p>
  
  <ul>
  <li><a href="https://stackoverflow.com/search?q=%5Bsips%5D%20transparency">sips transparency</a></li>
  <li><a href="https://stackoverflow.com/search?q=%5Bsips%5D%20remove">sips remove</a></li>
  </ul>
  
  <p>there wasn't anything mentioned for removing transparency.  Can you remove transparency with SIPS?</p>