1.95: Creating strip images: Wrong cropping with spacing

Bugs found in XnView Classic. Please report only one bug per topic!

Moderators: helmut, XnTriq, xnview

Post Reply
User avatar
Peter2
XnThusiast
Posts: 1365
Joined: Thu Nov 24, 2005 3:07 pm
Location: CH

1.95: Creating strip images: Wrong cropping with spacing

Post by Peter2 »

A bug (or a function which I don't understand?), already existing in older versions:

***************************************
Edit - maybe I had a confusion between 1.94 and 1.95B2. It seem to work in 1.95, but I will not erase the posting because there seem to be another problem (see following):
I you create a "strip of images" with spaces between the columns, there seem to be a problem with calculating the width of images and spaces.

Example 1:
Take 50 images, each 5 cm wide, and "10 thumbs per row" - everything OK, you will see 10 images.

Example 2:
Take 50 images, each 5 cm wide, "10 thumbs per row" and "spacing 10 (or 20 or ...)" - you can see that the last thumb does not fit to the new image strip, because the spaces push it outside.

See here:
http://img504.imageshack.us/img504/2020 ... ionyc8.png

***************************************

Question or bug?
If I select "automatically adjust width and height" and use spaces the result is:
The first thumb starts at the left border - then come the spaces and next thumbs - the image ends with a small space at the right border.

Is this correct? Either it should fit the whole row in the image and has no space at left and at right border - or it place the same space at left and right. But now the result is a little bit confusing.
http://img516.imageshack.us/img516/3870 ... on2jw2.png

Peter
XnViewMP <Current version> German, XnConvert <Current version>, Win 10
User avatar
xnview
Author of XnView
Posts: 46362
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Creating strip images: Wrong cropping with spacing

Post by xnview »

Will be fixed in 1.95 (beta 3)
Pierre.
User avatar
Peter2
XnThusiast
Posts: 1365
Joined: Thu Nov 24, 2005 3:07 pm
Location: CH

Additional aligment functions

Post by Peter2 »

BTW - the positioning (horizontal and vertical) in offers a lot of combination:

e.g. Fixed width of the final image:
- fit to width and scale the size of the thumbs
- fit to width, fixed spaces and scaled thumbs
- fit to width, fixed thumbs and scaled spaces
- fit to width, fixed spaces between and fixed spaces left and right and scaled thumbs
- fixed width, fixed thumbs, fixed spaces and centre alignment in the picture (equal, large spaces left and right)
.......

Peter
XnViewMP <Current version> German, XnConvert <Current version>, Win 10
User avatar
Peter2
XnThusiast
Posts: 1365
Joined: Thu Nov 24, 2005 3:07 pm
Location: CH

Re: Creating strip images: Wrong cropping with spacing

Post by Peter2 »

xnview wrote:Will be fixed in 1.95 (beta 3)
Not fixed now (Beta 3).

Peter
XnViewMP <Current version> German, XnConvert <Current version>, Win 10
User avatar
xnview
Author of XnView
Posts: 46362
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Creating strip images: Wrong cropping with spacing

Post by xnview »

Peter2 wrote:
xnview wrote:Will be fixed in 1.95 (beta 3)
Not fixed now (Beta 3).
You have the same result????
Pierre.
User avatar
Peter2
XnThusiast
Posts: 1365
Joined: Thu Nov 24, 2005 3:07 pm
Location: CH

Re: Creating strip images: Wrong cropping with spacing

Post by Peter2 »

Hello Pierre

maybe there is a confusion what we are talking about, but ...
Peter2 wrote:...Question or bug?
If I select "automatically adjust width and height" and use spaces the result is:
The first thumb starts at the left border - then come the spaces and next thumbs - the image ends with a small space at the right border.
...
... still exists.

And
"Creating strip images: Wrong placement of lines"
http://newsgroup.xnview.com/viewtopic.php?t=16031
still exists too.

Peter
XnViewMP <Current version> German, XnConvert <Current version>, Win 10
User avatar
Peter2
XnThusiast
Posts: 1365
Joined: Thu Nov 24, 2005 3:07 pm
Location: CH

automatically adjust height or width

Post by Peter2 »

Next confusion:

I select
- 200 images (each 1 x 1 cm)
- "Mosaic"
- 10 per row
- spacing v and h = 10
- 50 cm wide
- 100 cm height

and "create a strip".

And there is no difference if I enable or disable "automatically adjust height or width" - in both cases the thumbs of the images are scaled to approx. 5 x 5 cm.

Peter
XnViewMP <Current version> German, XnConvert <Current version>, Win 10
User avatar
xnview
Author of XnView
Posts: 46362
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Creating strip images: Wrong cropping with spacing

Post by xnview »

Peter2 wrote:maybe there is a confusion what we are talking about, but ...
Peter2 wrote:...Question or bug?
If I select "automatically adjust width and height" and use spaces the result is:
The first thumb starts at the left border - then come the spaces and next thumbs - the image ends with a small space at the right border.
...
... still exists.
I can't confirm, could you send me the sample image used?
Pierre.
User avatar
Peter2
XnThusiast
Posts: 1365
Joined: Thu Nov 24, 2005 3:07 pm
Location: CH

Post by Peter2 »

I sent it per mail.

Peter
XnViewMP <Current version> German, XnConvert <Current version>, Win 10
User avatar
helmut
Posts: 8704
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Post by helmut »

Is this problem resolved in 1.95 final?
User avatar
Peter2
XnThusiast
Posts: 1365
Joined: Thu Nov 24, 2005 3:07 pm
Location: CH

Re: 1.95: Creating strip images: Wrong cropping with spacing

Post by Peter2 »

Result in 1.95.4:
Peter2 wrote:...
Example 2:
Take 50 images, each 5 cm wide, "10 thumbs per row" and "spacing 10 (or 20 or ...)" - you can see that the last thumb does not fit to the new image strip, because the spaces push it outside.

See here:
http://img504.imageshack.us/img504/2020 ... ionyc8.png[/color]
This seem to be my fault - it is not possible to press "10 images plus spaces" without scaling in a limited paper size ...

Peter2 wrote:...Question or bug?
If I select "automatically adjust width and height" and use spaces the result is:
The first thumb starts at the left border - then come the spaces and next thumbs - the image ends with a small space at the right border.

Is this correct? Either it should fit the whole row in the image and has no space at left and at right border - or it place the same space at left and right. But now the result is a little bit confusing.
http://img516.imageshack.us/img516/3870 ... on2jw2.png
The small border on the right side still appears.

Peter
XnViewMP <Current version> German, XnConvert <Current version>, Win 10
Post Reply