Seerose Posted October 7, 2015 Share Posted October 7, 2015 @Hello TR! I have a problem: Where did I fail? Pleace, can you help me? Image is stored. Animation only with the paint.net. 1 Quote Live as if you were to die tomorrow. Learn as if you were to live forever. Gandhi Link to comment Share on other sites More sharing options...
Maximilian Posted October 7, 2015 Share Posted October 7, 2015 Seerose, change the name of the finished animation file from Butterfly.agif to Butterfly.gif 2 Quote Link to comment Share on other sites More sharing options...
Seerose Posted October 7, 2015 Share Posted October 7, 2015 Seerose, change the name of the finished animation file from Butterfly.agif to Butterfly.gif Oh.. Maximilian! Thank you so much. Tomorrow I'll try again. 2 Quote Live as if you were to die tomorrow. Learn as if you were to live forever. Gandhi Link to comment Share on other sites More sharing options...
TechnoRobbo Posted October 7, 2015 Author Share Posted October 7, 2015 Thanks Max Tomorrow I'll try again. Can't wait Water Lilliy 2 Quote Go out there and be amazing. Have Fun, TRSome Pretty Pictures Some Cool Plugins Link to comment Share on other sites More sharing options...
Maximilian Posted October 8, 2015 Share Posted October 8, 2015 No probs guys! Best of lucks next time, Seerose! 1 Quote Link to comment Share on other sites More sharing options...
Seerose Posted October 8, 2015 Share Posted October 8, 2015 (edited) Seerose, change the name of the finished animation file from Butterfly.agif to Butterfly.gif Thanks Max Can't wait Water Lilliy Hi my Dears Paint-User! I'm lost without you. Are you always nice to me. Maximilian! Thanks for the tips. TechnoRobbo! Thanks for these wonderful plugin and video. Sorry: Tommorow. Edited October 8, 2015 by Seerose 3 Quote Live as if you were to die tomorrow. Learn as if you were to live forever. Gandhi Link to comment Share on other sites More sharing options...
Maximilian Posted October 8, 2015 Share Posted October 8, 2015 Those look super sweet! Well done! Quote Link to comment Share on other sites More sharing options...
Seerose Posted October 8, 2015 Share Posted October 8, 2015 (edited) Those look super sweet! Well done! @Maximilian! Thanks again. The flower colors become not so good. Dithering is a null value. Edited October 8, 2015 by Seerose Quote Live as if you were to die tomorrow. Learn as if you were to live forever. Gandhi Link to comment Share on other sites More sharing options...
TechnoRobbo Posted October 8, 2015 Author Share Posted October 8, 2015 Nice job Water Lilly 1 Quote Go out there and be amazing. Have Fun, TRSome Pretty Pictures Some Cool Plugins Link to comment Share on other sites More sharing options...
racerx Posted October 8, 2015 Share Posted October 8, 2015 Excellent job SeeRose. I ran out of reps, I'll be sure to give you one tomorrow. 1 Quote Link to comment Share on other sites More sharing options...
Maximilian Posted October 8, 2015 Share Posted October 8, 2015 Don't worry much about quality, Seerose. GIFs are like that, sometimes a little disappointing Although you may try setting the dithering to a higher value, which would give better quality I think. Midora's animation filetype plugin lets you have a good control of the dithering, so you can play with different settings and see what happens. Anyway, your animations look super good as they are! 1 Quote Link to comment Share on other sites More sharing options...
Seerose Posted October 9, 2015 Share Posted October 9, 2015 *Image-Self. Link: https://en.wikipedia.org/wiki/Elbe_Sandstone_Mountains 2 Quote Live as if you were to die tomorrow. Learn as if you were to live forever. Gandhi Link to comment Share on other sites More sharing options...
PurpleSheep Posted June 16, 2023 Share Posted June 16, 2023 Hi, I'm very new at this so I have a quick question. It seems like this extension is supposed to go in the "Objects" folder (in the paint.net program files), but I don't have one of those. I've read how to manually create new folders, but I'm not clear on whether this "objects" folder belongs inside one of the existing ones (like "effects" or "resources") or not. Could one of you lovely folks help me out, please? Thank you! Quote Link to comment Share on other sites More sharing options...
toe_head2001 Posted June 16, 2023 Share Posted June 16, 2023 7 minutes ago, PurpleSheep said: Could one of you lovely folks help me out, please? Place the file directly into the Effects folder. There's no need for an Objects sub-folder. 1 Quote (September 25th, 2023) Sorry about any broken images in my posts. I am aware of the issue. My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
PurpleSheep Posted June 16, 2023 Share Posted June 16, 2023 28 minutes ago, toe_head2001 said: Place the file directly into the Effects folder. There's no need for an Objects sub-folder. Oh, okay! Thank you very much. Quote Link to comment Share on other sites More sharing options...
its_a_sine Posted September 22, 2023 Share Posted September 22, 2023 (edited) not sure if anyone is still using this plugin, but I can confirm it does still work in PDN version 5.0.9 and is very useful. i've identified a small bug in exporting frames that only occurs if you have a "." in your username. The work around is to go into your C:\Users directory and create a new folder with no "." in the name and then create a subfolder to extract frames to. On the subfolder, right-click and select properties. then go to the security tab, select "Everyone" or "Users" in the Group or Usernames list, and click "Edit". Check the box next to "Modify" and then click Apply. This will allow the folder to be written to without having to run Paint.NET as admin. This is necessary because the folder you created is technically in a system directory (C:\Users). Then when exporting frames, export them into this directory. The symptom of having run into this bug is that you receive this error when you click Export Frames after selecting the export location: The error appears to be caused by this code in the plugin: It appears to look for the "." in the filename in order to sequentially number the frames. However if you have a "." in your username it will add the number before it rather than just before the file extension since is looks at the whole file path, causing the save operation to fail because no folder by that name exists. I'm pretty sure the fix is to somehow separate the file path and the file name into separate variables so the filename may be modified freely, then concatenate them at the end of the operation before writing but I've never worked with PDN plugins or .NET before; i just figured out how to install codelab this morning. Just wanted to leave this here in case someone runs into this issue. The plugin is awesome. Edited September 22, 2023 by its_a_sine 1 Quote Link to comment Share on other sites More sharing options...
toe_head2001 Posted September 22, 2023 Share Posted September 22, 2023 2 hours ago, its_a_sine said: I'm pretty sure the fix is to somehow separate the file path and the file name into separate variables so the filename may be modified freely, then concatenate them at the end of the operation before writing but I've never worked with PDN plugins or .NET before; i just figured out how to install codelab this morning. Hi, If you want to play with it, here's some example code for you. string fullPath = @"C:\users\user.name\Documents\test.png"; string directory = Path.GetDirectoryName(fullPath); string fileName = Path.GetFileNameWithoutExtension(fullPath); string extension = Path.GetExtension(fullPath); int count = 1; string newFileName = fileName + count + extension; string newFullPath = Path.Combine(directory, newFileName); I can post a bugfix release of @TechnoRobbo's plugin sometime this weekend. 1 1 1 1 Quote (September 25th, 2023) Sorry about any broken images in my posts. I am aware of the issue. My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
its_a_sine Posted September 25, 2023 Share Posted September 25, 2023 (edited) On 9/22/2023 at 2:51 PM, toe_head2001 said: Hi, If you want to play with it, here's some example code for you. string fullPath = @"C:\users\user.name\Documents\test.png"; string directory = Path.GetDirectoryName(fullPath); string fileName = Path.GetFileNameWithoutExtension(fullPath); string extension = Path.GetExtension(fullPath); int count = 1; string newFileName = fileName + count + extension; string newFullPath = Path.Combine(directory, newFileName); I can post a bugfix release of @TechnoRobbo's plugin sometime this weekend. I've managed to quasi-compile the plugin in codelab 6.8 in PDN 5.0.9 and though the UI is broken (likely due to changes I made to some types just to quell compiler errors) I can confirm that the code on lines 120-122 in the screenshot below works. The snippet you provided was spot on, thanks so much! I'll have to keep digging around the PDN DLLs with ILSpy to try and get the UI back right; I changed some calls to Clear() to Fill() and changed a few Pair declarations to Vector2Double just to be able to test. Since these were UI items, I'm guessing that's what broke it. Great learning experience though! Another problem I ran into is that I can't get Codelab to print to the debug console. I wanted to see what 'cboard' actually contained and what GetDirectory() actually returned directly. I used the required debug syntax but when I did a "Preview Effect" or when I fully packaged to a DLL and ran the plugin, no messages were printed: If this should be posted elsewhere, let me know. I was just trying to keep everything with the related content. Edited September 26, 2023 by its_a_sine removed attachments. need to reclaim storage Quote Link to comment Share on other sites More sharing options...
BoltBait Posted September 25, 2023 Share Posted September 25, 2023 28 minutes ago, its_a_sine said: Another problem I ran into is that I can't get Codelab to print to the debug console. I wanted to see what 'cboard' actually contained and what GetDirectory() actually returned directly. I used the required debug syntax but when I did a "Preview Effect" or when I fully packaged to a DLL and ran the plugin, no messages were printed: @toe_head2001 I ran into the same problem today. 1 Quote Download: BoltBait's Plugin Pack | CodeLab | and a Free Computer Dominos Game Link to comment Share on other sites More sharing options...
toe_head2001 Posted September 25, 2023 Share Posted September 25, 2023 Yes, that's the expected behavior. The compiler in CodeLab never uses Debug mode when building the DLL or running a UI preview. 1 Quote (September 25th, 2023) Sorry about any broken images in my posts. I am aware of the issue. My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
its_a_sine Posted September 25, 2023 Share Posted September 25, 2023 7 hours ago, toe_head2001 said: Yes, that's the expected behavior. The compiler in CodeLab never uses Debug mode when building the DLL or running a UI preview. Is it possible to get debug output in codelab at all or are you saying it only works in VS? Is there another way to run in Codelab? Quote Link to comment Share on other sites More sharing options...
its_a_sine Posted September 25, 2023 Share Posted September 25, 2023 (edited) On 9/22/2023 at 2:51 PM, toe_head2001 said: Hi, If you want to play with it, here's some example code for you. string fullPath = @"C:\users\user.name\Documents\test.png"; string directory = Path.GetDirectoryName(fullPath); string fileName = Path.GetFileNameWithoutExtension(fullPath); string extension = Path.GetExtension(fullPath); int count = 1; string newFileName = fileName + count + extension; string newFullPath = Path.Combine(directory, newFileName); I can post a bugfix release of @TechnoRobbo's plugin sometime this weekend. I managed to get the UI working properly in PDN 5.0.9 with Codelab 6.8. I had to generate a .sln file and use VS since the errors were outside of the code accessible through codelab. Specifically, I modified lines 220-222 to explicitly convert the Vector2Double values to Pair values: kinda verbose, but it got me a working DLL. I've attached the source file just in case it's helpful. Thanks @toe_head2001 and @BoltBait for your responses! Edited September 26, 2023 by its_a_sine removed attachements. need to reclaim storage Quote 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.