Rene Slijkhuis Posted July 14, 2017 Share Posted July 14, 2017 (edited) 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: DNGCodec_2_0_Installer.exe 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. Features 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). DownloadWicDecoder.zip Installation Unzip “WicDecoder.zip” Copy all the files into the FileTypes plugin folder (which is typically located at: C:\Program Files\paint.net\FileTypes) Copyright This software is available under MIT License.Source Code The source code of this plugin can be found at the following GitHub location: https://github.com/ReneSlijkhuis/paint.net-wic-plugin Note 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 August 12, 2020 by Rene Slijkhuis Changed URL's 1 Quote Link to comment Share on other sites More sharing options...
Rene Slijkhuis Posted August 27, 2017 Author Share Posted August 27, 2017 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. 1 Quote Link to comment Share on other sites More sharing options...
Ego Eram Reputo Posted August 27, 2017 Share Posted August 27, 2017 Nice update. Thanks Rene! Quote ebook: Mastering Paint.NET | resources: Plugin Index | Stereogram Tut | proud supporter of Codelab plugins: EER's Plugin Pack | Planetoid | StickMan | WhichSymbol+ | Dr Scott's Markup Renderer | CSV Filetype | dwarf horde plugins: Plugin Browser | ShapeMaker Link to comment Share on other sites More sharing options...
Rene Slijkhuis Posted September 8, 2017 Author Share Posted September 8, 2017 I’ve uploaded a new version of this plugin on September 9, 2017. This version supports transparency in a proper way. 1 1 Quote Link to comment Share on other sites More sharing options...
Seerose Posted September 8, 2017 Share Posted September 8, 2017 @Rene Slijkhuis! Thank you so much for your effort. Quote Live as if you were to die tomorrow. Learn as if you were to live forever. Gandhi Link to comment Share on other sites More sharing options...
xpclient Posted July 18, 2019 Share Posted July 18, 2019 (edited) 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 July 18, 2019 by xpclient Quote Link to comment Share on other sites More sharing options...
Rick Brewster Posted July 18, 2019 Share Posted July 18, 2019 @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. Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
Rick Brewster Posted July 18, 2019 Share Posted July 18, 2019 @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/ Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
xpclient Posted July 18, 2019 Share Posted July 18, 2019 @Rick Brewster Actually I am using Windows 8.1 with a Start menu and it has some the modern enhancements of 10 made after 7, while being supported till Jan 2023 and none of the huge forced updates which is why people dislike Windows 10. Quote Link to comment Share on other sites More sharing options...
ReMake Posted July 18, 2019 Share Posted July 18, 2019 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. Quote Link to comment Share on other sites More sharing options...
Rene Slijkhuis Posted August 9, 2019 Author Share Posted August 9, 2019 I’ve uploaded a new version of this plugin on August 9, 2019. This version supports Paint.net 4.2.1. 1 Quote Link to comment Share on other sites More sharing options...
Rene Slijkhuis Posted August 9, 2019 Author Share Posted August 9, 2019 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:https://github.com/ReneSlijkhuis/paint.net-wic-plugin 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.