code: public void setInterpolation(Interpolation value) {
          Object old = getInterpolation();
          this.interpolation = value == null ? Interpolation.NearestNeighbor : value;
          if (old != value) setDirty(true);
          firePropertyChange("interpolation", old, getInterpolation());
      }
docs: Sets a new value for the interpolation setting. This setting determines if interpolation
  should be used when drawing scaled images. @see java.awt.RenderingHints.KEY_INTERPOLATION.
  @param value the new interpolation setting