Jump to content

Large files won't save


Recommended Posts

Hi,

I have been using Paint.NET as a poor man's Autocad to create drawings for a house renovation.

I want to create a drawing using only black & white, set to 8 bit.

The drawing is to print to standard 8.5" x 14.0" inch paper (legal paper). The Resolution is set to 300 pixels/inch to match the laser printer. Image size is 8.0" x 13.5". This creates an image 2400 pixels x 4050 pixels. When a new image is created and saved as a blanc image, it won't save. The file created has 0 bytes.

The first error is a Preview, file size: (error). When you try to save the file a window opens with the message "There was an unspecified error while saving the file.

If I generate a smaller file at 2700 x 1600 pixels it saves properly. If I resize to the final size I get the same errors.

If I resize to 90% of the larger size it saves fine. If I incrementally increase the size I can save the file at the larger size.

The 2700 x 1600 file saves at 125 KB. At 2403 x 4050 and 299.92 pixels resolution the file size is 629KB.

Paint.NET does not crash.

Since I lost some work I've spent most of my time trying to determine the point at which the files won't save. the point seems to be around 97 - 99 % of the 2400 x 4050 size.

The computer is an hp dc7600 business computer with a 3.2 GHz cpu and it has 4 identical 1GB memory modules. This gives about 3.3GB of useable memory. Hard disk is 500GB with 75% available. No hard drive errors.

O/S in XP Pro SP3, all up to date.

I've used paint.NET in the past to create drawings by letting 8 pixels = 1 inch.The 4050 x 2400 drawing was created at 4 pixels = 1 inch. The 1600 x 2700 file is 2 pixels per inch. Blowing up the smaller drawing creates a bigger but foggy drawing.

Is this a bug or a design limitation.

Thanks in advance and for taking the time to read this.

Rick.

Link to comment
Share on other sites

This is a followup to the original post.

Paint.Net version 3.36.3158.38068

An image at 1000x8421 (8,421,000 pixels) saves.

An image at 2900x2903 (8,418,700 pixels) saves.

An image at 1000x8422 (8,422,000 pixels) will not save.

An image at 2900x2904 (8,421,600 pixels) will not save.

The trip point seems to be somewhere between 8,421,000 pixels (saves) & 8,421,600 pixels (will not save)

Notes:

Blank images will save.

Images with content will save.

Images will save whether 8 bit or 32 bit.

Hope this helps.

Rick

Link to comment
Share on other sites

Images will save whether 8 bit or 32 bit.

Seeing this I'm assuming you're saving in PNG (the default).

What if you try to save in another format, like TIFF or JPG?

No. Way. I've just seen Bob. And... *poof!*—just like that—he disappears into the mist again. ~Helio

Link to comment
Share on other sites

  • 4 weeks later...
Hi,

I have been using Paint.NET as a poor man's Autocad to create drawings for a house renovation.

I would think it might be better for you to use a vector drawing program rather the a 'paint' program like Paint.net as a low cost substitute for AutoCAD.

Even more, it should really not only be a vector program but a CAD one.

Have you looked for freeware and shareware CAD programs? I do not have any experience of these but I would have thought that there should be something which is not too expensive - even possibly supporting an industrial standard CAD format.

Derek Shaw

Link to comment
Share on other sites

Hi,

I have been using Paint.NET as a poor man's Autocad to create drawings for a house renovation.

I would think it might be better for you to use a vector drawing program rather the a 'paint' program like Paint.net as a low cost substitute for AutoCAD.

Even more, it should really not only be a vector program but a CAD one.

Have you looked for freeware and shareware CAD programs? I do not have any experience of these but I would have thought that there should be something which is not too expensive - even possibly supporting an industrial standard CAD format.

Derek Shaw

Link to comment
Share on other sites

Hi,

