- Moderator
- #241
auto reply :
const bool preserveAspectRatio = true;
your test is on source logo 200x200 ???
const bool preserveAspectRatio = true;
your test is on source logo 200x200 ???
Last edited:
i have tested it on all possible sources, with different sizes and aspect ratios.your test is on source logo 200x200 ???
don't get a word from the sentences above, sorry. Can you rephrase it?this is what i mean, for logo source aspect ( @vuego : what do you think ) same aspect for all repo, and as vuego say, the background effect is applyed with your plugin. but we must add an space blank, set to 10 pixel for information (not optimized ). before, depend on repo style ( maybe add inside LogoManager.config an node "cropped style" )
Yes. But as wildcards are not supported, I recommend to set max value to resolution of your background:if logo X = 210 > 200 OR Y = 170 > 150 = Resizing from the more restrictive
<effect enabled="yes" type="resize" minX="200" maxX="*" resizedX="200" minY="150" maxY="*" resizedY="150" />
the result should be 184x150p ?
<effect enabled="yes" type="resize" minX="200" maxX="200" resizedX="200" minY="150" maxY="150" resizedY="150" />
yes, with same notes as i did above for wildcards. And for squared background (i.e. width=height) you also can use simplified settingsfor use 200x200 background size. can i do the next setting ? if logo X = 210 > 200 OR Y = 170 > 200 = Resizing from the more restrictive
<effect enabled="yes" type="resize" minX="200" maxX="*" resizedX="200" minY="200" maxY="*" resizedY="200" />
the result should be 200x162p ?
<effect enabled="yes" type="resize" minXY="200" maxXY="200" resizedXY="200" />