OUT OF Memory
-
I can't able to load large images in C#. The loading time to get OUT OF MEMORY Exception.Please help me...... :(( :((
Continue...
-
I can't able to load large images in C#. The loading time to get OUT OF MEMORY Exception.Please help me...... :(( :((
Continue...
Jeeva Jose wrote:
I can't able to load large images in C#.
Let us see your code.
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia How to use google | Ask smart questions
-
I can't able to load large images in C#. The loading time to get OUT OF MEMORY Exception.Please help me...... :(( :((
Continue...
can't able? you don't have to! it's the computers fault! damn!
Work @ Network integrated solutions | Flickr | A practical use of the MVC pattern
-
I can't able to load large images in C#. The loading time to get OUT OF MEMORY Exception.Please help me...... :(( :((
Continue...
i think you should increase your RAM.
-
Jeeva Jose wrote:
I can't able to load large images in C#.
Let us see your code.
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia How to use google | Ask smart questions
Try to load the image 10248 W and H 14173. Sure U will get Exception
Continue...
-
I can't able to load large images in C#. The loading time to get OUT OF MEMORY Exception.Please help me...... :(( :((
Continue...
C# does not do anything optimised to load imags. Multiple your width x height x 3 and you have the minimum number of bytes needed to load an image. No way around that without seeking out some sort of third part tiling library
Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
-
Try to load the image 10248 W and H 14173. Sure U will get Exception
Continue...
It can be done, check out Paint.NET[^]. Study the sources maybe it will help you out.
Work @ Network integrated solutions | Flickr | A practical use of the MVC pattern
-
I can't able to load large images in C#. The loading time to get OUT OF MEMORY Exception.Please help me...... :(( :((
Continue...
A possible way to load large images would be to convert the file to a BMP or similar, strip out the header, and then use a FileStream to read a block of bytes (you'll need the width of the image, which you can get from the header). Then you'd have to turn your bytes into a bitmap. In a windows bitmap, there should be three bytes per pixel, and in the order BGR. Of course, there are a few problems i see. It will probably be quite slow, rather difficult, you'd have to be able to convert the whole image on the fly before using it, again, thats gonna suck up some time, especially with such HUGE images.
My current favourite word is: Bacon!
-SK Genius