load gif file

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • asmapanjabi
    New Member
    • Jan 2008
    • 10

    load gif file

    hi
    im trying to load gif file
    Image img1 = Image.FromFile( iSelected);
    it is throwing Outofmemory Exeption
    Can ne 1 help me for this?
  • debasisdas
    Recognized Expert Expert
    • Dec 2006
    • 8119

    #2
    Are you trying to load a very large file ?

    Comment

    • asmapanjabi
      New Member
      • Jan 2008
      • 10

      #3
      im am working with C#.net 1.1 desktop application.
      The size of image is 4kb and ram size is 256mb
      As soon as Image img1 = Image.FromFile( iSelected); executes it throws an memoryexception

      Comment

      Working...