Nconvert -addtext

Discussions on NConvert - the command line tool for image conversion and manipulation

Moderators: XnTriq, xnview

Post Reply
wouter
Posts: 3
Joined: Wed Aug 03, 2005 7:51 am

Nconvert -addtext

Post by wouter » Thu Aug 04, 2005 10:18 am

Is use of addtext already possible with nconvert? Which parameters can be used? In which sequence should the info about text position, font, textcolor, backgroundcolor, content be put?

(I want something like: -addtext <IPTC:Caption> bottom-left textcolor 0 0 0 textbgcolor 255 255 255 font arial narrow 8)

Will it be possible in the future to merge a series of imagefiles with corresponding textfiles like merging filename##.jpg with filename##.txt using the -addtext parameter?

User avatar
xnview
Author of XnView
Posts: 32403
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Nconvert -addtext

Post by xnview » Thu Aug 25, 2005 11:44 am

wouter wrote:Is use of addtext already possible with nconvert? Which parameters can be used? In which sequence should the info about text position, font, textcolor, backgroundcolor, content be put?

(I want something like: -addtext <IPTC:Caption> bottom-left textcolor 0 0 0 textbgcolor 255 255 255 font arial narrow 8)

Will it be possible in the future to merge a series of imagefiles with corresponding textfiles like merging filename##.jpg with filename##.txt using the -addtext parameter?
With -text option you can't use template for IPTC/EXIF, and it's :
-text TEXT -text_font arial 8 -textcolor 0 0 0 -textbgcolor 255 255 255
Pierre.

Guest

Post by Guest » Sat Sep 17, 2005 10:48 pm

Hello !

I had many problems with a WSH-Script ( *.vbs ) and the text-parameters of nconvert.

Parts of the script:
.
.
.
Pfadvorgabe = "C:\pictures\"
nconvert = "C:\Programme\XnView\nconvert"
nconvertparam1 = "-resize 80% 80% -q 90 -text"
nconvertparam2 = "-text_color 255 255 255 -text_back 0 0 0 -text_font Arial 80 -text_flag top-left -text_pos 50 50 -out jpeg -o
.
.
.
WSHShell.Run nconvert & " " & nconvertparam1 & " " & Folder1 & " " & nconvertparam2 & " " & Pfadvorgabe & Datei(i) & " " & Pfad & "\" & Datei(i)
.
.
.


the result for nconvert is:
C:\Programme\XnView\nconvert -resize 80% 80% -q 90 -text_font Arial 80 -text "Rose - August 2005" -text_color 255 255 255 -text_back 0 0 0 -text_flag top-left -text_pos 50 50 -out jpeg -o C:\pictures\Blüten(1).jpg C:\pictures\Flowers\Blüten(1).jpg


I do'nt understand: i changed many parameters( textcolor, textbackroundcolor , ...) but the font is every time very small , black and on a transparent backround . What can i do or who can help ?

User avatar
xnview
Author of XnView
Posts: 32403
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview » Sun Sep 18, 2005 1:13 pm

Anonymous wrote: I do'nt understand: i changed many parameters( textcolor, textbackroundcolor , ...) but the font is every time very small , black and on a transparent backround . What can i do or who can help ?
Ok, it's a little problem, you must put -text after all text parameters, so :
C:\Programme\XnView\nconvert -resize 80% 80% -q 90 -text_font Arial 80 -text_color 255 255 255 -text_back 0 0 0 -text_flag top-left -text_pos 50 50 -text "Rose - August 2005" -out jpeg -o C:\pictures\Blüten(1).jpg C:\pictures\Flowers\Blüten(1).jpg
Pierre.

Guest

Post by Guest » Mon Sep 19, 2005 3:04 pm

:D :D :D
Japadappaduu
:D :D :D

Post Reply