LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 01-22-2021, 03:48 PM   #1
Kia ora
LQ Newbie
 
Registered: Oct 2004
Location: New Zealand
Distribution: Linux Mint 19.2 Cinnamon
Posts: 10

Rep: Reputation: 0
How can I insert text into a .jpg image?


I am using Linux Mint 19.2, and want to write descriptions at the bottom of some of my photographs. How do I do this, using GUI software?

I've tried GIMP, but it is too complicated. Is there an easier way?

Thank you.
 
Old 01-22-2021, 03:54 PM   #2
Grobe
Member
 
Registered: Aug 2019
Location: Close to north
Distribution: Fedora
Posts: 117

Rep: Reputation: Disabled
Inkscape will also do, can easilly import jpg image - and you can put any figure inbehind the text so it look very nice.

Pinta should also do - it's simpler taught.

Last edited by Grobe; 01-22-2021 at 03:56 PM. Reason: pinta
 
Old 01-22-2021, 04:13 PM   #3
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,152
Blog Entries: 6

Rep: Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835
Imagemagic can do that.

Here is an example. I checked it before posting.

Code:
txt="This is my Pic "$(date)""

convert -font helvetica -fill blue -pointsize 36 -draw "text 15,50 '$txt'" In.jpg Out.jpg
 
5 members found this post helpful.
Old 01-22-2021, 05:52 PM   #4
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,568

Rep: Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499
A brief explanation of using convert to add text to image. You should be able to find sites by doing an online search for "using imagemagick convert to insert text in an image" or something similar.

pointsize is the size (height) of the text; -fill blue is the color of the text, the -draw 'text numbers tell it where to put the text, first number from the left of the image, second number from the top of the image in pixels. The part '$txt' in the command can also contain the text you want if you don't use the first line. The first jpg file is the one to be modified, the second jpg file is the modified file so you retain the original. I was going to post a link to the site I found this at but haven't bookmarked it. Should not be to hard to find a site with more details.
 
1 members found this post helpful.
Old 01-22-2021, 06:44 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,020

Rep: Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630
https://www.instructables.com/Add-te...nvert-command/
 
1 members found this post helpful.
Old 01-22-2021, 07:49 PM   #6
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,382
Blog Entries: 28

Rep: Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163Reputation: 6163
My go-to program for doing this is Kolourpaint.
 
1 members found this post helpful.
Old 01-23-2021, 03:09 AM   #7
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Some people have created more or less configurable "meme" scripts.
It just might do what you want.
Search github.

aside: I really don't think GIMP is too complicated for this.
 
Old 01-23-2021, 02:24 PM   #8
Kia ora
LQ Newbie
 
Registered: Oct 2004
Location: New Zealand
Distribution: Linux Mint 19.2 Cinnamon
Posts: 10

Original Poster
Rep: Reputation: 0
Thank you, everyone, for your quick replies.

I'll try them all, and decide which works best for me.
 
Old 02-01-2021, 07:18 AM   #9
calliealbert
LQ Newbie
 
Registered: Jan 2021
Posts: 17

Rep: Reputation: 1
Open the photo, select "Edit" and tap the "More" (...) icon. Select "Markup," tap the "+" icon and select "Text." When the text box appears on the photo, double-tap it to raise the keyboard. Type the caption and use the options at the bottom of the screen to change the font, color and size.
 
Old 02-01-2021, 08:26 AM   #10
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,665

Rep: Reputation: Disabled
Quote:
Originally Posted by Kia ora View Post
I've tried GIMP, but it is too complicated. Is there an easier way?
GIMP is not the only photo editing software. There is a wide variety of them. My Wife had also difficulties with GIMP, I installed Fotoxx for her and she is not complaining any longer. Put "Linux photo editor" into your favorite search engine. And start trying them.
 
Old 02-04-2021, 03:44 AM   #11
calliealbert
LQ Newbie
 
Registered: Jan 2021
Posts: 17

Rep: Reputation: 1
Open the photo, select "Edit" and tap the "More" (...) icon. Select "Markup," tap the "+" icon and select "Text." When the text box appears on the photo, double-tap it to raise the keyboard. Type the caption and use the options at the bottom of the screen to change the font, color and size.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Images on SD card now .JPG, used to be .jpg terry-duell Fedora 7 05-17-2012 09:45 PM
Rename all ".JPG" files to ".jpg" under all subfolders... jiapei100 Programming 4 04-25-2010 06:27 PM
How can make FVWM support JPG? can't make jpg as my wallpaper. jazzi Linux - Desktop 5 08-09-2008 02:54 PM
HELP! BASH - Convert filenames from dsc00***.jpg to *.jpg jimmybond01 Programming 9 05-08-2007 06:17 AM
renaming all JPG to jpg quickk Linux - Newbie 8 09-05-2004 01:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 01:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration