code: function glk_image_get_info(imgid, widthref, heightref) {
      if (!GiLoad || !GiLoad.get_image_info)
          return null;
  
      var info = GiLoad.get_image_info(imgid);
      if (info) {
          if (widthref)
              widthref.set_value(info.width);
          if (heightref)
              heightref.set_value(info.height);
          return 1;
      }
      if (widthref)
          widthref.set_value(0);
      if (heightref)
          heightref.set_value(0);
      return 0;
  }
docs: /* Graphics functions.