Post Reply 

PDN Plug-in for GIMP?

Sep 13, 2011, 11:56
Post: #1
PDN Plug-in for GIMP?
Has ANYONE worked up a plug-in to handle PDN files like the ones used in Paint.net? I really hate having to use two programs to do the job. Turning over 12 layers into 12 TGA files just to work with them in GIMP is tedious and time consuming. There has to be someone out there that feels the same way and can create the plug-in needed.
Find all posts by this user
Quote this message in a reply
Sep 16, 2011, 12:56
Post: #2
RE: PDN Plug-in for GIMP?
A quite scan round the interwebs suggests that PDN format is not widely supported. ImageMagik, XNView and IrfanView don't list it amongst their lists of supported formats, although IrfanView look to be developing support right now: http://en.irfanview-forum.de/vb/archive/...931d4d5650

So I think the simple answer to your question is that GIMP support doesn't exist and you'l have to continue as you are for the time being.
Visit this user's website Find all posts by this user
Quote this message in a reply
Sep 16, 2011, 22:28
Post: #3
RE: PDN Plug-in for GIMP?
I just checked all of the file types that Paint.net saves in and it wants to flatten all of them! Bummer! I guess I go to the other end, Paint.net, and see if there is a plug-in for IT to output files other than PDN as layered, file types that GIMP can use.

I know it sounds turncoat, but does anyone here know of any?
Find all posts by this user
Quote this message in a reply
Sep 17, 2011, 10:49
Post: #4
RE: PDN Plug-in for GIMP?
Just seen this post, there are some command line utilities here

http://www.comsquare.ch/index.php?option...&Itemid=55

check your other post a GUG
Find all posts by this user
Quote this message in a reply
Sep 17, 2011, 23:25
Post: #5
RE: PDN Plug-in for GIMP?
Thanks, I'll look into these. I really hope they can save a bit of time. The only other option left is to save each layer in Paint.net and put them back together with GIMP. We'll see which is more tedious.
Find all posts by this user
Quote this message in a reply
Sep 18, 2011, 09:26
Post: #6
RE: PDN Plug-in for GIMP?
(Sep 17, 2011 23:25)snoopy55 Wrote:  Thanks, I'll look into these. I really hope they can save a bit of time. The only other option left is to save each layer in Paint.net and put them back together with GIMP. We'll see which is more tedious.

Just as an exercise, how you might do it with the utilities. This is in a tatty old Tosh M1 laptop, the only thing I have with M$ .Net on, needed to run Paint.Net. Normally I use linux.

First screen shot. I made a 5 layer pdn file. Made a project folder, copied the utilities and the pdn file to it. Opened a command window, navigated to the project folder, ran pdn2png to create separate png's for import into gimp.
http://i.imgur.com/Rc7db.jpg

Second screen shot. Imported as layers into Gimp. A bit of editing, then exported the layers to individual png's using sg-save-all-layers script. I like this script but use whatever you are comfortable with. Move the files to the project folder.
http://i.imgur.com/juQZ5.jpg

Third screen shot. Back to a command window. Run png2pdn.exe to combine the png files to a multilayer pnd. Open in Paint.Net for comparison.
http://i.imgur.com/YJBZl.jpg

If you have lots of layers (guessing you do) the command line is tedious, I copied the first file name 'f-01.png', pasted back in several times then went back and changed just the layer number. Should not be too difficult to make a batch file to automate the process.
Find all posts by this user
Quote this message in a reply
Sep 19, 2011, 16:55
Post: #7
RE: PDN Plug-in for GIMP?
I was just wandering around looking at Paint.net's site and I think I may have found another way around this problem. On Paint.net's forums they have an area dedicated to plugins. There is a plugin there that gives Paint.net the ability to save (and open) files in PhotoShop's .psd format. Gimp already has the ability to handle .psd files, and of course .psd files are natively capable of handling multiple layers just like the .xcf and .pdn formats. If everything works the way it sounds like it should, you could save your Paint.net file as a .psd, then open it in Gimp with all the layers intact. You could also go back from Gimp to Paint.net the same way.

I don't actually have Paint.net installed on my machine so I haven't tried this, but it seems like it should work.

[Image: viragogimpforumssig.png]
Find all posts by this user
Quote this message in a reply
Mar 22, 2012, 16:22
Post: #8
RE: PDN Plug-in for GIMP?
There is an XCF plugin available for Paint.NET in the meantime.
Using this you are loosing less information then by using PSD as exchange format.
Find all posts by this user
Quote this message in a reply
Mar 22, 2012, 16:29
Post: #9
RE: PDN Plug-in for GIMP?
A PDN plugin may be possible. The biggest issue is that a PDN file contains some .NET data structures. So you would need Mono to interpret the file.

But this issue has been solved by a .NET decoder/encoder library written in C. This library is used in the PDN plugin available for Irfanview (by the way Irfanview also supports XCF).

So there may be a PDN plugin in the future. A matter of time...
Find all posts by this user
Quote this message in a reply
Oct 24, 2013, 16:18
Post: #10
RE: PDN Plug-in for GIMP?
I know I'm answering in an old thread but nevertheless I am currently changing from paint.net to Gimp myself (not getting my tablet to work correctly in paint). What I'm doing to make it possible to open the files with layers is to save them in the .psd format in Paint.net using the following plugin. Then just opejn it in Gimp like any normal psd file.

Hope this helps anyone else that might be having the problem.
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Trying to write my first GIMP script piotr_kast 3 178 Sep 2, 2014 14:08
Last Post: ofnuts
  Windows 8, GIMP 2.8.10, crashes opening files or on new but will open by itself. Coanunn 4 189 Jul 29, 2014 13:57
Last Post: Coanunn
Sad Gimp stops loading at Tool Presets Wing 44 1,962 Jul 24, 2014 15:36
Last Post: iForStyle007
  Using OpenCL in Gimp Eric 5 435 Jul 7, 2014 15:54
Last Post: ofnuts
  How do i get resynthesizer for gimp 2.8 Todd500 4 4,872 May 30, 2014 07:25
Last Post: rich2005

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS