Facebook Twitter Instagram
    TecAdmin
    • Home
    • FeedBack
    • Submit Article
    • About Us
    Facebook Twitter Instagram
    TecAdmin
    You are at:Home»Linux Tutorials»How to Write Text On Image using Linux Command

    How to Write Text On Image using Linux Command

    By RahulNovember 28, 20131 Min Read

    Linux provides an convert command to add any text on an image. In order to use this command you need to install ImageMagick package on your system.

    Advertisement

    This tutorial will help you to Write Text On Image with examples. For these examples we are taking below image to write some text.

    image-text-add-1

    Eg 1: Writing Some Text

    # TEXT="Welcome to TecAdmin.net"
    # convert -font helvetica -fill blue -pointsize 36 -draw "text 15,50 '$TEXT'" image1.jpg image2.jpg
    

    image-text-add-eg-1

    Eg 2: Writing Current Date/Time

    # TEXT=`date`
    # convert -font helvetica -fill blue -pointsize 36 -draw "text 15,50 '$TEXT'" image1.jpg image3.jpg
    

    image-date-add-eg-2

    Thank You! for using this article.

    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email WhatsApp

    Related Posts

    Modulus Operator (%) in Bash

    Using Modulus Operator (%) in Bash

    Calculate Remainder in Bash

    How to Calculate Remainder (%) of a Division in Bash

    Calculating Division and Remainder in Bash

    Calculating Division and Remainder in Bash

    Add A Comment

    Leave A Reply Cancel Reply

    Advertisement
    Recent Posts
    • Configure Postfix to Use Gmail SMTP on Ubuntu & Debian
    • PHP Arrays: A Beginner’s Guide
    • Deploying Flask Application on Ubuntu (Apache+WSGI)
    • OpenSSL: Working with SSL Certificates, Private Keys and CSRs
    • How to Create and Read List in Python
    Facebook Twitter Instagram Pinterest
    © 2023 Tecadmin.net. All Rights Reserved | Terms  | Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.