Image loading problem with GDI+ API

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • urneel@gmail.com

    #1

    Image loading problem with GDI+ API

    Hi group,

    Iam able load image (*.bmp,&tiff, *jpg) on Cstatic box with bitmap
    property using GDI+ API's .
    problem is when tiff image of 80MB size or greater takes more time
    which is uncosiderable.
    and i wud like to reduce the size before any process.

    please guide me how to proceed.

    thanks in advance
    Neel

  • Marcin Grze;bski

    #2
    Re: Image loading problem with GDI+ API

    Hi,

    When you had problems with OutOfMemory on Image.FromFile( fileName).
    You should consider of using Image.FromFile( fileName, true),
    that will use the original PixelFormat of loaded image.

    But if you want to load only a part of image, then you should
    consider of using the specialized library because there is
    no such functionality in a .NET 1.X.

    HTH
    Marcin

    urneel@gmail.co m napisa?(a):[color=blue]
    > Hi group,
    >
    > Iam able load image (*.bmp,&tiff, *jpg) on Cstatic box with bitmap
    > property using GDI+ API's .
    > problem is when tiff image of 80MB size or greater takes more time
    > which is uncosiderable.
    > and i wud like to reduce the size before any process.
    >
    > please guide me how to proceed.
    >
    > thanks in advance
    > Neel[/color]

    Comment

    • urneel@gmail.com

      #3
      Re: Image loading problem with GDI+ API

      Marcin Grze ... thanks for ur kind help..

      Comment

      Working...