function scaleForSize(size) {
  return 32 / Math.min(size[0], size[1]);
}
Function that returns the scale needed to normalize an icon image to 32 pixels.
@param {import("../size.js").Size} size Image size.
@return {number} Scale.