Jump to content

FileType plug-ins that load or save multiple documents?


evanolds

Recommended Posts

Does there currently exist, or are there plans to have, any sort of interface that allows for the development of a file-type plugin that can load or save multiple documents at once? I could sure use this for my icon loading/saving plugin :)

There are no warranties whatsoever on my plug-ins. Use them at your own risk. You may redistribute them if you'd like, but I'd prefer you just link to the download on my site. Please do not modify and redistribute.

Link to comment
Share on other sites

You could, in theory, append strings to the filename the user gave and make more files in the same dir (don't leave the user-specified file empty, though!), but in practice, Rick might kill you.

xZYt6wl.png

ambigram signature by Kemaru

[i write plugins and stuff]

If you like a post, upvote it!

Link to comment
Share on other sites

The FileType class gives you a Stream because it expects you to use only that for saving/loading.

What you need for icon saving/loading is the ability to open multiple workspaces associated with the same filename and save command, and to be able to group them together (logically and visually). Paint.NET just isn't made for that.

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