docs: @Override
      public ImageWrapper render() throws SimpleImageException {
          try {
              ImageWrapper imgWrapper;
              if (inStream == null) {
                  throw new SimpleImageException("No input set");
              }
  
              imgWrapper = ImageReadHelper.read(inStream);
  
              if (tosRGBColorSpace) {
                  for (int i = 0; i < imgWrapper.getNumOfImages(); i++) {
                      PlanarImage img = ImageColorConvertHelper.convert2sRGB(imgWrapper
                              .getAsPlanarImage(i));
                      imgWrapper.setImage(i, img);
                  }
              }
  
              return imgWrapper;
          } catch (Exception e) {
              throw new SimpleImageException(e);
          }
      }