Sign in to follow this  
Rapido

DICOM FileType plugin

Recommended Posts

Here's a simple file type plugin for loading DICOM images in Paint.NET.

The plugin uses the Evil DICOM library (https://github.com/rexcardan/Evil-DICOM).

Just unzip the file and copy the files to C:\Program Files\paint.net\FileTypes.

 

Download the file type plugin here: DicomFileType.zip

 

Please let me know if you have problems loading a DICOM file.

Edited by Rapido

Share this post


Link to post
Share on other sites

Hello,
is this PlugIn still working? Added this PlugIn to Paint.net - and I'm now able to choose .dcm files inside Paint.net, but they won't open and throw an "eof" error message:
 

Quote

Application version: paint.net v4.1.3

System.IO.EndOfStreamException: Über das Ende des Datenstroms hinaus kann nicht gelesen werden.
   bei System.IO.__Error.EndOfFile()
   bei System.IO.BinaryReader.FillBuffer(Int32 numBytes)
   bei System.IO.BinaryReader.ReadUInt16()
   bei DicomFileType.DicomLib.get_ImageData()
   bei DicomFileType.DicomFileType.OnLoad(Stream input)
   bei PaintDotNet.FileType.Load(Stream input) in D:\src\pdn\src\Data\FileType.cs:Zeile 496.
   bei PaintDotNet.Functional.Func.Eval[T1,TRet](Func`2 f, T1 arg1) in D:\src\pdn\src\Base\Functional\Func.cs:Zeile 158.


The german part means: "It cannot be read over the end of the data stream input".
I know that the image is not broken, since online tools can convert it (but make a bad quality).
Here is an example file (it was over 0.25MB). PW is dicom . Could someone help?

Thanks - and sawrry for this "ingrish" ;)

Edited by Furi

Share this post


Link to post
Share on other sites

Howdy,

You are correct, this plugin can not open your file.

 

However, I was able to open your file with IrfanView.

So, open the file with IrfanView, and from IrfanView save it as a PNG file.  Then open the PNG file with paint.net.

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.

Sign in to follow this