Skip to main content
Inspiring
May 10, 2013
Released

P: Gradient editor needs a few improvements

  • May 10, 2013
  • 98 replies
  • 4828 views

It is almost impossible to use the gradient editor to simulate blending between lights, because it draws a straight line through RGB space. It would be good to be able to select HSL and LAB colour spaces for the gradient editor, and it would be even better if you could make bezier curves through RGB space, like the free tool at http://www.foddy.net/2010/10/gentle-g... is pretty frustrating that there was more flexibility in Deluxe Paint IV's gradient tool 23 years ago than there is in Photoshop's gradient tool now.

98 replies

Herbert2001
Inspiring
November 27, 2015
I agree. There have been a number of other legacy issues which are perceived as features by Mr. Cox. At this point I feel they will never be addressed.
Herbert2001
Inspiring
November 27, 2015
In Photoline both linear and cubic interpolation are available for gradient stops. And both look great.

Krita and Gimp offer 5(!) different gradient interpolation methods - and for each gradient segment the interpolation method is independently controllable: linear, curved, sine, sphere increase, and sphere decrease.

I fail to understand why Photoshop's gradients are of such low quality in this day and age, and the only way to control the interpolation is to keep adding more and more stops. There is no need. Mr. Cox mentioned the code behind the gradient interpolation stems from version 5?

Well, about time for an update then. I submit that this thread has conclusively identified an issue with gradient quality in Photoshop, and it is time for Mr. Cox to admit that this ought to be addressed and improved.
bennettf96052341
Participating Frequently
November 27, 2015
For example, here's an simple interpolation that DOES hit the exact same color stops, but has a continuous derivative

Inspiring
November 27, 2015
It already has a continuous derivative (assuming you set it to 100% smoothness), it just isn't as smooth as an approximating spline.
bennettf96052341
Participating Frequently
November 27, 2015
No I get that you need to hit the color stops, that makes complete sense. But It would be easy enough to construct a spline that hits all the stops and has a continuous derivative, right?
Inspiring
November 27, 2015
We use a very standard interpolating cubic spline. We need to interpolate the color stops, not just approximate them.
bennettf96052341
Participating Frequently
November 27, 2015
Yes, it is technically true that a piecewise cubic spline interpolation with discontinuous derivatives can have corners. Is there some reason why you prefer to use an interpolation with discontinuous derivatives? The only reason I can think of is that you're trying to avoid the curve overshooting the edges of the RGB cube and 'clipping'. But the price is that your gradients are not remotely smooth even when the RGB line goes nowhere near the boundaries.
Inspiring
November 27, 2015
Again, an interpolating cubic spline can have some corners when it hits the control points.
It looks like your "smooth" test isn't hitting the control points and just approximating them instead (which gets a smoother curve, but not the colors you specified).
bennettf96052341
Participating Frequently
November 27, 2015
Like I said, it was a quick test. If you really need further convincing I can make you a version where the color stops are exactly identical, but the point here is that there should not be a discontinuity in the Photoshop gradient no matter what the colors are.

And yes, I *do* have it set to 100% smoothness.
Inspiring
November 27, 2015
Change Photoshop's smoothness to zero and you get a linear interpolation.

Yes, cubic splines that interpolate (not approximate) can have corners where they intersect the control points. Your "smooth" gradient doesn't even have the same magenta color you selected in Photoshop or Illustrator.