0.88: Renaming with variables generates spaces

*** Please report new bugs here! ***

Moderators: XnTriq, helmut, xnview, Dreamer

Post Reply
mcbrx
Posts: 18
Joined: Mon Nov 06, 2017 1:03 pm

0.88: Renaming with variables generates spaces

Post 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?
User avatar
xnview
Author of XnView
Posts: 43326
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.88: Renaming with variables generates spaces

Post by xnview »

i think that the {EXIF:Model} of your picture contains spaces
Pierre.
mcbrx
Posts: 18
Joined: Mon Nov 06, 2017 1:03 pm

Re: 0.88: Renaming with variables generates spaces

Post 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.
User avatar
xnview
Author of XnView
Posts: 43326
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.88: Renaming with variables generates spaces

Post 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
Pierre.
User avatar
xnview
Author of XnView
Posts: 43326
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.88: Renaming with variables generates spaces

Post 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?
Pierre.
mcbrx
Posts: 18
Joined: Mon Nov 06, 2017 1:03 pm

Re: 0.88: Renaming with variables generates spaces

Post by mcbrx »

xnview wrote:could you send me a sample file?
Sure, in the attachment a smaller picture from my example above.
Attachments
POLY9851-1.jpg
POLY9851-1.jpg (88.12 KiB) Viewed 488 times
Post Reply