Quickly display large images
Visual Basic
1
Posts
1
Posters
0
Views
1
Watching
-
Hi I'm writing an application to display large tiff images. All of the images have the PixelFormat.Format1bppIndexed so the FILE SIZE of them will not be so big however The DIMENTIONS are very large. for example the file size of an image with dimensions 29350 x 7172, is only 6.7 MB. The Image.FromFile method loads the above image in the memory quickly. Now I have the image loaded in memory, how can I display it fast? Binding the image object to a PictureBox causes the "Out of memory" error. I tried drawing portions of image using "Clone" method in a rectangular region of the form and scroll bars, inside the OnPaint event. but it is too slow :( Can any one direct me to make it works fast? Thanx