471,570 Members | 940 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,570 software developers and data experts.

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

Feb 17 '06 #1
2 1623
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

ur****@gmail.com napisa?(a):
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


Feb 17 '06 #2
Marcin Grze ... thanks for ur kind help..

Feb 20 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Shailaja Kulkarni | last post: by
3 posts views Thread by woth | last post: by
12 posts views Thread by Lance | last post: by
14 posts views Thread by Steve K. | last post: by
reply views Thread by XIAOLAOHU | last post: by
reply views Thread by leo001 | last post: by
reply views Thread by lumer26 | last post: by
reply views Thread by lumer26 | last post: by
reply views Thread by lumer26 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.