Discussions on NConvert - the command line tool for image conversion and manipulation
Moderator: xnview
Guest
Post
by Guest » Sun Jun 15, 2008 3:30 am
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
xnview
Author of XnView
Posts: 47518 Joined: Mon Oct 13, 2003 7:31 am
Location: France
Post
by xnview » Mon Jun 16, 2008 7:11 am
The text feature stop to work always after 4996 pictures??
Pierre.
Guest
Post
by Guest » Thu Jun 19, 2008 5:58 am
yes, if 2 texts in picture
if one text, stop after 9992 pictures...
please try this
last picture may have (sometimes) black rectangle
xnview
Author of XnView
Posts: 47518 Joined: Mon Oct 13, 2003 7:31 am
Location: France
Post
by xnview » Thu Jun 19, 2008 6:40 am
I think that the shell command has a maximum characters
Pierre.
Guest
Post
by Guest » Fri Jun 20, 2008 9:32 am
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
xnview
Author of XnView
Posts: 47518 Joined: Mon Oct 13, 2003 7:31 am
Location: France
Post
by xnview » Fri Jun 20, 2008 9:38 am
Try echo *.* > list and take a look at the list file
Pierre.
Guest
Post
by Guest » Fri Jun 20, 2008 9:44 am
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 » Fri Jun 20, 2008 9:47 am
xnview wrote: Try echo *.* > list and take a look at the list file
echo or dir?
xnview
Author of XnView
Posts: 47518 Joined: Mon Oct 13, 2003 7:31 am
Location: France
Post
by xnview » Fri Jun 20, 2008 11:48 am
CMD has a length limit of 8192 characters
Pierre.
Guest
Post
by Guest » Sat Jun 21, 2008 8:08 am
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
xnview
Author of XnView
Posts: 47518 Joined: Mon Oct 13, 2003 7:31 am
Location: France
Post
by xnview » Sat Jun 21, 2008 1:21 pm
Anonymous wrote: this is nonsens
Yes, sorry.
But the command line has a limit
Pierre.
Guest
Post
by Guest » Mon Jun 30, 2008 2:21 am
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?
xnview
Author of XnView
Posts: 47518 Joined: Mon Oct 13, 2003 7:31 am
Location: France
Post
by xnview » Mon Jun 30, 2008 6:14 am
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 » Tue Jul 01, 2008 3:43 am
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.
xnview
Author of XnView
Posts: 47518 Joined: Mon Oct 13, 2003 7:31 am
Location: France
Post
by xnview » Tue Jul 01, 2008 6:33 am
Which format? All your pictures are in RGB?
Pierre.