public static Image createFrom(@NotNull Image image) {
    Component component = RetinaImage.component.get();
    int w = image.getWidth(component);
    int h = image.getHeight(component);
    return new HiDPIImage(image, w / (double)2, h / (double)2, BufferedImage.TYPE_INT_ARGB);
  }
public static Image createFrom(@NotNull Image image)