title: Add a scale-bar to images via command line (with Ubuntu and eg ImageJ)
body: <p>at the moment I am using ImageJ (with my Ubuntu 14.04) to manually add Scale-Bars to Images (semi-manually to be precise as I'm using „File → Import → Image Sequence…“).
  I have recorded a macro (in ImageJ via: Plugins → Macros → Record...) that looks as follows:</p>
  
  <pre><code>run("Blobs (25K)");
  run("Set Scale...", "distance=500.5 known=200 pixel=1 unit=µm");
    &lt;&lt;warning: the options string contains one or more non-ascii characters&gt;&gt;
  run("Scale Bar...", "width=200 height=8 font=28 color=Black background=None location=[Lower Right] bold overlay");
  </code></pre>
  
  <p>How would the complete command look like when I want to add a scale bar to hundred images (eg /home/$USER/test/*.tif)</p>
  
  <p>Actually I don't necessarily have to use ImageJ. If that was also easily possible with ImageMagick for example that would be totally fine as well.</p>