<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Images on Benjamin Italiaander</title><link>https://tlnd.org/topic/images/</link><description>Recent content in Images on Benjamin Italiaander</description><generator>Hugo</generator><language>en</language><lastBuildDate>Mon, 01 Jan 2024 00:00:00 +0000</lastBuildDate><atom:link href="https://tlnd.org/topic/images/index.xml" rel="self" type="application/rss+xml"/><item><title>Generate a QR code from a pipe in the Linux CLI</title><link>https://tlnd.org/Linux/cli/qrcode/</link><pubDate>Mon, 01 Jan 2024 00:00:00 +0000</pubDate><guid>https://tlnd.org/Linux/cli/qrcode/</guid><description>&lt;h1 id="create-a-qr-code-from-command-output"&gt;Create a QR code from command output&lt;/h1&gt;
&lt;p&gt;I needed to turn the output of a command into a QR code. Here is a short guide on how to generate a QR code from a pipe in the Linux CLI:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;qrencode -t ansiutf8 &amp;lt; ./somefile.txt
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;I manage my passwords with &lt;code&gt;pass&lt;/code&gt; and wanted to get a password onto my phone with a QR code:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;pass work/someaccount &lt;span class="p"&gt;|&lt;/span&gt; head -n1 &lt;span class="p"&gt;|&lt;/span&gt; tr -d &lt;span class="s1"&gt;&amp;#39;\n&amp;#39;&lt;/span&gt; &lt;span class="p"&gt;|&lt;/span&gt; qrencode -t ansiutf8
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;&lt;code&gt;tr&lt;/code&gt; removes the newline that is added at the end.&lt;/p&gt;</description></item><item><title>ImageMagick</title><link>https://tlnd.org/Linux/cli/ImageMagick/</link><pubDate>Mon, 10 Oct 2016 00:00:00 +0000</pubDate><guid>https://tlnd.org/Linux/cli/ImageMagick/</guid><description>&lt;h1 id="using-imagemagick"&gt;Using ImageMagick&lt;/h1&gt;
&lt;p&gt;If you ever need to do some quick image or document conversions, ImageMagick is a command-line tool that can save you a ton of time. Here&amp;rsquo;s a quick guide on how to install it and use it to convert images, PDFs and more. Perfect for automating repetitive tasks.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;💡 In ImageMagick 7 the &lt;code&gt;convert&lt;/code&gt; command is called &lt;code&gt;magick&lt;/code&gt; (e.g. &lt;code&gt;magick input.psd output.jpg&lt;/code&gt;). &lt;code&gt;convert&lt;/code&gt; still works but is deprecated.&lt;/p&gt;</description></item></channel></rss>