Watermarking does not process more than 4996 images

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

Moderators: helmut, XnTriq, xnview

Guest

Watermarking does not process more than 4996 images

Post by Guest »

BUG in 4.95 and 4.98 -text

up to 9992 pictures

9993 and more picture modified (optimized too) with *.* conversion, but NOT have text watermark :-?

(if 2 watermarks, stop apply after 4996 pictures)

I thing - bug in code. Buffer owerflow or any other...

ps:

My syntax:
start /LOW /WAIT nconvert -v -rmeta -rexifthumb -q 65 -text_flag center -text "text logo" -text_back 0 255 255 -text_flag bottom-right -text "text2" *.*

i test 4.95 and 4.98
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: BUG in 4.95 and 4.98 -text

Post by xnview »

The text feature stop to work always after 4996 pictures??
Pierre.
Guest

Post by Guest »

yes, if 2 texts in picture
if one text, stop after 9992 pictures...

please try this

last picture may have (sometimes) black rectangle
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview »

I think that the shell command has a maximum characters
Pierre.
Guest

Post by Guest »

xnview wrote:I think that the shell command has a maximum characters
please try this

i not understand, why shell command (cmd.exe)?

My syntax:
start /LOW /WAIT nconvert -v -rmeta -rexifthumb -q 65 -text_flag center -text "text logo" -text_back 0 255 255 -text_flag bottom-right -text "text2" *.*

please suggest me better syntax

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

Post by xnview »

Try echo *.* > list and take a look at the list file
Pierre.
Guest

Post by Guest »

and other image processing (read/write/resize/optimize/change datetime in filesystem on hdd dir) work properly on ALL IMAGES about 24000 count !!!

only -text operation fail !!!

PLEASE TRY THIS

If you wand, i send to you image archive for this.

ps: My OS is Windows 2000.
Guest

Post by Guest »

xnview wrote:Try echo *.* > list and take a look at the list file
echo or dir?
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview »

CMD has a length limit of 8192 characters
Pierre.
Guest

Post by Guest »

this is nonsens

echo *.*

write only "*.*" to command line window or file, if redirect by > file.txt

if this same way i use JDO.exe converter, works Okay :-)
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview »

Anonymous wrote:this is nonsens
Yes, sorry.
But the command line has a limit
Pierre.
Guest

Post by Guest »

Then, how is solution?

i have syntax:

nconvert -v -rmeta -rexifthumb -q 65 -text_flag center -text "text1" -text_back 0 255 255 -text_flag bottom-right -text "text2" *.*

and all images is converted, but only part images have patched by "text1" and "text2"

how is solution?
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview »

Anonymous wrote: and all images is converted, but only part images have patched by "text1" and "text2"
Are you sure that all images are converted??
Pierre.
Guest

Post by Guest »

YES, SURE!!! THIS SITUATION I WRITE IN ONE OF MY FIRST POSTS HERE!!

I understand date/file in filesystem and i look for image size, i resize all images - look my syntax line... I use computers about 20 years, not greenhorn.

All pictures have changed datetime after processing, but TEXT not process.

You have bug in code about text command (owerflow?), please debug this.
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview »

Which format? All your pictures are in RGB?
Pierre.
Post Reply