NConvert 6.88 text_back bug

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

Moderators: XnTriq, helmut, xnview

Vgqq
Posts: 10
Joined: Mon Apr 17, 2017 7:06 am

NConvert 6.88 text_back bug

Post by Vgqq »

pic 1. Its a bug?
1.PNG
pic 2. Can you add a border like this in nconvert, please? :)
2.PNG
pic 3. When exporting scenario from xnconvert to nconvert occurs a bug with size of text and its colour. Can you fix it, please?
3.PNG
You do not have the required permissions to view the files attached to this post.
Last edited by Vgqq on Mon Apr 17, 2017 1:21 pm, edited 1 time in total.
cday
XnThusiast
Posts: 4185
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Nconvert 6.88 text_back bug

Post by cday »

You could try putting the -text "HELLO HELLO HELLO" term before the other text switches, i.e. immediately after the nconvert.exe term.

Just a guess though...

Note: If you post code, it would be helpful if you could post it between 'Code' tags:

Code: Select all

C:\Users\xxxxx\Desktop\etc  ... 
User avatar
xnview
Author of XnView
Posts: 44917
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Nconvert 6.88 text_back bug

Post by xnview »

Vgqq wrote:pic 1. Its a bug?
i can't reproduce, your picture is RGB?
pic 2. Can you add a border like this in nconvert, please? :)
ok
pic 3. When exporting scenario from xnconvert to nconvert occurs a bug with size of text and its colour. Can you fix it, please?
yes will be fixed
Pierre.
Vgqq
Posts: 10
Joined: Mon Apr 17, 2017 7:06 am

Re: Nconvert 6.88 text_back bug

Post by Vgqq »

cday, when i put text first:

Code: Select all

nconvert.exe -text "HELLO HELLO HELLO" -text_font "Comic Sans MS" 32 -text_color 32 255 85 -text_back 0 0 0 -text_flag top-left -text_pos 20 420 -text_rotation 10 1.jpg
it gives me next:
4.PNG
xnview, I attaching image:
1.jpg
and code:

Code: Select all

nconvert.exe -text_font "Comic Sans MS" 32 -text_color 32 255 85 -text_back 0 0 0 -text_flag top-left -text_pos 20 420 -text_rotation 10 -text "HELLO HELLO HELLO"
Can you reproduce it?

This bug occurs only with option "-text_rotation".
You do not have the required permissions to view the files attached to this post.
User avatar
xnview
Author of XnView
Posts: 44917
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Nconvert 6.88 text_back bug

Post by xnview »

i can reproduce the bug
Pierre.
Vgqq
Posts: 10
Joined: Mon Apr 17, 2017 7:06 am

Re: Nconvert 6.88 text_back bug

Post by Vgqq »

XnView How i can recognize, when it will be fixed? lt will be new digits in nconvert version on site or you inform about it on this forum? Sorry :)
User avatar
xnview
Author of XnView
Posts: 44917
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Nconvert 6.88 text_back bug

Post by xnview »

Vgqq wrote:XnView How i can recognize, when it will be fixed? lt will be new digits in nconvert version on site or you inform about it on this forum? Sorry :)
yes version 7.00 available tomorrow...
Pierre.
Vgqq
Posts: 10
Joined: Mon Apr 17, 2017 7:06 am

Re: Nconvert 6.88 text_back bug

Post by Vgqq »

xnview wrote:yes version 7.00 available tomorrow...
I downloaded. It works perfect! Thank you very much, your soft is the best :D
Vgqq
Posts: 10
Joined: Mon Apr 17, 2017 7:06 am

Re: Nconvert 6.88 text_back bug

Post by Vgqq »

it's a bug with rotation :o
Снимок.PNG

Code: Select all

nconvert.exe -text_font "Comic Sans MS" 94 -text_color 255 85 0 -text_border 10 255 85 127 -text_back 0 0 0 -text_pos 90 280 -text_flag top-left -text_rotation 16 -text "HELLO HELLO HELLO" 1.jpg
You do not have the required permissions to view the files attached to this post.
User avatar
xnview
Author of XnView
Posts: 44917
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Nconvert 6.88 text_back bug

Post by xnview »

yes currently it's a limitation
Pierre.
Vgqq
Posts: 10
Joined: Mon Apr 17, 2017 7:06 am

Re: Nconvert 6.88 text_back bug

Post by Vgqq »

xnview wrote:yes currently it's a limitation
Oh, sorry. I will wait for the removal this limitation, can I?
Vgqq
Posts: 10
Joined: Mon Apr 17, 2017 7:06 am

Re: Nconvert 6.88 text_back bug

Post by Vgqq »

And it's a difference in text rotation between nconvert and xnconvert: axis of rotation for xnconvert is center and nconvert's axis of rotation is top-left corner. Its make a problem for exporting scenario from xnconvert :?
Just for information.

I spent three hours covering women's charms, but it did not hide behind. :D
cday
XnThusiast
Posts: 4185
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Nconvert 6.88 text_back bug

Post by cday »

If the text and background with the outline are a fixed size, a workaround might be to create a small file with that content, convert the background to transparent, and then apply that image to your images using the NConvert watermark action...

Or, might it be simpler to use a freeware Windows software such as Paint.net which supports layers, and which would allow you to position the text on a transparent layer in front of the image using the mouse?
Vgqq
Posts: 10
Joined: Mon Apr 17, 2017 7:06 am

Re: Nconvert 6.88 text_back bug

Post by Vgqq »

cday Thank you for your advices. I using preview xnconvert to prepare for a specific script(that uses nconvert) some parameters like offset x y and degree of rotation. I writing it to txt file for each picture. Then script processing some specific actions with photos. I can calculate this parameters(offsets and degree) by perambulating it in nconvert, but its uncofortable. Why not make nconvert and xnconvert prodused same result with same parameters? It will be great) sorry for my english :D
Vgqq
Posts: 10
Joined: Mon Apr 17, 2017 7:06 am

Re: Nconvert 6.88 text_back bug

Post by Vgqq »

I writed my own programm, that does manipulation with text and image, and rotates text around its center. It has been easier than I thought :D :D Thanks.
Снимок.PNG
You do not have the required permissions to view the files attached to this post.