nconvert 6.21 does not expand parameters of add_text

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

Moderators: XnTriq, xnview

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

nconvert 6.21 does not expand parameters of add_text

Postby EuM_Expert » Thu Dec 13, 2012 2:58 am

According to viewtopic.php?f=57&t=25734&p=103453&hilit=text#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 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: 28291
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: nconvert 6.21 does not expand parameters of add_text

Postby xnview » Thu Dec 13, 2012 9:19 am

yes must be added...
Pierre.


Return to “NConvert”

Who is online

Users browsing this forum: No registered users and 1 guest