Image (@Nullable Image image, @NotNull ScaleContext context, double userWidth, double userHeight) { if (image == null) { return null; } if (StartupUiUtil.INSTANCE.isJreHiDPI(context)) { return new HiDPIImage(image, userWidth, userHeight, BufferedImage.TYPE_INT_ARGB); } return image; }