Code review comment for lp:~widelands-dev/widelands/buildicon_playercolors

Revision history for this message
SirVer (sirver) wrote :

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);

« Back to merge proposal