Jump to content

RAWFileLAB 1.0.5.1 - RAW File reader with GUI (2020-09-18)


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 36 raw file extensions:
  • .3fr .arw .bay .cf2 .cr2 .cr3 .crw .dc2 .dcr .dng .erf .fff .gpr .iiq .k25 .kdc .mdc .mef .mfw .mos .mrw .nef .nrw .orf .pef .ptx .pxn .r3d .raf .raw .rw2 .rwl .sr2 .srf .srw .x3f

 

RawFileLAB-1040.png.f4e4993d6a43303e99c58f824b1812ef.png

 

Changes 1.0.5.1

  • Added a bunch of file extensions: .gpr .iiq .rwl .mfw .srf .fff .ptx .pxn .r3d .bay .dc2 .k25 (Go Pro .gpr and .cr3 needs DNG Converter)
  • Fixed broken bat-script for calling the Adobe DNG Converter.
  • TIPS: No need to install the full DNG Converter - open installer in 7-zip and drag the Adobe folder in $PROGRAMFILES64 to your Program Files folder. (110 MB vs 1GB).

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 bat script
Link to post
Share on other sites
  • 3 weeks later...
  • 3 months later...
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
Link to post
Share on other sites

That's just where things have to go, stan. Especially if a plugin also wants to be compatible with the Windows Store version of Paint.NET.

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to post
Share on other sites
  • 9 months later...

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

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


 

Link to post
Share on other sites
  • 3 weeks later...

I tried opening DNG files from my Pixel 3 with no avail. I get the following error:

Application version: paint.net 4.2.5



System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
   at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
   at RAWFile.RAWFiletype.ExecuteCommand(String startDir, String batFile, String args)
   at RAWFile.RAWFiletype.LoadRAW(String file)
   at RAWFile.RAWFiletype.LoadImageByCopy(Stream input)
   at RAWFile.RAWFiletype.LoadImage(Stream input)
   at RAWFile.RAWFiletype.OnLoad(Stream input)
   at PaintDotNet.FileType.Load(Stream input) in D:\src\pdn\src\Data\FileType.cs:line 512
   at PaintDotNet.Functional.Func.Eval[T1,TRet](Func`2 f, T1 arg1) in D:\src\pdn\src\Base\Functional\Func.cs:line 158

What is going on?

Link to post
Share on other sites

Hi
I got a new Huawei Phone and need to load the DNG Files and EDIT the Images. I saw many Videos where People Edit such Images who look amazing.
The brought some details out who cant see in an Traditional .jpg Files.

I tried to install it and put them in the Folder but I cant see anything in Paint.Net so where should be the Import Tool?
Thanks

Link to post
Share on other sites

These are the installation instructions:

On 6/5/2016 at 8:37 AM, operamint said:

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

 

If you don't have the requisite FileTypes folder - you may need to create it. Instructions can be found here: https://www.getpaint.net/doc/latest/InstallPlugins.html#4

 

As a FileType plugin - this will only show up as an option in the Load/Save dialog (you won't find it in the menus).

Link to post
Share on other sites
  • operamint changed the title to RAWFileLAB 1.0.5.1 - RAW File reader with GUI (2020-09-18)

@operamint, without a new post members and users will not be aware of the latest update. New posts alert everyone that there has been some change.

Editing the first post and changing the topic title does not, usually.

 

In the future, I think it's better for you to make a new post in this topic to let people know of any developments on the plugin.  

  • Upvote 1

Xkds4Lh.png

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.

×
×
  • Create New...