'-text_flag' Command doesn't work

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

Moderators: helmut, XnTriq, xnview

Post Reply
tireless
Posts: 23
Joined: Sun Oct 26, 2008 1:01 am

'-text_flag' Command doesn't work

Post by tireless »

Why doesn't work?

I use this background pictrue:

Image
1.png

execute:

Code: Select all

nconvert.exe -text test -text_flag center -o %_new.png 1.png
the text always appear at top-left:

Image
1_new.png

It seems below commands doesn't work:

-text_font
-text_color
-text_back
-text_flag
-text_pos
Last edited by tireless on Wed Nov 05, 2008 9:48 am, edited 1 time in total.
tireless
Posts: 23
Joined: Sun Oct 26, 2008 1:01 am

Post by tireless »

I know why!

there are two promblems:

1.the command order,this one is correct:

Code: Select all

nconvert.exe -text_flag center -text test -o %_new.png 1.png
2.There is something wrong with my picture in this Topic.I use SPX to capture as .gif file,and use PngOptimizer to reduce the file size and convert to .png file. <- that's the problem.
Last edited by tireless on Wed Nov 05, 2008 9:46 am, edited 1 time in total.
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: "-text_flag" Command doesn't work

Post by xnview »

Please use

Code: Select all

nconvert.exe -text_flag center -text test -o %_new.png 1.png
Pierre.
Post Reply