Page 1 of 2

fmGetItemThumbnail

PostPosted: Wed Nov 23, 2011 11:36 am
by cp4w
When using this plug-in on windows7 to get the thumbnail for the sample video file, (that comes with windows 7), located public sample videos folder named wildlife.wmv the thumbnail gets created upside down.

Can you please look into this?

PostPosted: Wed Nov 23, 2011 1:22 pm
by Neosoft Support
That's really strange. I'll look into it and see if I can duplicate the problem here.

PostPosted: Wed Nov 23, 2011 2:09 pm
by phenix37
Good evening,
I think for me, the thumbnail is correct.
It is the same in Windows Explorer.

Image

PostPosted: Wed Nov 23, 2011 3:42 pm
by cp4w

PostPosted: Thu Nov 24, 2011 9:40 pm
by cp4w
Just to say that it is happening quite often now where the thumbnail is upside down for many different thumbnails. It does seem somewhat sporadic though.

Just a little more information that this is happening in a windows 7 64 bit environment

PostPosted: Fri Nov 25, 2011 12:31 pm
by phenix37
shx wrote:Just to say that it is happening quite often now where the thumbnail is upside down for many different thumbnails. It does seem somewhat sporadic though.
Just a little more information that this is happening in a windows 7 64 bit environment

I use Windows 7 32bit whit Nvidia Gforce 9600GT.
Perhaps this comes from the CODEC or DRIVER?

PostPosted: Fri Nov 25, 2011 10:19 pm
by Neosoft Support
Just to say that it is happening quite often now where the thumbnail is upside down for many different thumbnails. It does seem somewhat sporadic though.


So sometimes the thumbnail is right side up and sometimes it's upside down?

Are all of the files WMV or does it happen with other formats?

Are the thumbnails also upside down in Windows Explorer?

Do the upside down videos play right side up in Windows Media Player?

Have you installed any new video codecs recently?

PostPosted: Mon Nov 28, 2011 7:34 am
by cp4w
Hello Dave,

I tested this problem extensively and this is what I have found.

On a clean right out-of-the-box Windows 7 64-bit HP computer the plug-in does not work. The thumbnail is created upside down. Nothing was installed on this computer, it was taken right out of the box, and the first thing that was done was testing this plug-in.

I also tested the plug-in on a Windows 7 32 bit computer that has been in use. It also turned the thumbnail upside down.

The only environment that I found working was the XP environment that I started out with.

I tested JPEG as well as PNG and both of them were turned upside down.

The thumbnails display properly in windows explorer.

Originally, when I said that it's sporadic, I must've meant and seen that in the XP environment the works and the others it does not.

I would appreciate your help in this matter. It is important to me.

PostPosted: Mon Nov 28, 2011 12:27 pm
by Neosoft Support
Does it make any difference if you save the thumbnails in png or bmp format?

What's the physical size of the thumbnails you're creating?

Do the thumbnails display correctly in the FM/FTP file list? (For example if you run the sample File Manager pub and choose "Thumbnails" from the View menu.)

PostPosted: Mon Nov 28, 2011 1:33 pm
by phenix37
I just did the test and the bmp file is upside down
but not png
Image
I made the test with different sizes
the results are similar
the thumbnails display correctly in the FM/FTP file list

PostPosted: Mon Nov 28, 2011 6:56 pm
by cp4w
Here are my latest results.

PNG seems to work OK.

JPG turns the thumbnails upside down just like BMP.

Thumbnails display correctly in the FM/FTP file list.

PostPosted: Tue Nov 29, 2011 12:32 pm
by Neosoft Support
Download NeoBookFM/FTP v1.2a to correct this problem:

http://www.neosoftware.com/neobook/modules/plugins/singlefile.php?cid=12&lid=131

You might expect that a bitmap would be stored in memory so that the top row of the image appeared at the beginning, followed by the next row, and so on. However, Windows can store bitmaps as either top-down or bottom-up. In a bottom-up bitmap, the image data starts with the bottom row of pixels, followed by the next row up, and so on. The top row of the image is actually the last row.

The problem encountered by users here was that BMP thumbnails were not being saved with the correct header under Windows 7. The header indicated that the bitmap was top-down when it should have been bottom-up (a Delphi bug) causing it to display upside-down.

PostPosted: Fri Dec 02, 2011 11:23 am
by phenix37
good evening
The problem is solved for me.
thank you

PostPosted: Thu Feb 16, 2012 11:36 am
by cp4w
another form of this problem has reared its ugly head.


With the latest patch applied v1.2a, I have found that thumbnails fail in windows xp when creating png thumbnail files. It works for creating bmp or jpg thumbnail files.

This is true whether the source is jpg, png or bmp.

PostPosted: Fri Feb 17, 2012 11:37 am
by cp4w
Any help with this ?