Size of Bmp .net 2.0 can load

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • comphead
    New Member
    • Aug 2007
    • 9

    Size of Bmp .net 2.0 can load

    Good who knows max sizes(dimension s) of bmp file, which can load .net 2.0


    image 12000X10000(500 M) - load successful
    image 15000X12000 - load error


    Help plz,,,,
  • Plater
    Recognized Expert Expert
    • Apr 2007
    • 7872

    #2
    It depends on the amount of memory in the computer.
    [code=c#]
    NumPixels=12,00 0 * 10,000;
    BytesPerPixel=4 ;//32bit color
    TotalBytes= NumPixels*Bytes PerPixel;
    //TotalBytes = 457.763671875 Megabytes
    [/code]
    So that's almost 500megs of used memory.

    Where as the one that fails requires 1373.291015625 Megabytes of memory, or 1.34 Gigabytes

    Comment

    Working...