• Home
  • pcDuino
  • WiKi
  • Store
  • Distributors
  • Home
  • pcDuino
  • WiKi
  • Store
  • Distributors
HomepcDuinoLinux ApplicationsOverlaying text on picture using pcDuino
Previous Next

Overlaying text on picture using pcDuino

Posted by: admin , August 26, 2014

A lot of time, we require overlaying information text on a picture. In this post, we will introduce a wonderful tool called ImageMagick.  To install it, it’s pretty straightforward on pcDuino:

$sudo apt-get update (update package list)
$sudo apt-get install imagemagick (install program)

To use the tool, we

$ubuntu@ubuntu:~$ convert IMG_0141.JPG -pointsize 100 -fill white -annotate +40+728 'your overlay text' test.jpg

It takes the picute IMG_0141.JPG  and overlays the text your overlay text 40 pixels in from the left-hand edge and 728 pixels from the top edge. The text will be 100 points high and white. The resulting file is saved as test.jpg,  but you can use the same filename and path as the input file to overwrite the original.

The output image is shown below:

Use pcDuino as

 

 

Tags: Linux Applications

Share!
Tweet

admin

About the author

Leave a Reply Cancel reply

You must be logged in to post a comment.

Category

  • Home
  • pcDuino
  • WiKi
  • Store
  • Distributors