Criptych Posted October 18, 2008 Share Posted October 18, 2008 No luck. After reinstalling, "PdnLib.dll" is still missing. Quote Link to comment Share on other sites More sharing options...
Chadmstraight Posted October 18, 2008 Share Posted October 18, 2008 woah, definitely makes making animated .gifs easier!i don't quite know how else you'd do it... uncheck each layer and re-save it? imageshack is being gimpy right now, so i cant show the finished product, but it streamlines the process a lot when you're using unFREEz. great plugin! thats actually a good idea. Everything i know about photo editing is self taught, so yeah... i save, then undo, do effect, save, repeat. doing it with layer saver is actaully macro friendly, which helps out a lot. thats another thing i love about paint.net, you can use keyboard shortcuts for so many things. Quote Link to comment Share on other sites More sharing options...
MiguelPereira Posted October 19, 2008 Share Posted October 19, 2008 No luck. After reinstalling, "PdnLib.dll" is still missing. Hm... no idea, report to troubleshooting. Quote [The stock on my sig is a photo I took not a render from Splatter] [My deviantART][My Gallery][My Space] Link to comment Share on other sites More sharing options...
I Like Pi Posted October 20, 2008 Author Share Posted October 20, 2008 That's strange. It's trying to find PdnLib.dll, which was changed to PaintDotNet.Core.dll in version 3.05. That version was released ages before this program was created. I really have no clue why it wants the old version of the DLL. This is the relevant code: AppDomain.CurrentDomain.AssemblyResolve += delegate(object sender, ResolveEventArgs args) { string name = args.Name.Substring(0, args.Name.IndexOf(',')); try { string dir = (string)Registry.LocalMachine.OpenSubKey("SOFTWARE").OpenSubKey("Paint.NET").GetValue("TARGETDIR"); return Assembly.LoadFrom(Path.Combine(dir, name + ".dll")); <--------------------------- Error here May or may not work: Try moving layer saver to your paint.net directory (e.g. C:\Program Files\Paint.NET, not FileTypes or Effects). Quote Link to comment Share on other sites More sharing options...
Criptych Posted October 21, 2008 Share Posted October 21, 2008 That's strange. It's trying to find PdnLib.dll, which was changed to PaintDotNet.Core.dll in version 3.05. That version was released ages before this program was created. I really have no clue why it wants the old version of the DLL. I've been using Paint.NET since before 3.05, so maybe there's some garbage left behind in the registry? Try moving layer saver to your paint.net directory (e.g. C:\Program Files\Paint.NET, not FileTypes or Effects). I'll give it a try. EDIT: No, it's still giving the same error. And I haven't found anything suspicious in the registry, either. Quote Link to comment Share on other sites More sharing options...
I Like Pi Posted October 21, 2008 Author Share Posted October 21, 2008 Found the problem. It's caused by any filetype plugin that was compiled prior to 3.05 and still references the old DLL. As a workaround, you can temporarily remove those plugins (or all of them if you're not sure which) and run layer saver. I'll try to get a fix up shortly. Quote Link to comment Share on other sites More sharing options...
Criptych Posted October 23, 2008 Share Posted October 23, 2008 You're right, it worked! Thanks for your help. EDIT: But there is a small problem - well, it's more an aesthetic thing - layers with "Visible" unchecked come out completely empty (transparent, in PNG)! I guess this is unavoidable, but I wonder if there is a way to force it to save normally? Otherwise, I'll just make all the layers visible. Quote Link to comment Share on other sites More sharing options...
Ch3 Posted October 26, 2008 Share Posted October 26, 2008 I Like Pi: Excellent! I came here with two things in mind: [*:2dq7wtf1] See if someone had written a plugin to export all layers as individual files,[*:2dq7wtf1] See if information about the .pdn format was available, since I would like to access layers programatically. Your app solves both, since you've posted source also, much appreciated, thank you Edit: I see you use PDN dll's to do the heavy lifting and having looked into both a .pdn and the PaintDotNet.Data.dll I realized that its serialized data? I'm not that strong in .NET thogh I just love it and was in need of accessing layers from Java, am I out of luck? Any ideas? Quote Link to comment Share on other sites More sharing options...
MegaBrain Posted October 26, 2008 Share Posted October 26, 2008 Many thanks, I wainting for it many many time! I love it!!!! Quote Link to comment Share on other sites More sharing options...
Cor'e =) Posted September 14, 2009 Share Posted September 14, 2009 Okay, this is sooo needed, after a large amount of layers PDN starts to glitch and choke and die... so this wonderful separate file rescues me. So thank you! Side notes: I do not see each file's thumbnail when i saved layers to the .PDN file type, therefore i feel i need to open each file to check the contents (someone mentioned layers not checked visible as not saving). Another quirk is that Layer Saver GUI does not close when done, and its progress bar remains full, though the Save Cancel buttons ungray themselves (So is it really done?). I tried drag&drop on to the program icon and it does not seem to work, but it's nice that it remembers last used directory, could it also remember its last set of configs? Is there a .ini file i can make that it can use to speed up large project chores? And last, since layers are so tedious moving up & down in PDN, and importing files into layers always puts it at the top of the stack rather than where one wants them, have you thought much about a tool that could create PDN files from layers? Or maybe a program that would sort the PDN layers by name, etc. in a large PDN file offline? That would be something i'd use. Thank you very much for this program! =) Quote Link to comment Share on other sites More sharing options...
AlperDmr Posted February 16, 2011 Share Posted February 16, 2011 Firstly, thanks for that amazing app. I only suggest 2 more options 1st: If you can make possible to add a button to Paint.NET that opens current pdn file by using your tool then we will not have to open your tool seperately and we can produce our files rapidly. 2nd: In your app. we have to fill out output folder in every time, but i think should be placed a checkbox (title :Use current .pdn file directory) that saves all files in current(active pdn file's) directory. Thanks.. Quote Link to comment Share on other sites More sharing options...
ilanle Posted March 6, 2011 Share Posted March 6, 2011 Layer Saver is awsome! You did a great job. Is there a way I can use it from command line? I would very much like to include it in a larger script. Thanks Ilan Quote Link to comment Share on other sites More sharing options...
beejay Posted June 28, 2011 Share Posted June 28, 2011 After a little searching I found this little utility and it's saved me a bunch of time. Quote Link to comment Share on other sites More sharing options...
uddhava Posted August 24, 2011 Share Posted August 24, 2011 (edited) When I try to use this plugin I get this error message.... Edited August 24, 2011 by uddhava Quote Link to comment Share on other sites More sharing options...
yellowman Posted August 24, 2011 Share Posted August 24, 2011 I had before same problem, The only solution I found is to delete the AnimGIF.dll from Paint.NET>FileTypes folder, and Layer Saver worked fine Quote My GalleryMy YouTube Channel "PDN Tutorials" Link to comment Share on other sites More sharing options...
uddhava Posted August 25, 2011 Share Posted August 25, 2011 I had before same problem, The only solution I found is to delete the AnimGIF.dll from Paint.NET>FileTypes folder, and Layer Saver worked fine Thank's yellowman, it's working now. Useful plugin for creating animation. Quote Link to comment Share on other sites More sharing options...
jracer64 Posted October 14, 2011 Share Posted October 14, 2011 Great. just what I needed to batch save jpeg-xr images. I had some problems where the save dialog was always greyed out. Running Layer Saver from the paint.net directory fixed that. (win7 security presumably) It would be nice if instead of a few options the name field supported a custom string such as %filename%"_"%layernum% or whatever syntax is suitable and numbering supported padding so that we could do 0001, 0002 etc. well, thats my only feedback for this great tool. Quote Link to comment Share on other sites More sharing options...
KevinT Posted November 23, 2011 Share Posted November 23, 2011 Hi, this is a GREAT tool, but is there already a solution to start it from commandline? Like IlanI would love to start it from a larger script. Thanks, Kevin Quote Link to comment Share on other sites More sharing options...
midora Posted November 23, 2011 Share Posted November 23, 2011 Hi, this is a GREAT tool, but is there already a solution to start it from commandline? Like IlanI would love to start it from a larger script. Thanks, Kevin You may use pdn2png or pdn2bmp from the commandline. Quote Link to comment Share on other sites More sharing options...
KevinT Posted November 24, 2011 Share Posted November 24, 2011 (edited) I tried pdn2bmp, but got some problems with the bitmaps. They are all black or show a strange combination of some layers... The LayerSaver works without errors and its possibility to name the bitmaps by the layernames is great, too. Wouldn't it be possible to implement some starting options to autofill the textboxes? Edited November 24, 2011 by KevinT Quote Link to comment Share on other sites More sharing options...
The Pretender Posted August 5, 2013 Share Posted August 5, 2013 Thank you, this is my first time using drawing tools for my projects and because of the wonderful tools it has gone smoothly. Within in a few minutes I had a dynamic Menu with multiple layers, and with the help of this tool I've been able to export them for the game to be toggled dynamically. The one suggestion I would make if it is possible, please edit the program so the user can select whether to include the invisible layers and if they choose to include the invisible layers- please edit it so that the invisible layers appear as they are designed versus the current blank image model.Thanks again. Quote Link to comment Share on other sites More sharing options...
Cc4FuzzyHuggles Posted July 13, 2014 Share Posted July 13, 2014 (edited) Alright, so I know I've posted this in the incompatible plugins thread about a week ago, but since I'm still having the issue even with paint.net 4.0.1, I thought I would post this in it's own thread and ask if anyone else is having trouble with it in 4.0 and/or 4.0.1. Is the Layer Saver plugin working for anyone in Paint.NET 4.0? Is it only me that it won't work for? If I place the Layer Saver file into 3.5.11's folder it works. If I place the Layer Saver file into 4.0.1's folder it doesn't work, I get this error : Thanks. Edited July 13, 2014 by Cc4FuzzyHuggles Quote *~ Cc4FuzzyHuggles Gallery ~* Link to comment Share on other sites More sharing options...
Pixey Posted July 13, 2014 Share Posted July 13, 2014 Thank's yellowman, it's working now. Useful plugin for creating animation. I can't get it to work either, even after trying the above. It did work OK in version 3.5. Here is what I'm getting: http://i.imgur.com/AE4EzQF.png Quote How I made Jennifer & Halle in Paint.net My Gallery | My Deviant Art "Rescuing one animal may not change the world, but for that animal their world is changed forever!" anon. Link to comment Share on other sites More sharing options...
uddhava Posted September 5, 2014 Share Posted September 5, 2014 I can't get it to work either, even after trying the above. It did work OK in version 3.5. Here is what I'm getting: http://i.imgur.com/AE4EzQF.png I am also having the same problem with 4.03. Quote Link to comment Share on other sites More sharing options...
Ego Eram Reputo Posted September 5, 2014 Share Posted September 5, 2014 It looks like Layer Saver needs to be recompiled referencing the new DLLs in paint.net 4. Hopefully someone will take this on to help us out. If you still have paint.net 3.5.11 installed, try copying the layer saver folder to that directory and run it from there. 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...
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.