Module specific icons/metadata in mm

Since we are going Tango, I guess we need provision for 4 icons:

Large (48x48)
Medium (32x32)
Small (22x22)
Extra Small (16x16)

Any icon not defined to be generated by scaling down the next larger size. I’m thinking perhaps we also need an Extra Large, perhaps 100x100 or even larger, enough to show a boardgame box cover nicely?

B.

Thus spake “Brent Easton”:

The other “size” should really be SVG, for display in places like the
Mac dock and by Compiz. If it has to be a bitmap, then it should
be 128x128, I think.


J.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

Thus spake Joel Uckelman:

Also, we can create missing icons on the fly by scaling, though they
won’t look as nice that way.


J.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

Any of the icons could potentially by SVG? Though the two small ones will probably not look good. I agree, the extra large should be preferably be SVG, but that’s up to the module designed. Anything large than 128x128 we scale down to have a maximum height or width of 128.

B.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

Thus spake “Brent Easton”:

No, the SVG one is size-independent. All of the ones with a given size
are bitmaps.


J.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

Will a single SVG image that looks good at 32x32 also look good at 16x16? Even when using SVG images, I had imagined that you may have a special image for the 16x16 icon. The Tango implementation guide suggests this is common.

I had imagined that we have the 5 different icon slots and if you have one SVG that does all of them, you just put it in each slot. Or just in the largest slot and leave the smaller slots null. Any empty slot, we look to the next largest available icon and scale it down.

Also, just because we tell people to put in a 32x32 or 128x128 icon doesn’t mean they will. For non-SVG’s we will need to check the actual size of the icon and adjust it accordingly.

B.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

Thus spake “Brent Easton”:

That’s exactly the reason for having small bitmaps instead of rasterizing
the SVG at those sizes.

Yes, the latter is what I was thinking.


J.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)