Page 1 of 1

Text shadow in NConvert

Posted: Mon Nov 07, 2016 10:23 pm
by felipe4334
I exported a XnConver job to Nconvert and it did export all the functions, one of them was the shadow for text therefore, everything looks weird on the NConver job, is there a way that the Nconver do the same job as XnConver? Thanks.

Text shadow in NConvert

Posted: Mon Nov 07, 2016 10:38 pm
by cday
felipe4334 wrote:I exported a XnConvert job to NConvert and it did export all the functions, one of them was the shadow for text therefore, everything looks weird on the NConvert job, is there a way that the Nconvert do the same job as XnConvert?
Could you please post the code you are using, and if possible show the different results produced by XnConvert and NConvert?

I'm not familiar with the shadow effect, if it is supported in NConvert, but someone else may be able to help...

Re: Text shadow in NConvert

Posted: Mon Nov 07, 2016 10:50 pm
by felipe4334
cday wrote:
felipe4334 wrote:I exported a XnConvert job to NConvert and it did export all the functions, one of them was the shadow for text therefore, everything looks weird on the NConvert job, is there a way that the Nconvert do the same job as XnConvert?
Could you please post the code you are using, and if possible show the different results produced by XnConvert and NConvert?

I'm not familiar with the shadow effect, if it is supported in NConvert, but someone else may be able to help...

Code: Select all

nconvert.exe -o "OutPutName.jpg" -text_font ADAM.CGPRO 111 -text_color 111 255 255 -text_back 255 0 0 -text_flag center -text_pos 0 0 -text_rotation 0 -text "nameOfPlayerYoutubeEdited" -text_font ADAM.CGPRO 44 -text_color 44 255 0 -text_back 0 0 0 -text_flag bottom-center -text_pos 0 -127 -text_rotation 0 -text "KDAOfPlayer" -text_font ADAM.CGPRO 52 -text_color 52 249 249 -text_back 249 0 0 -text_flag bottom-center -text_pos 0 -10 -text_rotation 0 -text "League Of Legends" -wmopacity 100 -wmfile "D:\Dropbox\Projects\Bot\Record Games\Lolking\replays\champions\400x400.png" -wmflag top-left -wmopacity 100 -wmfile "D:\Dropbox\Projects\Bot\Record Games\Lolking\replays\champions\challenger_1.png" -wmflag top-left Olaf_Splash_Centered_0.jpg
XnConver
http://imgur.com/a/mH6Sd

NConver
http://imgur.com/a/tChg7

Thanks for helping.

Re: Text shadow in NConvert

Posted: Mon Nov 07, 2016 11:04 pm
by cday
O.K. something not right there:

XnConvert output
XnConvert output
NConvert output
NConvert output
Can anyone see the problem :?:

[Please note the spellings of XnConvert and NConvert :wink: ]

Re: Text shadow in NConvert

Posted: Tue Nov 08, 2016 12:04 am
by felipe4334
cday wrote:O.K. something not right there:

XnConvert.jpg
NConvert.jpg
But not a text shadow issue and no text shadow term in your code...

[Please note the spellings of XnConvert and NConvert :wink: ]

Can anyone see the problem :?:
That's what I mean, I have text shadow on XnConvert but not on the NConver code I don't know how or why.

Re: Text shadow in NConvert

Posted: Tue Nov 08, 2016 4:00 am
by felipe4334
Can anybody help

Re: Text shadow in NConvert

Posted: Tue Nov 08, 2016 4:00 am
by XnTriq
AFAIK, adding a drop-shadow effect to text is not supported by nConvert.
[color=green]nconvert.exe -help[/color] wrote:

Code: Select all

-text string      : Add a text
-text_font name size  : Font name and size
-text_color r g b : Text color
-text_back r g b  : Text background color
-text_flag pos    : Position of text
    top-left, top-center, top-right
    center-left, center, center-right
    bottom-left, bottom-center, bottom-right
-text_pos x y     : Position or offset
-text_rotation degrees : Rotation

Re: Text shadow in NConvert

Posted: Tue Nov 08, 2016 5:35 am
by felipe4334
XnTriq wrote:AFAIK, adding a drop-shadow effect to text is not supported by nConvert.
[color=green]nconvert.exe -help[/color] wrote:

Code: Select all

-text string      : Add a text
-text_font name size  : Font name and size
-text_color r g b : Text color
-text_back r g b  : Text background color
-text_flag pos    : Position of text
    top-left, top-center, top-right
    center-left, center, center-right
    bottom-left, bottom-center, bottom-right
-text_pos x y     : Position or offset
-text_rotation degrees : Rotation

that explains a lot, thanks

Re: Text shadow in NConvert

Posted: Tue Nov 08, 2016 8:45 am
by xnview
NConvert doesn't support text shadow

Re: Text shadow in NConvert

Posted: Tue Nov 08, 2016 11:04 pm
by felipe4334
xnview wrote:NConvert doesn't support text shadow
Is there any way of working around it, example multiple layers of text?

Re: Text shadow in NConvert

Posted: Tue Nov 08, 2016 11:21 pm
by cday
felipe4334 wrote:
xnview wrote:NConvert doesn't support text shadow
Is there any way of working around it, example multiple layers of text?
Possibly by writing the text twice, the second slightly displaced and lighter?? But I think you would be lucky to get a satisfactory result, although you could always try...

Otherwise probably using ImageMagick which supports an amazing number of imaging functions...

Re: Text shadow in NConvert

Posted: Tue Nov 08, 2016 11:50 pm
by felipe4334
cday wrote:
felipe4334 wrote:
xnview wrote:NConvert doesn't support text shadow
Is there any way of working around it, example multiple layers of text?
Possibly by writing the text twice, the second slightly displaced and lighter?? But I think you would be lucky to get a satisfactory result, although you could always try...

Otherwise probably using ImageMagick which supports an amazing number of imaging functions...
Thanks ill try it out.

Re: Text shadow in NConvert

Posted: Wed Nov 09, 2016 7:43 am
by cday
I think with NConvert, if you apply the shadow before the foreground text it might produce the result you want, but the only way to know for sure is to try it...