Rick Brewster Posted May 18, 2019 Share Posted May 18, 2019 This build has two big things going for it: 1) fixes to the Save Configuration dialog (sorta), and 2) some absolutely massive performance fixes to the main rendering engine when working with very large images. Save Configuration dialog: Some folks have reported that they can't get the Preview to work, even though saving and loading works fine. I don't have a fix for this yet (AFAIK), but at least you'll be able to see what the actual error is now so that you can send it to me. It will show up in the standard error dialog along with the almost useless "Preview: (error)" text that displays at the top. Rendering engine: Before this update, Paint.NET has been very bad about handling very large images. I'm talking images that are on the order of 32,000 pixels large on either dimension (width or height). Zooming and panning often result in very long delays where the app just hangs until it figures itself out -- and we're talking 30, maybe even 60, seconds, even with a $1000 CPU like an overclocked Intel Core i9-7900X. I spent the last week optimizing this and replacing the data structures and work queue management code, and now this should all be working good. It's not 60 FPS, so there's still some work left when the time comes for it, but it's very usable now! The worst delays might be on the order of 100-200ms, so they just feel like kind of a choppy framerate sometimes. Download link: https://www.getpaint.net/files/zip/test/paint.net.4.107.7077.41990.install.zip (I'm adding this to the auto-updater right now) Changes since the previous alpha (build 7070): Fixed: Optimized rendering engine to remove huge lag spikes (30+ seconds) when zooming or panning very large images (e.g. 32K x 32K pixels). Improved: Added error reporting to the Save Configuration dialog. Instead of just saying "Preview: (error)", you'll also get the standard error dialog that includes the exception which can used for troubleshooting. Enjoy! 2 The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
klaxxon Posted May 19, 2019 Share Posted May 19, 2019 (edited) I repeated the steps taken with my image and after I hit Enter I received the following error: After adding a layer and drawing something I was able to save the file as .pdn. After I merged the layers I could also only save as .png and not .jpg. On the unmodified image, however, they get the same error. It's a jpg image not too big. Edited May 19, 2019 by klaxxon Link to comment Share on other sites More sharing options...
Pixey Posted May 19, 2019 Share Posted May 19, 2019 I just downloaded this latest Beta version and tried working with a large canvas, as per @klaxxon's dimensions, and am having no trouble saving to .png. or .jpeg 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...
Rick Brewster Posted May 19, 2019 Author Share Posted May 19, 2019 @klaxxoncan you send me the image? The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
Rick Brewster Posted May 19, 2019 Author Share Posted May 19, 2019 Also, hmm, it's supposed to show you the error before you press Enter. I think I merged something wrong on GitHub. I'll probably be pushing out another build soon to rectify this. The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
klaxxon Posted May 19, 2019 Share Posted May 19, 2019 (edited) Thanks @Pixey, but I tried the same thing as you and everything works perfectly. @Rick, Here is the file: https://www.mediafire.com/file/tnagcape7lt4c5f/image.zip/file Just open it and try to save to get the error. Edited May 19, 2019 by klaxxon 2 Link to comment Share on other sites More sharing options...
Pixey Posted May 19, 2019 Share Posted May 19, 2019 Hi @klaxxon I downloaded your image, played with every which way and cannot get the error. It saves as both .png, .jpeg, etc. You are using Save As, right? 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...
klaxxon Posted May 19, 2019 Share Posted May 19, 2019 Maybe there is something wrong with my computer. Link to comment Share on other sites More sharing options...
Rick Brewster Posted May 19, 2019 Author Share Posted May 19, 2019 Are you caught up on all of your Windows Updates? Maybe there was a fix for WIC ... The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
Rick Brewster Posted May 19, 2019 Author Share Posted May 19, 2019 Mine says 'error' when I try to save it. I can probably debug this now. Thanks! 1 The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
ReMake Posted May 19, 2019 Share Posted May 19, 2019 1 hour ago, klaxxon said: Just open it and try to save to get the error. I have the same problem with saving in .jpg format, but only for this image. Other large images are saved without errors. Link to comment Share on other sites More sharing options...
Rick Brewster Posted May 19, 2019 Author Share Posted May 19, 2019 Okay I've figured out where the problem is -- it's the EXIF metadata called UserComment (tag ID 37510). It's not being handled correctly. The image saves if I strip out that metadata tag. I should be able to fix this quickly and put out a new build shortly 1 The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
Rick Brewster Posted May 20, 2019 Author Share Posted May 20, 2019 Closing this thread -- new build incoming The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
Rick Brewster Posted May 20, 2019 Author Share Posted May 20, 2019 Please install build 7079 and see if everything's working now 1 The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
Recommended Posts