Skip to main content
Participant
August 28, 2021
Question

Add Anchor Point Tool

  • August 28, 2021
  • 2 replies
  • 694 views

I am a 4th year IT student, and for my final year project I am making an image editor application using Machine Learning. So in my project I want to include Adobe Photoshop's Add Anchor Point Tool. So can anyone help me by guiding me that how I can train my ML mode using Anchor Points? And in the final output if the user want I can show him anchor points.

This topic has been closed for replies.

2 replies

Brad @ Roaring Mouse
Community Expert
Community Expert
August 29, 2021

These bezier curves are rooted in the core functionality that Illustrator introduced with it's very first version. Years later, this functionality carried over into PS. How bezier curves worked was linked to Postscript code, so you might want to see if you can find an old Postscript Reference Manual and bone up on the basics on how curves work there and the math involved in calculating the positions and vectors of control points. Postscript is less relevant this day and age (mostly replaced by the Portable Document Format), but would be useful in understanding the basics.

jane-e
Community Expert
Community Expert
August 29, 2021

@Brad @ Roaring Mouse wrote:

These bezier (sic) curves are rooted in the core functionality that Illustrator introduced with it's very first version.


 

Hi

 

To clarify, development of Illustrator began in 1985.

 

The curves were first developed years before in 1959 by Paul de Casteljau, and popularized by Pierre Étienne Bézier, French engineer, for designing automobiles when he worked for the Renault car company from 1933 to 1975. 

 

The curves are also used in many non-Adobe applications, such as CorelDRAW, QuarkXPress, and more.

 

Postscript (sic) is less relevant this day and age (mostly replaced by the Portable Document Format)...


PostScript is still relevant to some of us, especially for high-end printing. 😊

 

~ Jane

 

Brad @ Roaring Mouse
Community Expert
Community Expert
August 29, 2021

I'm with ya, Jane. I know that bezier curves are/have been everywhere, I have worked with all of these programs... and I still rely (and edit) on a PostScript workflow to this day, which is why I suggested the manual.. It might give the OP an insight in how to implement their own ideas.

jane-e
Community Expert
Community Expert
August 28, 2021

@Aryan5C34 wrote:

... I am making an image editor application ... I want to include Adobe Photoshop's Add Anchor Point Tool.


 

Are you saying you want to use Photoshop's proprietary source code for an image editor application you are developing?

 

Or do you have a question about how to use Photoshop that we can answer?

 

~ Jane

Aryan5C34Author
Participant
August 28, 2021

The 1st one but with the help of ML.

Aryan5C34Author
Participant
August 29, 2021

Adobe does not publish Photoshop Code.  Users here do not have access to Photoshop's source code. Have you look into Adobe's SDK for Photoshop to see it there any Api for adding  control points in a path in a plug-in. I would think that would requite changing some existing control points as well as adding the control point. it would not be a simple task.


I don't want the exact source code. I just want to understand the concept, how they were able to make such a feature. Because I also want to create a feature like that i.e. to get the curve/anchor points, but using Machine Learning.