widescreen fanart in 4:3 skin (1 Viewer)

2BitSculptor

Super Moderator
  • Team MediaPortal
  • January 23, 2008
    2,007
    1,052
    South Central Wisconsin
    Home Country
    United States of America United States of America
    How does one change an xml get an alternate background image, say a fanart image, to display in only a portion of the screen, and not stretch to fill the whole screen. I want to get a widescreen format image to display in correct aspect in a 4:3 skin. I will add an additional apha layered image to fill the extra portion of the screen and hide the exposed edge of the fanart image.

    or, as another thought, display full height of the screen and scroll side to side from off screen (with correct aspect)... or crop left /right ends to fill center.

    So fanart can be used without additional edditing/cropping to fit the 4:3 skin.

    Thanks...

    Chuck
     

    Helios61

    Retired Team Member
  • Premium Supporter
  • January 30, 2008
    4,586
    875
    64
    NRW
    Home Country
    Germany Germany
    I heve changed some xml Files from Purevision 4:3 1

    Try this!
    <control>
    <description>fanart</description>
    <type>image</type>
    <id>1000</id>
    <posX>0</posX>
    <posY>0</posY>
    <width>720</width>
    <height>576</height>
    <texture>\FanArt music\#Play.Current.Artist.png</texture>
    <animation effect="fade" time="400">WindowClose</animation>
    <animation effect="fade" time="400">WindowOpen</animation>
    </control>

    Best regards
    Helios
     

    2BitSculptor

    Super Moderator
  • Team MediaPortal
  • January 23, 2008
    2,007
    1,052
    South Central Wisconsin
    Home Country
    United States of America United States of America
    • Thread starter
    • Moderator
    • #3
    I heve changed some xml Files from Purevision 4:3 1

    Try this!
    <control>
    <description>fanart</description>
    <type>image</type>
    <id>1000</id>
    <posX>0</posX>
    <posY>0</posY>
    <width>720</width>
    <height>576</height>
    <texture>\FanArt music\#Play.Current.Artist.png</texture>
    <animation effect="fade" time="400">WindowClose</animation>
    <animation effect="fade" time="400">WindowOpen</animation>
    </control>

    Best regards
    Helios

    Thanks for your reply :)

    A few questions for clarification:
    - Does image keep correct aspect?
    - Does image display at top of frame, or center?
    - Is image cropped or does it resize to fit width of frame?

    Thanks

    Chuck
     

    Helios61

    Retired Team Member
  • Premium Supporter
  • January 30, 2008
    4,586
    875
    64
    NRW
    Home Country
    Germany Germany
    Hello Chuck!

    I hope these images can answer your question!

    1. Screenshot MP!



    2. Original!



    Best regards
    Helios
     

    2BitSculptor

    Super Moderator
  • Team MediaPortal
  • January 23, 2008
    2,007
    1,052
    South Central Wisconsin
    Home Country
    United States of America United States of America
    • Thread starter
    • Moderator
    • #5
    Yes, that answered my question.

    The image is stretched to fit the screen. This image fit it isn't noticed much because the screen is squashed to fit a 4:3 display. The image is already a 4:3 proportion. A widescreen image would be stretched too much to fit top to bottom and would loose it's proper proportions.

    An actual 4:3 screen would be 720x540 (or 640x480, 800x600, 1024x768) instead of 720x576 (which is based on PAL analog TV overscan) which would be comparable to a 640x512, 800x640 or 1024x819 pixel image, if it were not squashed to 4:3.

    At least digital widescreens are pretty standard worldwide, as opposed to the differences between PAL and NTSC, which may be the cause of the offset discrepancy (for NTSC 4:3 TVs) between the cover art and the frame when zooming the focus in filmstrip view.

    regards

    Chuck
     

    jburnette

    Portal Pro
    August 24, 2006
    758
    116
    Kentucky
    Home Country
    United States of America United States of America
    How about trying adding the following to the image control:

    <keepaspectratio>yes</keepaspectratio>
    <centered>yes</centered>
     

    Users who are viewing this thread

    Top Bottom