docs: @SuppressWarnings("deprecation")
      @Override
      public RenderedImage create(ParameterBlock paramBlock, RenderingHints renderHints) {
          ImageLayout layout = RIFUtil.getImageLayoutHint(renderHints);
  
          RenderedImage source = paramBlock.getRenderedSource(0);
          double scaleX = paramBlock.getDoubleParameter(0);
          double scaleY = paramBlock.getDoubleParameter(1);
  
          // Check and see if we are scaling by 1.0 in both x and y and no
          // translations. If so return the source directly.  
          if (scaleX == 1.0 && scaleY == 1.0) {
              return source;
          }
  
          return new LanczosOpImage(source, layout, renderHints, scaleX, scaleY);
      }