Page 1 of 1

Video contact sheet: Thumbnail truncated

Posted: Wed Feb 27, 2008 6:07 pm
by helmut
When creating a video contact sheet (Create > Video thumbnail gallery...) with specific setting a thumbnail is truncated.

Settings used:
Width 1024
Columns: 2
Spacing: 0
Rows: 2

The video contact sheet generated contains 4 thumbnails which are all in a line. (Bug :bug: - should be two rows). The thumbnail at the very right is truncated, only about 10% of the thumbnail can be seen.

Re: Video contact sheet: Thumbnail truncated

Posted: Wed Feb 27, 2008 7:25 pm
by xnview

Posted: Mon Dec 01, 2008 6:18 pm
by Danny
This still doesn't work right as of v1.95.4.

Take a video of your choice and set the columns and rows fields to:
  • unequal values and
  • not the same as the video's aspect ratio
and chances are high, that there will be missing frames. For example:
  • contact sheet width: 1024
  • columns: 5
  • rows: 3
  • (video aspect: 4:3)
My guess is that there might be some rounding issues. As you can see in the image i've attached, the 2 missing screens at the end are sitting to the right, being truncated:


If you use the same value for columns and rows or the aspect ratio of the video (4 coumns and 3 rows) it'll fit - from what i've tested.

Posted: Tue Dec 16, 2008 3:58 pm
by Danny
So, has anyone tried this? Any confirmation?

I thought it through once more, and i'm pretty confident it's a rounding issue. If the result of the resizing procedure doesn't result in an integer, it'll be impossible to exactly fit the images into their place.

The procedure is probably just rounding, while it should always round up and then, at the end of it, crop the image to specified width, with top left alignment. It shouldn't end up with more than 2 pixels cropped ever. But there will be no more missing screenshots.

Re: Video contact sheet: Thumbnail truncated

Posted: Fri Jan 09, 2009 10:57 am
by xnview
Please try XnView 1.96 beta

Re: Video contact sheet: Thumbnail truncated

Posted: Sun Jan 25, 2009 1:33 pm
by Danny
xnview wrote:Please try XnView 1.96 beta
In beta2 there seem to be no more missing frames. Thanks for fixing that.