code: public void onResetSize() {
  
          String restrictionKey;
          if (m_formats.containsKey(DefaultRestriction.original.name())) {
              restrictionKey = DefaultRestriction.original.name();
          } else {
              restrictionKey = m_formats.keySet().iterator().next();
          }
          m_formatForm.setFormatSelectValue(restrictionKey);
          m_croppingParam.reset();
          onFormatChange(restrictionKey);
      }
docs: Execute to reset image format and size input.<p>