Idea: Port LogoManager into common library and use it inside MP2-Server plugin (3 Viewers)

Status
Not open for further replies.

offbyone

Development Group
  • Team MediaPortal
  • April 26, 2008
    3,989
    3,712
    Stuttgart
    Home Country
    Germany Germany
    So, progress on my end:
    I cleared the old DB and Logos we suggested for testing
    I added the Provider to the object model as an object attached to an Alias
    I wrote an importer for the mapping files
    I did the import of the German logos.

    So you should see them in MP2 now :)
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    Amazing, works perfectly! Entering a channel group and few seconds later you get the rendered logos :D
    Thanks! (I couldn't wait to test this, even before breakfast ;))
    10_results.jpg
    11_results.jpg
    12_results.jpg
     

    Vasilich

    Portal Pro
    August 30, 2009
    3,394
    1,170
    Germany, Mayence
    Home Country
    Russian Federation Russian Federation
    xaml is not a picture format,
    and SVG - good if you don't have gradients. Moreover, i haven't found any svg library that generates good PNGs - most of them are based on RSVG, that produces slightly less sharp images comparing to Inkscape.
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    One more question to the "raw" logo images: are they already padded to square images?

    For using 16:9 templates this would be bad, because resizing logic would make them smaller based on height limit. You see this issue in 1st screenshot above (DasErsteHD) and 3rd (Sat.1). While I have to adjust theme for better size constraints, the "padding" is still an issue.

    Or is there any "autocrop" routine, that crops the image to the non-transparent pixels only?
     

    offbyone

    Development Group
  • Team MediaPortal
  • April 26, 2008
    3,989
    3,712
    Stuttgart
    Home Country
    Germany Germany
    I only let the importer run, without checking the PNG if they are square. My question/suggestion would be:
    Imho, all images should have the same size and format (square, 512x512, png)? We can put the task on the user to create an image with this specification.
    I can enforce that in the importer and suggestion page.
     
    Status
    Not open for further replies.

    Users who are viewing this thread

    Top Bottom