BufferedImage (@Nullable Icon icon) { if (icon == null || icon.getIconHeight() <= 0 || icon.getIconWidth() <= 0) { return null; } final float fMulX = getIconScaleForTouchbar(icon); return _getImg4ByteRGBA(icon, fMulX); }