In case it helps, I have the same problem ("The first error is a Preview, file size: (error). When you try to save the file a window opens with the message "There was an unspecified error while saving the file."), but with JPEG files.

However, all files I have tried are the same PIXEL size (3008 x 2000 pixels from the same digital camera), but the FILE SIZE makes a difference as to whether I get the error or not. Files above about 2MB have the error, below that they don't. But it's not that clear-cut, because I have a 2111KB file which fails and a 2147KB file which doesn't fail.

Thinking it might be memory-related (on my old PC), I unloaded a few applications to free up memory and tried again, but the result was the same.

I'm new to PDN (and new to posting on forums!). I'm happy to try other tests if it might help.

Link to comment
Share on other sites

Hi,

In case it helps, I have the same problem ("The first error is a Preview, file size: (error). When you try to save the file a window opens with the message "There was an unspecified error while saving the file."), but with JPEG files.

However, all files I have tried are the same PIXEL size (3008 x 2000 pixels from the same digital camera), but the FILE SIZE makes a difference as to whether I get the error or not. Files above about 2MB have the error, below that they don't. But it's not that clear-cut, because I have a 2111KB file which fails and a 2147KB file which doesn't fail.

Thinking it might be memory-related (on my old PC), I unloaded a few applications to free up memory and tried again, but the result was the same.

I'm new to PDN (and new to posting on forums!). I'm happy to try other tests if it might help.

Link to comment
Share on other sites

Hi,

In case it helps, I have the same problem ("The first error is a Preview, file size: (error). When you try to save the file a window opens with the message "There was an unspecified error while saving the file."), but with JPEG files.

However, all files I have tried are the same PIXEL size (3008 x 2000 pixels from the same digital camera), but the FILE SIZE makes a difference as to whether I get the error or not. Files above about 2MB have the error, below that they don't. But it's not that clear-cut, because I have a 2111KB file which fails and a 2147KB file which doesn't fail.

Thinking it might be memory-related (on my old PC), I unloaded a few applications to free up memory and tried again, but the result was the same.

I'm new to PDN (and new to posting on forums!). I'm happy to try other tests if it might help.

Remember to save to a other place ("Don't rewrite to the camera") Save a new name and place it on Desktop("Well, you don't have to give a new name, but it's easier for you to know ;) ") This will might work, Shout on me if it wont work :P

U2l6xrt.png

Link to comment
Share on other sites

Hi,

In case it helps, I have the same problem ("The first error is a Preview, file size: (error). When you try to save the file a window opens with the message "There was an unspecified error while saving the file."), but with JPEG files.

However, all files I have tried are the same PIXEL size (3008 x 2000 pixels from the same digital camera), but the FILE SIZE makes a difference as to whether I get the error or not. Files above about 2MB have the error, below that they don't. But it's not that clear-cut, because I have a 2111KB file which fails and a 2147KB file which doesn't fail.

Thinking it might be memory-related (on my old PC), I unloaded a few applications to free up memory and tried again, but the result was the same.

I'm new to PDN (and new to posting on forums!). I'm happy to try other tests if it might help.

Remember to save to a other place ("Don't rewrite to the camera") Save a new name and place it on Desktop("Well, you don't have to give a new name, but it's easier for you to know ;) ") This will might work, Shout on me if it wont work :P

U2l6xrt.png

Link to comment
Share on other sites

I am also having this problem. My image is a 5247x7826 8-bit bitmap. I am able to complete my editing operations successfully (I simply want to flip the image horizontally). However, when I go to save I get the same "Preview, file size: (error)" and then the "There was an unspecified error while saving the file." when I try and save it as an 8-bit bitmap.

My computer has 2GB of RAM, with 700mb free at the time I try to save (PDN is using 524). I'm not sure if it is memory related, the sticky post seemed to indicate I would be getting different errors. I did try saving to a different location as to the above suggestion.

Link to comment
Share on other sites

I am also having this problem. My image is a 5247x7826 8-bit bitmap. I am able to complete my editing operations successfully (I simply want to flip the image horizontally). However, when I go to save I get the same "Preview, file size: (error)" and then the "There was an unspecified error while saving the file." when I try and save it as an 8-bit bitmap.

My computer has 2GB of RAM, with 700mb free at the time I try to save (PDN is using 524). I'm not sure if it is memory related, the sticky post seemed to indicate I would be getting different errors. I did try saving to a different location as to the above suggestion.

Link to comment
Share on other sites

Hi again,

Here's a little more info from my post yesterday. Firstly, I should have said I am using v3.36.3158.38068 (same as original poster Rick), and my OS is XP Pro up-to-date (same as Rick). Thanks AmadeusX - I tried saving to a different location but results were the same.

To try to show the weird nature of the problem, here are results for four original files (2 have the error and 2 don't). You can see that even though IMGP1614 is bigger than IMGP1785, IMGP1614 is OK and IMGP1785 has the error. I then used Xnview to save the files (the ones with the '-2' suffix) with JPEG quality set to 100% but no other changes. Now IMGP1614-2 works even though it is much bigger than IMGP1785. And even though IMGP1785 increased in size in going to IMGP1785-2, it went from having the error to being OK. All files are 3008 x 2000 pixels.

File Size File Name Works?

2,198,226 IMGP1614.JPG OK

2,959,569 IMGP1614-2.jpg OK

1,789,003 IMGP1722.JPG OK

2,448,676 IMGP1722-2.jpg OK

3,687,074 IMGP1762.JPG Error

3,741,297 IMGP1762-2.jpg Error

2,161,382 IMGP1785.JPG Error

2,894,886 IMGP1785-2.jpg OK

The problem seems to be related to some combination of pixel size and file size. Rick's fail with < 1MB files, but over 8 megapixels. Mine fail with > 2MB files, but just 6 megapixels. Unearthly is playing with 40 megapixel files (!), not sure of file size. I'm confused. Are we the only 3 people with this problem?

Pete

Link to comment
Share on other sites

Hi again,

Here's a little more info from my post yesterday. Firstly, I should have said I am using v3.36.3158.38068 (same as original poster Rick), and my OS is XP Pro up-to-date (same as Rick). Thanks AmadeusX - I tried saving to a different location but results were the same.

To try to show the weird nature of the problem, here are results for four original files (2 have the error and 2 don't). You can see that even though IMGP1614 is bigger than IMGP1785, IMGP1614 is OK and IMGP1785 has the error. I then used Xnview to save the files (the ones with the '-2' suffix) with JPEG quality set to 100% but no other changes. Now IMGP1614-2 works even though it is much bigger than IMGP1785. And even though IMGP1785 increased in size in going to IMGP1785-2, it went from having the error to being OK. All files are 3008 x 2000 pixels.

File Size File Name Works?

2,198,226 IMGP1614.JPG OK

2,959,569 IMGP1614-2.jpg OK

1,789,003 IMGP1722.JPG OK

2,448,676 IMGP1722-2.jpg OK

3,687,074 IMGP1762.JPG Error

3,741,297 IMGP1762-2.jpg Error

2,161,382 IMGP1785.JPG Error

2,894,886 IMGP1785-2.jpg OK

The problem seems to be related to some combination of pixel size and file size. Rick's fail with < 1MB files, but over 8 megapixels. Mine fail with > 2MB files, but just 6 megapixels. Unearthly is playing with 40 megapixel files (!), not sure of file size. I'm confused. Are we the only 3 people with this problem?

Pete

Link to comment
Share on other sites

Oops! We should read the rules more carefully - this topic has been covered before. I used the search function on "unspecified error while saving" and found a couple of other threads. The best was probably http://paintdotnet.forumer.com/viewtopic.php?f=10&t=22216&hilit=unspecified+error+while+saving (sorry, haven't figured how to do this shorthand). While there's no fix, there's a couple of workarounds:

1. david.atwell wrote: I got the same error, but I got around it by first saving it as a lossless type (such as .PNG or .PDN), then reopening that image and saving as a .JPG.

2. Rick Brewster said: Best bet is to open it in a program that will take it, then copy+paste it over to Paint.NET.

I tried workaround 1 on my most troublesome file and it worked fine. Not ideal, but hopefully the problem will go away with a later release of Paint.NET, the GDI+ codec, or whatever.

Pete

Link to comment
Share on other sites

Oops! We should read the rules more carefully - this topic has been covered before. I used the search function on "unspecified error while saving" and found a couple of other threads. The best was probably http://paintdotnet.forumer.com/viewtopic.php?f=10&t=22216&hilit=unspecified+error+while+saving (sorry, haven't figured how to do this shorthand). While there's no fix, there's a couple of workarounds:

1. david.atwell wrote: I got the same error, but I got around it by first saving it as a lossless type (such as .PNG or .PDN), then reopening that image and saving as a .JPG.

2. Rick Brewster said: Best bet is to open it in a program that will take it, then copy+paste it over to Paint.NET.

I tried workaround 1 on my most troublesome file and it worked fine. Not ideal, but hopefully the problem will go away with a later release of Paint.NET, the GDI+ codec, or whatever.

Pete

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...