Source language: Translate to:

fmGetItemThumbnail

Questions about our File Management and Internet FTP plug-in

fmGetItemThumbnail

Postby cp4w » Wed Nov 23, 2011 11:36 am

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?
cp4w
 
Posts: 533
Joined: Sun Apr 03, 2005 4:37 pm
Location: Great Neck, NY

Postby Neosoft Support » Wed Nov 23, 2011 1:22 pm

That's really strange. I'll look into it and see if I can duplicate the problem here.
NeoSoft Support
Neosoft Support
NeoSoft Team
 
Posts: 5602
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA

Postby phenix37 » Wed Nov 23, 2011 2:09 pm

Good evening,
I think for me, the thumbnail is correct.
It is the same in Windows Explorer.

Image
phenix37
 
Posts: 107
Joined: Thu Apr 20, 2006 6:31 pm

Postby cp4w » Wed Nov 23, 2011 3:42 pm

cp4w
 
Posts: 533
Joined: Sun Apr 03, 2005 4:37 pm
Location: Great Neck, NY

Postby cp4w » Thu Nov 24, 2011 9:40 pm

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
cp4w
 
Posts: 533
Joined: Sun Apr 03, 2005 4:37 pm
Location: Great Neck, NY

Postby phenix37 » Fri Nov 25, 2011 12:31 pm

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?
phenix37
 
Posts: 107
Joined: Thu Apr 20, 2006 6:31 pm

Postby Neosoft Support » Fri Nov 25, 2011 10:19 pm

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?
NeoSoft Support
Neosoft Support
NeoSoft Team
 
Posts: 5602
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA

Postby cp4w » Mon Nov 28, 2011 7:34 am

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.
cp4w
 
Posts: 533
Joined: Sun Apr 03, 2005 4:37 pm
Location: Great Neck, NY

Postby Neosoft Support » Mon Nov 28, 2011 12:27 pm

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.)
NeoSoft Support
Neosoft Support
NeoSoft Team
 
Posts: 5602
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA

Postby phenix37 » Mon Nov 28, 2011 1:33 pm

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
phenix37
 
Posts: 107
Joined: Thu Apr 20, 2006 6:31 pm

Postby cp4w » Mon Nov 28, 2011 6:56 pm

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.
cp4w
 
Posts: 533
Joined: Sun Apr 03, 2005 4:37 pm
Location: Great Neck, NY

Postby Neosoft Support » Tue Nov 29, 2011 12:32 pm

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.
Last edited by Neosoft Support on Thu Dec 08, 2011 4:44 pm, edited 1 time in total.
NeoSoft Support
Neosoft Support
NeoSoft Team
 
Posts: 5602
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA

Postby phenix37 » Fri Dec 02, 2011 11:23 am

good evening
The problem is solved for me.
thank you
phenix37
 
Posts: 107
Joined: Thu Apr 20, 2006 6:31 pm

Postby cp4w » Thu Feb 16, 2012 11:36 am

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.
cp4w
 
Posts: 533
Joined: Sun Apr 03, 2005 4:37 pm
Location: Great Neck, NY

Postby cp4w » Fri Feb 17, 2012 11:37 am

Any help with this ?
cp4w
 
Posts: 533
Joined: Sun Apr 03, 2005 4:37 pm
Location: Great Neck, NY

Next

Return to NeoBookFM/FTP

Who is online

Users browsing this forum: No registered users and 1 guest