Page 1 of 1

0.88: Renaming with variables generates spaces

Posted: Sun Nov 12, 2017 9:35 pm
by mcbrx
XnView MP: 0.88 - 32 bit
OS: Windows 8.1 / macOS Sierra / 64bit

Hi,
during (batch) renaming, spaces are created by certain variables.
Rename-Spaces-.jpg
This can be avoided if you replace a space with nothing.
Rename-Replace-Spaces-.jpg
Or is it wanted like that?

Re: 0.88: Renaming with variables generates spaces

Posted: Wed Nov 15, 2017 2:50 pm
by xnview
i think that the {EXIF:Model} of your picture contains spaces

Re: 0.88: Renaming with variables generates spaces

Posted: Wed Nov 15, 2017 5:19 pm
by mcbrx
ok, you're right, it's not a mistake.
Unfortunately, this is different for several tested cameras.
Other image viewers just cut the spaces, but I do not know what's right.
No matter, with "replace" can solve the problem.

Re: 0.88: Renaming with variables generates spaces

Posted: Wed Nov 15, 2017 9:40 pm
by xnview
mcbrx wrote:ok, you're right, it's not a mistake.
Unfortunately, this is different for several tested cameras.
Other image viewers just cut the spaces, but I do not know what's right.
No matter, with "replace" can solve the problem.
yes perhaps it's better to cut spaces

Re: 0.88: Renaming with variables generates spaces

Posted: Thu Nov 16, 2017 7:08 am
by xnview
mcbrx wrote:ok, you're right, it's not a mistake.
Unfortunately, this is different for several tested cameras.
Other image viewers just cut the spaces, but I do not know what's right.
No matter, with "replace" can solve the problem.
could you send me a sample file?

Re: 0.88: Renaming with variables generates spaces

Posted: Thu Nov 16, 2017 1:30 pm
by mcbrx
xnview wrote:could you send me a sample file?
Sure, in the attachment a smaller picture from my example above.