nconvert 6.21 does not expand parameters of add_text

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

Moderators: XnTriq, helmut, xnview

EuM_Expert
Posts: 20
Joined: Mon Jul 23, 2012 1:54 pm

nconvert 6.21 does not expand parameters of add_text

Post by EuM_Expert »

According to http://newsgroup.xnview.com/viewtopic.p ... xt#p103453 the expansion of metadata options should be integrated in nconvert.

I am using nconvert Version 6.21, Win7 x64.

An xnConvert saved for nconvert script created the following output:

Code: Select all

nconvert -text_font Courier New -text_color 255 255 255 -text_back 141 141 141 -text_flag bottom-left -text_pos 0 0 -text_rotation 0 -text " {Filename With Ext}  @  {EXIF:Date Taken [Y-m-d, H:M]} "
Sideline: as described in http://newsgroup.xnview.com/viewtopic.php?f=57&t=26999, the save as function is buggy for the font specification, because the font name should be included in double quotes, and the font size must be specified, e.g."

Code: Select all

-text_font "Courier New" 30
However, the problem I cannot solve is the expansion of the metadata options. Instead of the Filename, etc, the text is taken literally. The options

Code: Select all

 -text " {Filename With Ext}  @  {EXIF:Date Taken [Y-m-d, H:M]} "
literally write the text {Filename With Ext} @ {EXIF:Date Taken [Y-m-d, H:M]} into the image.

I tried in a batch, or the command line directly, tried to modify the curly brackets and double quotes. Nothing helps.
Am I doing something wrong?
Or is the function not implemented yet?
Any plan for implementing that?

Thanks!
User avatar
xnview
Author of XnView
Posts: 44817
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: nconvert 6.21 does not expand parameters of add_text

Post by xnview »

yes must be added...
Pierre.