NConvert 6.88 text_back bug

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

Moderators: XnTriq, xnview

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

NConvert 6.88 text_back bug

Postby Vgqq » Mon Apr 17, 2017 7:25 am

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
Last edited by Vgqq on Mon Apr 17, 2017 1:21 pm, edited 1 time in total.

cday
XnThusiast
Posts: 1428
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Nconvert 6.88 text_back bug

Postby cday » Mon Apr 17, 2017 8:32 am

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: 27349
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Nconvert 6.88 text_back bug

Postby xnview » Mon Apr 17, 2017 8:54 am

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

Postby Vgqq » Mon Apr 17, 2017 9:20 am

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
4.PNG (135.01 KiB) Viewed 211 times


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".

User avatar
xnview
Author of XnView
Posts: 27349
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Nconvert 6.88 text_back bug

Postby xnview » Mon Apr 17, 2017 1:23 pm

i can reproduce the bug
Pierre.

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

Re: Nconvert 6.88 text_back bug

Postby Vgqq » Tue Apr 18, 2017 10:25 am

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: 27349
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Nconvert 6.88 text_back bug

Postby xnview » Tue Apr 18, 2017 10:40 am

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

Postby Vgqq » Wed Apr 19, 2017 10:13 am

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

Postby Vgqq » Wed Apr 19, 2017 12:15 pm

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

User avatar
xnview
Author of XnView
Posts: 27349
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Nconvert 6.88 text_back bug

Postby xnview » Wed Apr 19, 2017 1:23 pm

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

Postby Vgqq » Wed Apr 19, 2017 3:22 pm

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

Postby Vgqq » Wed Apr 19, 2017 7:10 pm

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: 1428
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Nconvert 6.88 text_back bug

Postby cday » Wed Apr 19, 2017 7:43 pm

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

Postby Vgqq » Wed Apr 19, 2017 9:40 pm

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

Postby Vgqq » Thu Apr 20, 2017 1:07 pm

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


Return to “NConvert”

Who is online

Users browsing this forum: No registered users and 1 guest