Jump to content

I have a question on Paint.NET's capabilities.


Recommended Posts

The maximum resolution (as far as pixels) is limited only by the addressable RAM in your computer. The only color depth Paint.NET supports is 32 bpp.

Doesn't it also support 24 bpp and 8 bpp?

Space...The Final Frontier. -James Tiberius Kirk; circa 2260s

YLOD VICTIM

Link to comment
Share on other sites

In attempting to load a large TIFF image that is say ~400-600MB uncompressed I only get an error:

The image is 2550 x 50242 or ~128Mpixels x 32 bits = ~512MB of image...

At least that is my estimation. I can load it up with IrfanView and see the image, parameters, etc...

When Paint.Net tries it seems to load the file, but then gives the error:

Not enough memory to load the image.

The peak memory usage for the program is about 421MB according to TaskManager and the machine has 4GB of RAM and about 1.5-2.5GB free. Is it possible some other resource is being consumed?

I do not see excessive GDI objects, handles, etc...

Does the 64-bit version have similar issues?

Is there a native 64-bit version or is the program linked with the flag that allows 4GB of RAM in a 64bit system?

When I create a 1500 x 30000 new image it seems to be happy. When I try to resize it to a 2000 x 30000 new image it crashes. (PDN log attached)

Thanks again for such a nifty program. I have not used it much yet, but it seems like a great little piece of software.

When I create a new 2500 x 30000 image it give the not enough memory error.

pdncrash.log

Link to comment
Share on other sites

No camera, but a scanner that scans long graphs and charts. They are 10'-40' long and 200-300dpi. Most are narrow and black and white, but it can be difficult to edit these to clean them up or assemble cut sheet scans into long single pages. Some paper originals are 80-90 years old.

It seemed to me at least that linking the PDN executable with the /LARGEADDRESSAWARE flag would roughly double the size but that is not being done at the moment. If I get a machine built with the Windows .Net development tools installed, I can see how it works with the bits flipped on an x64 Vista/2008 machine...

Link to comment
Share on other sites

Get yourself a computer with x64 Windows.

I easily created a 2800x60000 picture and was able to even create a layer on it. This is x64 7 with 4GB ram.

Operations do take quite a bit of time :roll: even drawing a line takes several seconds....

sig.jpg.7f312affa740bae49243c4439bc4a244.jpg

Link to comment
Share on other sites

It seemed to me at least that linking the PDN executable with the /LARGEADDRESSAWARE flag would roughly double the size but that is not being done at the moment. If I get a machine built with the Windows .Net development tools installed, I can see how it works with the bits flipped on an x64 Vista/2008 machine...

Paint.NET is written in C#, not C++. Using editbin to flag it with LAA will, on 32-bit systems, mean the difference between a 2GB and 3GB address space, and no significant difference on 64-bit systems. The biggest difference LAA will make is the amount of testing Rick has to do. IOW, not worth it.

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

Get yourself a computer with x64 Windows.

I easily created a 2800x60000 picture and was able to even create a layer on it.

Operations do take quite a bit of time :roll: even drawing a line takes several seconds....

I would have already but for the other applications. It will be great once the rest of the applications are able to run on the 64-bit platform. Hopefully they will be updated or replaced by Spring and we can.

Link to comment
Share on other sites

It seemed to me at least that linking the PDN executable with the /LARGEADDRESSAWARE flag would roughly double the size but that is not being done at the moment. If I get a machine built with the Windows .Net development tools installed, I can see how it works with the bits flipped on an x64 Vista/2008 machine...

Paint.NET is written in C#, not C++. Using editbin to flag it with LAA will, on 32-bit systems, mean the difference between a 2GB and 3GB address space, and no significant difference on 64-bit systems. The biggest difference LAA will make is the amount of testing Rick has to do. IOW, not worth it.

Does this thread address fo 3GB vs 4GB you are referring to in C# vs. C++?

http://connect.microsoft.com/VisualStud ... kID=389429

Link to comment
Share on other sites

That thread does not apply to Paint.NET. The thread talks about C# Assemblies built as x86 portable executables. They will run as x86 even on x64 systems. Paint.NET is built as an AnyCPU PE, so it will run as x86 on x86, and x64 on x64, no modifications needed.

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

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...