Jump to content

Open and save image in Paint.net from c#


Recommended Posts

Is there a way to open an image in paint.net from a memory stream (or something similar) and when saved, send it back as a memory stream?

 

I want to use paint.net as an external editor for images in a winforms c# application but the images are stored in a database and instead of saving them to disk and pick them up when changed I would like to find a more elegant way to edit them. And of course because paint.net is a very good editor.

Link to comment
Share on other sites

Also, you can't bundle Paint.NET with your software. If the user already has it installed, great, go ahead and link up to it -- but you cannot bundle.

 

But yeah you'll only be able to save to a temporary file on disk and have Paint.NET open that. There's no IPC or other mechanism for getting an image into Paint.NET.

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

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...