widelands-dev team mailing list archive
-
widelands-dev team
-
Mailing list archive
-
Message #01852
Re: [Merge] lp:~widelands-dev/widelands/buildicon_playercolors into lp:widelands
I think resizing with keeping the aspect ratio is the way to go. The menu pictures we have right now have been created in the same way. Basically something like:
double ratio = 32. / std::max(image_w, image_h);
resize(image_w * ratio, image_h * ratio);
--
https://code.launchpad.net/~widelands-dev/widelands/buildicon_playercolors/+merge/211184
Your team Widelands Developers is subscribed to branch lp:~widelands-dev/widelands/buildicon_playercolors.
References