operamint

RAWFileLAB 1.0.5.0 - RAW File reader with GUI (Oct. 2019)

Recommended Posts

Fast RAW file importer plugin for Paint.NET 

  • User can optionally adjust all input settings supported by DcRaw in the GUI, and reload image with modified DCRaw settings.
  • Displays raw image metadata for the last raw image loaded into Paint.NET
  • Non-intrusive: GUI can optionally be started minized.

Features

  • Supports 24 raw file extensions - tested with samples from link at bottom
  • Raw files: .3fr, .arw, .cf2, .cr2, .cr3, .crw, .dcr, .dng, .erf, .kdc, .mdc, .mef, .mos, .mrw, .nef, .nrw .orf, .pef, .raf, .raw, .rw2, .sr2, .srw, .x3f
  • Includes Nikon (.nrw), Aptus (.mos), Hasselblad (.3fr), Kodak (.kdc and .dcr), Panasonic (.rw2), Samsung (.srw), Minolta (.mdc)

 

RawFileLAB-1040.png.f4e4993d6a43303e99c58f824b1812ef.png

 

Changes 1.0.5.0

  • Added support for Canon CR3 format, through use of Adobe DNG Converter (must be installed).
  • Removed some small memory leaks and improved code.

Changes 1.0.4.0

  • Fixed that "Start minimized" was reset when pressing Default switches.
  • Updated code to work with Paint.net 4.2.4:  a) Replaced loading of image, b) Replaced deprecated FileType constructor with new using FileOptions.

Changes 1.0.3.4  (minor update)

  • Added "Start minimized" checkbox (on About tab), instead of remembering window state from last session.
  • Updated .Net framework compability

Changes 1.0.3.3

  • Displays raw file metadata as default, DCRaw options in secondary tab
  • Makes sure Paint.NET is the active application after loading raw image.

 

Installation

  • Get latest 64-bit DCRAW from the link below. Rename dcraw64.exe to dcraw.exe.
  • Copy dcraw.exe, RAWFile.dll, RAWFileLAB.exe and raw2dng.bat into the FileTypes plugin folder <my documents>\paint.net App Files\FileTypes
  • FYI, the configuration files are saved in the folder <my documents>\paint.net User Files\FileType Presets\RAWFile

Download

Optional

Edited by operamint
Updated version and source code

Share this post


Link to post
Share on other sites
On 05/06/2016 at 2:07 AM, operamint said:

FYI, the configuration files are saved in the <my documents>\paint.net User Files\FileType Presets\RAWFile folder.

 

Love the plugin, but I hate apps that clutter up the Docs folder. The Docs folder is for my docs only! Can you please update the plugin to save in a system approved location for settings, such as %LocalAppData%? Thanks!

 

Edit: I see that %LocalAppData%\Paint.NET already exists, so how about %LocalAppData%\Paint.NET\FileTypes?

Edited by stan

Share this post


Link to post
Share on other sites

Hi,

 

Just upgraded to 4.2.4 (from 4.0.12, I think)  and now getting the following error when attempting to open a RAW file. (Specifically a .nef)  Details from the error message are:

 

Application version: paint.net 4.2.4

System.NullReferenceException: Object reference not set to an instance of an object.
   at RAWFile.RAWFiletype.OnLoad(Stream input)
   at PaintDotNet.FileType.Load(Stream input) in D:\src\pdn\src\Data\FileType.cs:line 511
   at PaintDotNet.Functional.Func.Eval[T1,TRet](Func`2 f, T1 arg1) in D:\src\pdn\src\Base\Functional\Func.cs:line 158

 

I'll revert to the earlier version, posting for awareness as much as anything

Share this post


Link to post
Share on other sites
4 hours ago, pdnFan said:

getting the following error when attempting to open a RAW file.

 

This plugin uses Reflection to access a private field that no longer exists in Paint.NET.

 

FieldInfo fi = input.GetType().GetField("stream", BindingFlags.NonPublic | BindingFlags.Instance);
FileStream fs = fi.GetValue(input) as FileStream;

 

This is not a bug in Paint.NET. The plugin will need to updated.

This is why there are rules; to protect plugins from becoming broken like this.

  • Like 1

Share this post


Link to post
Share on other sites

I uploaded a new version that fixes the problem. I "updated" the "cheat" to get hold of the filename of the input stream, otherwise the "Reopen" feature will do nothing as the plugin does not know the name of the input file (admittedly not vital as it can be reopened from Pdn). However, if/when the cheat no longer works, it fallbacks to use "copy-stream-to-tempfile-and-load-it", so the plugin will still work fine. It will still function with older Pdn versions as well.

 

As for .CR3 support, I am afraid we have to wait until someone adds support for that in dcraw or any other tool that can easily be called by the plugin.

 

 

 

 

  • Upvote 1

Share this post


Link to post
Share on other sites

The Canon EOS M50 went on sale on March 23, 2018. The Canon CR3 codec has not been an independent download since 2013.
In order to get the codec plugin for Windows 10 you can to install the Canon Digital Photo Professional software:

dppw4.10.50-installer.zip

I have the Nikon D3500 which uses the NEF RAW codec. I did not get my NEF photos to appear as thumbnail icons nor in the Picture Viewer in Windows 10 until I installed the Nikon codec.

Edited by HyReZ

Share this post


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.

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.