Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to add date on photo
#11
(06-22-2022, 12:11 PM)PixLab Wrote:
(06-22-2022, 11:59 AM)Stephen Liu Wrote: Finally I type [Today June 22, 2022]

What shall I do next?
Can I move [Today June 22, 2022] to another place and increase its size?
(06-22-2022, 06:02 AM)PixLab Wrote: .....

Then just after you have to click on the canvas/image where you want to put the text... And yes you can move it later on with the move tool if you wish.
Tip: For any tool which seems to not work ➤ just click on your image after selecting that tool.

To move see above my quoted comment
To increase the size, select the text tool to edit your text (don't forget to click on it in the canvas), then Select your text then increase the size via the floating window or via the tool options

But I can't resolve how to delete the tag [Ubunt60 :px ] ?
Reply
#12
Quote:But I can't resolve how to delete the tag [Ubunt60 :px ] ?

Choose another tool
Reply
#13
(06-22-2022, 12:27 PM)rich2005 Wrote:
Quote:But I can't resolve how to delete the tag [Ubunt60 :px ] ?

Choose another tool

If choosing anther tool I have to use that tool.

What I need is to edit [Today June 22, 2022] such as enlarging it, moving it to another place on the photo etc.
Reply
#14
Gives up: Over to you PixLab
Reply
#15
(06-22-2022, 02:32 PM)rich2005 Wrote: Gives up: Over to you PixLab

I suppose the easy way adding "Simple Text" on photo is to run "Convert" command of IM

$ convert -pointsize 70 -fill yellow -draw 'text 400,150 "Today June 22. 2022"' p02_55.jpg  p02_55_text.jpg

-pointsize 70: size of text
-fill yellow: color of text
-draw 'text 400,150 "Today June 22, 2022"': start 400 pixels from left and 150 pixels from top
text -"Today June 22, 2022"

Pls refers to attached photo

I'll check PixLab later

Regards


Attached Files Thumbnail(s)
   
Reply
#16
@Stephen by selecting another tool does not mean you have to use it!
If you are finished with your text and move tool then by choosing another tool, those tools will not be active any more.

Smile
Reply
#17
(06-22-2022, 03:28 PM)sallyanne Wrote: @Stephen by selecting another tool does not mean you have to use it!
If you are finished with your text and move tool then by choosing another tool, those tools will not be active any more.

Thanks for your advice.

I'll turn to IM command which can batch processing all photos in the same folder with one command.  It is very convenient.

Now I'm searching the command for complex text;
1st line - x font, x text size, x color
2nd line - y font, y text size, x color
3rd line - z font, z text size, z color
etc.

Regards
Reply
#18
(06-22-2022, 02:46 PM)Stephen Liu Wrote:
(06-22-2022, 02:32 PM)rich2005 Wrote: Gives up: Over to you PixLab

I suppose the easy way adding "Simple Text" on photo is to run "Convert" command of IM

$ convert -pointsize 70 -fill yellow -draw 'text 400,150 "Today June 22. 2022"' p02_55.jpg  p02_55_text.jpg

-pointsize 70: size of text
-fill yellow: color of text
-draw 'text 400,150 "Today June 22, 2022"': start 400 pixels from left and 150 pixels from top
text -"Today June 22, 2022"

Pls refers to attached photo

I'll check PixLab later

Sorry guys, it's midnight here where I live (GMT+8), I'm falling asleep, I'm shutting down computer and myself. Big Grin
Reply
#19
(06-22-2022, 03:51 PM)Stephen Liu Wrote: I'll turn to IM command which can batch processing all photos in the same folder with one command.  It is very convenient.
Now I'm searching the command for complex text;
1st line - x font, x text size, x color
2nd line - y font, y text size, x color
3rd line - z font, z text size, z color
etc.

Since you refuse to use BIMP and seem not to understand the Gimp text tool, why expect any answers.

This is a Gimp forum, the best place for ImageMagick questions is:  https://github.com/ImageMagick/ImageMagick/discussions

However, for multi-line you need something like this

Code:
mogrify \
-define jpg -font Futura-Bold.ttf -pointsize 48 -fill red  -annotate +50+100 "line 1" \
-font Ubuntu-M.ttf -pointsize 48 -fill green  -annotate +50+150 "line 2" \
-font Futura-Bold.ttf -pointsize 30 -fill blue  -annotate +50+200 "line 3" *.jpg

Note you need the font files (ttf) in the same place as the images. Example:

   
Reply
#20
(06-23-2022, 11:07 AM)rich2005 Wrote:
(06-22-2022, 03:51 PM)Stephen Liu Wrote: I'll turn to IM command which can batch processing all photos in the same folder with one command.  It is very convenient.
Now I'm searching the command for complex text;
1st line - x font, x text size, x color
2nd line - y font, y text size, x color
3rd line - z font, z text size, z color
etc.

......
However, for multi-line you need something like this

Code:
mogrify \
-define jpg -font Futura-Bold.ttf -pointsize 48 -fill red  -annotate +50+100 "line 1" \
-font Ubuntu-M.ttf -pointsize 48 -fill green  -annotate +50+150 "line 2" \
-font Futura-Bold.ttf -pointsize 30 -fill blue  -annotate +50+200 "line 3" *.jpg

Note you need the font files (ttf) in the same place as the images. Example:
Thanks for your advice.  Performed following test;

$ convert \
> -define jpg -font UbuntuMono-B.ttf -pointsize 70 -fill red  -annotate +450+150 "Today: June 25, 2022" \
> -font UbuntuMono-B.ttf -pointsize 60 -fill green  -annotate +450+150 "Photographed at Home" \
> -font UbuntuMono-B.ttf -pointsize 60 -fill blue  -annotate +450+150 "Age: 6 months" p01_60.jpg p01_60_date.jpg
Code:
convert-im6.q16: unable to read font `UbuntuMono-B.ttf' @ warning/annotate.c/RenderType/915.

$ fc-list | grep UbuntuMono-B.ttf
Code:
/usr/share/fonts/truetype/ubuntu/UbuntuMono-B.ttf: Ubuntu Mono:style=Bold

Failed

Regards
Reply


Forum Jump: