| |||||||
| General Support Post problems you have when using MediaPortal, or pre installation questions in here. |
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Portal Member Join Date: Feb 2007 Age: 27
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Country: | MediaPortal Version: 0.2.2 MediaPortal Skin: PM3 Windows Version: XP MCE CPU Type: P4 2.4 HDD: Memory: Motherboard: Motherboard Chipset: Motherboard Bios: Video Card: Video Card Driver: Sound Card: Sound Card AC3: Sound Card Driver: 1. TV Card: 1. TV Card Type: 1. TV Card Driver: 2. TV Card: 2. TV Card Type: 2. TV Card Driver: 3. TV Card: 3. TV Card Type: 3. TV Card Driver: 4. TV Card: 4. TV Card Type: 4. TV Card Driver: MPEG2 Video Codec: MPEG2 Audio Codec: Satelite/CableTV Provider: HTPC Case: Cooling: Power Supply: Remote: TV: TV - HTPC Connection: Hi! I'm trying to organize my movies so they can easily be browsed in "share" view. I tried to approaches. In the first, I put each movie in a folder and use a folder.jpg to get the cover art : \Movies\Ice Age\folder.jpgIn the second approach, I put all my movies in the same folder. For each movie, I have a .tbn file : \Movies\Ice Age.aviIn both cases, the thumbnails gets resized differently. When I use a folder.jpg, the covers are resized properly and the complete cover art is visible in the thumbnail. When I use a .tbn file, the cover is resized AND cropped so I lose about 1/3 of the cover. I seems the .tbn resize procedure uses the shortest dimension (x or y) in order to compute the scale ratio. Please see attached screenshot. Why is that ? Shouldnt thumbnails gets resized the same way ??? Mat EDIT : This only happens in Filmstrip and List view. The small and big icon views are OK. EDIT #2 : I dug in the code. In GUIFilmstripControl.cs, you can see that the thumbnail will be cropped if it is NOT a folder. So the problem is not related to the thumbnail format, but that fact that it is a folder or not. Why is that ? Code: 502 pImage = new GUIImage(0, 0, ...); 503 pImage.ParentControl = this; 504 pImage.KeepAspectRatio = true; 505 pImage.ZoomFromTop = !pItem.IsFolder; 506 pImage.FlipX = _flipX; 507 pImage.FlipY = _flipY; 508 pImage.DiffuseFileName = _diffuseFileName; 509 pImage.SetAnimations(ThumbAnimations); 510 pImage.AllocResources(); Last edited by bleubleu; 2007-03-08 at 21:00. |
| | |
![]() |
| Bookmarks |
| Tags |
| folderjpg, resizing, tbn, thumbnail |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Movie thumbs (folder.jpg) | emphatic | MediaPortal 1 Talk | 3 | 2007-02-27 15:40 |
| Folder.jpg in my videos | juandionis | General Support | 6 | 2007-01-04 22:02 |
| MYPictures and Folder.jpg | krl69 | General Support | 7 | 2006-11-10 15:07 |
| High CPU usage when trying to read tbn-file without any rights/access/owners | chefkoch | 0.2.0.0 Final and SVN Builds | 4 | 2006-10-11 20:13 |
| Disable folder.jpg thumbnail creation for picture folders? | thorazine | General Support | 0 | 2006-01-12 20:02 |