Jump to content

Template?


Recommended Posts

Anyone have a template for writing file type effects?

I've been reading the sources of file types that I could find. There aren't many that I could find. And, the built-in file types seem to be written differently than the external ones... what else is required?

I tried to write a file type and it won't show up in the list. What is the minimum amount of code I need to get my file type to show up in the list?

Help! I'm confused.

If only there was a manual... :D

Link to comment
Share on other sites

You can look at the DDS file type actually.

All you need is an implementation of the IFileTypeFactory in your DLL. Usually it just returns "new FileType[] { new YourFileType() };".

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