Jump to content

Windows Imaging Component (WIC) Plugin

Recommended Posts

Windows Imaging Component (WIC) Plugin


This plugin adds reading support for all image formats that are supported by the Windows Imaging Component (WIC) codecs on your computer.


On Windows 10 are by default the following formats supported by this plugin:
.ARW, .BMP, .CR2, .CRW, .DIB, .DNG, .ERF, .GIF, .JPG, .KDC, .MRW, .NEF, .NRW, .ORF, .PEF, PNG, .RAF, .RAW, .RW2, .RWL, .SR2, .SRW, .TIF


To improve the DNG support it’s recommended to install the following DNG codec from Adobe:



On Windows 7 you have to install the following codec pack to get support for the same formats:

Microsoft Camera Codec Pack - http://www.microsoft.com/en-us/download/details.aspx?id=26829


Please note that raw files are automatically converted with the default parameters of the used codec. Use the excellent RAWFile plugin if you want to control the conversion of your images.



  • The list of supported image formats (in the file open dialog) is based on the registered WIC codecs on your computer. It will automatically be updated when you install new codecs.
  • This plug-in comes with a configuration file (“WicDecoder.ini”) which allows you to specify file extensions that should be ignored by this plug-in.
    Note: you have to restart Paint.NET after changing the configuration file of this plug-in.
  • Some WIC codecs support file formats that can have multiple images in one file. This plugin will open all these images as layers (see the screenshot below).







  • Unzip “WicDecoder.zip”
  • Copy all the files into the FileTypes plugin folder (which is typically located at: C:\Program Files\paint.net\FileTypes)


This software is available under MIT License.

Source Code

The source code of this plugin can be found at the following GitHub location:


Some file extensions can also be covered by other plugins. In that case will the plugin that appears first in the file open dialog list be used. Remove conflicting plugins (temporary) from the FileTypes folder to test this one.


Edited by Rene Slijkhuis
Changed URL's
  • Upvote 1
Link to post
Share on other sites

I’ve uploaded a new version of this plugin on 08-27-2017.

This new version comes with a configuration file (“WicDecoder.ini”) which allows you to specify file extensions that should be ignored by this plug-in.

Note: you have to restart Paint.NET after changing the configuration file of this plug-in.

  • Upvote 1
Link to post
Share on other sites
  • 2 weeks later...
  • 1 year later...

Hi @Rene Slijkhuis, would it be possible to update your excellent WIC plugin to wrap/support this HEIC WIC codec: https://www.copytrans.net/copytransheic/ It is free for personal use and at the moment, it seems to be the only freeware HEIC codec for Windows 7/8.1. However it does not work with Paint.net 4.2.


I asked Rick Brewster why and he was kind enough to give an explanation. "Every WIC codec has its own rules and bugs and invisible walls that have to be found through testing. Docs no help. For instance, handling metadata looks uniform but has completely different rules and bugs for JPEG, TIFF, HEIC, etc. Strategy for loading and preserving JPEG metadata doesn't work on HEIC. Slightly different code is needed. You'd have to create a Paint.NET plugin that specifically wraps the CopyTrans codec."


Oh by the way, this message is not a spam link. Earlier, I was banned by some moderator for no reason for posting this harmless ACTUALLY RELATED link to this WIC decoder PDN plugin (it's WIC codec, duh!), and had to request Mr. Rick Brewster to unban me.

Edited by xpclient
Link to post
Share on other sites

@xpclient If you really need HEIC support then I really think your best bet is to just upgrade to Windows 10.


Windows 7 is going to be end-of-life soon, and it'll be a very bad idea to stick with it. https://forums.getpaint.net/topic/114255-reminder-please-upgrade-to-win10-microsoft-ending-win7-support-january-2020/


Link to post
Share on other sites
2 hours ago, xpclient said:

... and none of the huge forced updates which is why people dislike Windows 10.


Conservatism, which is easily overcome after a short use of Windows 10 (tested on personal experience).  @xpclient, no offense, but Windows 10 is much more progressive.


Sorry, for off topic.

Link to post
Share on other sites
  • 3 weeks later...
On 7/18/2019 at 7:09 AM, Rick Brewster said:

@Rene Slijkhuis This plugin is using reflection on the Stream that's passed to it to access a private field ("stream") and extract the file name. That's very bad. Do not do that. I  guarantee that this will break soon.


Thanks for your feedback. I've fixed this in the latest version of the plugin.

The source code is available at:

Link to post
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.

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