LogoManager 1.0.0.3 [27-11-2022] (9 Viewers)

Vasilich

Portal Pro
August 30, 2009
3,394
1,170
Germany, Mayence
Home Country
Russian Federation Russian Federation
this is for reduce only ?
no, not only for reducing. Effect's name is "resize", not "reduce" :) that is why there are 2 settings - min and max. so for above settings if image is smaller than 200x150 it will be enlarged (respecting image aspect ratio)
 

azzuro

Test Group
  • Team MediaPortal
  • May 10, 2007
    9,984
    5,663
    France - IDF
    Home Country
    France France
    Eh Vasilich
    the resize working very fine ( reduce and enlarge ) (y)
    i have tested with logo no resized from here : http://logo-france-mediaportal.googlecode.com/svn/trunk/TEST/ (510px) and croppred to logo draw.
    Very thank you for this !!!! (also Edalex)
    i have do small screenshot but i can't upload it on forum yet ... https://www.dropbox.com/sh/v7hzhs9kgmxq61a/DwLOXY0sgs

    this is my setting inside design
    XML:
      <effects>
         <!-- glow: blurred glow effect around the clear logo.
               radius - blurred width of glowing underlayer [integer 1..20];
               lightness_threshold - value of clear logo image lightness (only pixels with alpha > 127 will be taken in count) [float0.0..1.0];
               active_part - for what part of lightness range will be generated effect ["above" ( Au-dessus ) or "below" (En-dessous)].
                      e.g. if lightness_threshold="0.5" and active_part="above"  then effect will be generated
                      for all logos with lightness values above 0.5
         -->
         <effect enabled="yes" type="glow" radius="10" color="Cornsilk" lightness_threshold="0.4" active_part="below" />
         <effect enabled="yes" type="glow" radius="10" color="FloralWhite" lightness_threshold="0.4" active_part="above" />
    
         <!-- outerglow: blurred contour effect around the clear logo.  
               width - width of contour around the non-transparent part of clear logotype [integer 1..5];
               transparency - transparency of that blurred contour [float 0.0..1.0];
               lightness_threshold and active_part - same as in glow effect.
         -->
    <!-- White border on Black logo -->
         <effect enabled="yes" type="outerglow" width="1" color="GhostWhite" transparency="0.9" lightness_threshold="0.4" active_part="below" />  
    <!-- Black border on White logo -->
         <effect enabled="yes" type="outerglow" width="1" color="DarkGray" transparency="0.9" lightness_threshold="0.4" active_part="above" />    
    
         <!-- resize: resize logo image if necessary. Will be done in such way that whole logo should be visible in resulting image.
               minX - minimal logo image width for that no resize will be taken;
               maxX - maximal logo image width for that no resize will be taken;
               resizedX - new width value that logo image will be scaled to, if (Minx <= image Width <= MaxX) == false;
               MinY, MaxY, resizedY - same as above, but for image height;
               MinXY, MaxXY, resizedXY - same as above but for any dimension (width or height);
             It makes sense to use either set of (MinX + MaxX + resizedX + MinY + MaxY + resizedY) or (minXY + maxXY + resizedXY).
         -->
         <effect enabled="yes" type="resize" minX="170" maxX="170" resizedX="170" minY="130" maxY="130" resizedY="130" />
         <effect enabled="no" type="resize" minXY="160" maxXY="200" resizedXY="200" />

    i can't use 2 settings for Glow and outerglow, set on lightness_treshold. can you do this ?
    or adapt it for have Min_value max_value for each line.

    XML:
     <effect enabled="yes" type="glow" radius="14" color="Cornsilk" Min_lightness_threshold="0.00" Max_lightness_threshold="0.40" />
            <effect enabled="yes" type="glow" radius="14" color="FloralWhite" Min_lightness_threshold="0.40" Max_lightness_threshold="1.00" />

    The screenshot series 1.4 are with the set above
     
    Last edited:

    azzuro

    Test Group
  • Team MediaPortal
  • May 10, 2007
    9,984
    5,663
    France - IDF
    Home Country
    France France
    PS : when logo are already mapped in source folder, if we change the package source,they are not overwritten.

    PS 2: the 4/3 logo format is very beautifull :p ( also in Default Wide, was not supported in MP 1.2 )
     

    Edalex

    Community Plugin Dev
  • Premium Supporter
  • January 3, 2008
    2,959
    1,270
    Saratov
    Home Country
    Russian Federation Russian Federation
    PS : when logo are already mapped in source folder, if we change the package source,they are not overwritten.
    Why should it? It will be overwritten only if new file is newer I think.
     

    azzuro

    Test Group
  • Team MediaPortal
  • May 10, 2007
    9,984
    5,663
    France - IDF
    Home Country
    France France
    only if new file is newer I think.
    yes, for the same package. but maybe you are right if user want save logo used , because like it ! , if one logo with the same name is bad instead of logo downloaded. it's very bad. and vive verca, if one guys doesn't like logo downloaded (from Package 1), and want the same logo name from Package 2.
    it can't because, source files are not overwritten !
    what do you think : for have the grabbed logos inside %temp% folder, and ask user if want overwritten existing files (only if new logos are downloaded from other package ).
    maybe you don't understand me ... and i understand why ! :ROFLMAO:
     

    Users who are viewing this thread

    Top Bottom