timit Posted March 9, 2010 Share Posted March 9, 2010 I would expect this has been covered previously but I couldn't find anything with a quick search. If I try to save a large image over around 3000x3000 pixels as a .PNG file then it gives me an error if I select 8 bit (or leave it on auto detect), but works fine with 24/32 bit. It will do this with a blank canvas or a simple drawing, but if I paste a portion of an image with lots of colors on the canvas before saving, then suddenly it will work (even at 8 bit). I am running Windows 7 64-bit with 4 GB RAM. Link to comment Share on other sites More sharing options...
Ego Eram Reputo Posted March 9, 2010 Share Posted March 9, 2010 What does the error say? 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...
timit Posted March 9, 2010 Author Share Posted March 9, 2010 In the save configuration box it says: "Preview, file size: (error)", then if you hit save anyway it says "There was an unspecified error while saving the file." Then it leaves an empty .PNG file where you tried to save it. Very descriptive, I know. Link to comment Share on other sites More sharing options...
pyrochild Posted March 9, 2010 Share Posted March 9, 2010 This reproduces for me. http://i.imgur.com/xZYt6wl.png ambigram signature by Kemaru [i write plugins and stuff] If you like a post, upvote it! Link to comment Share on other sites More sharing options...
Rick Brewster Posted March 10, 2010 Share Posted March 10, 2010 Reproduces here too. I'll look into it. 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 March 11, 2010 Share Posted March 11, 2010 It's an unchecked overflow (which is by design for some parts of the code) that's then turning into a real error. For now just save smaller images I guess ... 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 March 11, 2010 Share Posted March 11, 2010 Ok well that was easier to fix than I thought ! ... just had to switch to using 64-bit accumulators instead of 32-bit ones. Now the error can still happen, but you'd need an image about 50,000x larger. I'm ok with that, especially since the hard limit is 65,535 x 65,535 pixels. I tested on a 16,000 x 16,000 image and it worked fine (it was a blank/white image like described above). Attached is a zip with a new PaintDotNet.Data.dll and .pdb file. Unzip to where you installed Paint.NET (usually C:\Program Files\Paint.NET). Be sure to say yes/ok/confirm when it asks to overwrite the existing files. PDN.Data.3.55.QFE.33944.zip 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 March 11, 2010 Share Posted March 11, 2010 I've also filed a bug, for v4.0, to make that "(error)" a lot better. Like a + button to give you the exception details or something. I've been meaning to do that for awhile but I always have had other things take priority or attention. 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...
timit Posted March 11, 2010 Author Share Posted March 11, 2010 Sweet! Seems to work great. Thanks for the quick response time! Link to comment Share on other sites More sharing options...
pn66 Posted March 28, 2010 Share Posted March 28, 2010 Hi : I just ran into the same exact problem trying to save a .psd file. It is about 21megs and has 81 layers. It takes awhile to open it but it eventually opens ok and is fully workable but when I go to save it I get the same result as above. Great program by the way! Paul Link to comment Share on other sites More sharing options...
pyrochild Posted March 28, 2010 Share Posted March 28, 2010 PSD is a plugin. If you have issues with a plugin, post in the plugin's thread. Locked. http://i.imgur.com/xZYt6wl.png ambigram signature by Kemaru [i write plugins and stuff] If you like a post, upvote it! Link to comment Share on other sites More sharing options...
Recommended Posts