public static @Nullable Image convert(Image jbImage) {
      if (jbImage instanceof JBHiDPIScaledImage scaledImage) {
        Image lowResImage = ImageUtil.toBufferedImage(scaledImage, true);
        Image highResImage = ImageUtil.toBufferedImage(scaledImage);
        return new BaseMultiResolutionImage(lowResImage, highResImage);
      }
      return jbImage;
    }
public static @Nullable Image convert(Image jbImage)