I want to create a linear black->white gradient that goes exactly from one point to another, e.g. (320,500) to (600,500) in Photoshop 22.4.3 on Windows. I know you can make a gradient by dragging between two points with the gradient tool, but I need to position these two points accurately. How do I do this?
It seems you need to do that by script. Probably someone willing will help you soon.
Use the guides to mark the coordinates you want. With the wiev -> Snap to -> Guides option enabled, select the Gradient tool, hold down the Shift key and draw a straight line from guide to guide
P.S. the coordinates of the guides are easy to control using the info panel
You mean clicking on rulers most top left point and dragging it to somewhere on canvas? It determines only first pont to start gradient from, so can you show me what you exactly mean, maybe by screenshot? Than You.
There are a number of uncertainties in the author's question. If the coordinates are specified as (X, Y), then it is not entirely clear what the Y coordinate is for (gradient fills the entire working area). If the gradient needs to be of a certain thickness, then it is easy to constrain the selection.
You original answer was edited after already I asked, but I imagined you probably think of that you showed on the video, however before correction that wasn't clear yet for me yet 😉
I constantly confuse rulers and guides 🙂
You know that is probably the best way to do it. Totally agree with Jazz-y on this.