Jump to content

Embed Paint.Net in an HMI app with Limited Features


Recommended Posts

I am Systems Integrator for Manufacturing clients.  My current project is to create an HMI for a part testing station.  I would like to include Paint.NET in my HMI so operators can pull up a 2D picture of a part and simply insert a mark/shape at points of failure, then save the picture to the part SQL database.

 

Main Question....Is there a way, via .NET scripting, to open a base picture file, then pre-select a shape to mark with?  I want to make this interface as simple as possible.

 

Once the operator finishes marking the picture, they will save the file to the SQL record.  

 

I hope this makes sense.

Link to comment
Share on other sites

48 minutes ago, tdcolumbia said:

... so operators can pull up a 2D picture of a part and simply insert a mark/shape at points of failure ...

 

Paint.NET is not designed for that kind of thing.

 

Take a look at these projects instead:

https://github.com/SixLabors/ImageSharp

https://github.com/mono/SkiaSharp

(September 25th, 2023)  Sorry about any broken images in my posts. I am aware of the issue.

bp-sig.png
My Gallery  |  My Plugin Pack

Layman's Guide to CodeLab

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...