docs: private void initCropArea() {
  
          if (isCropping()) {
              // crop area is set up correctly
              // adjust target image height or width if required
              if (m_width < 0) {
                  m_width = m_cropWidth;
              }
              if (m_height < 0) {
                  m_height = m_cropHeight;
              }
              if ((getType() != 6) && (getType() != 7) && (getType() != 8)) {
                  // cropping type can only be 6 or 7 (point cropping)
                  // all other values with cropping coordinates are invalid
                  setType(0);
              }
          }
      }