Jump to content

eslwang

Newbies
  • Posts

    3
  • Joined

  • Last visited

eslwang's Achievements

Newbie

Newbie (1/14)

  • First Post
  • Conversation Starter
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. Hi Leo, thank you again, the other is in Messages You teach me fishing, not just give me the fish. I'll try your method and keep in touch.
  2. Thank you very much for your reply. Yes, I know that this forum is just about Paint.Net, and I have found a topic which may be the same as mine: but I can not find any solution in that post except that he finally can handle large images over 2GB after your tips (you said: I use either CreateDIBSection() or VirtualAlloc() to allocate the memory), and I'm using CreateDIBSection, too, but still have this 2GB limitation. I've installed Paint.Net of version 3.5.8, and found that I can use it to create an image of 20000*28000 which is over 2GB, then I have an idea to post the quesion here.
  3. I want to use CreateDIBSection to create a DIB section of >2GB, and I prefer to use GDI functions, not GDI+ or .Net. I know I can not accomplish this task on 32-bit Windows, so I tried on 64-bit version. Then I found that I can create several 2GB DIB sections but can not create one which is over 2GB, even if a few bigger than 2GB is impossible (such as 2.1GB). The test platform is 64-bit Windows 7 with 8GB physical memory. It seems that there's a 2GB limitaion, is that true? Does GDI object still have this 2GB limitation on 64-bit OS? But I can allocate one memory block much more than 2GB on the same system using malloc or some functions like that. I need your help, thank you.
×
×
  • Create New...