show large image (more than 10000*10000) problem

some one can help me

I want to show a large bmp photo on panel or form,how can i do

if i use this code it don't work.

Bitmap bitmap1 = new Bitmap("c:\example.bmp");



Answer this question

show large image (more than 10000*10000) problem

  • BinFolder

    im sure you can convert the image to a jpeg, and or cut up the points into seperate files then load them in its own parts in each picturebox perhaps



  • shakalama

    you need to load the Image into a picturebox:

    this.thePictureBox.Image = Image.FromFile(filenameHere);

    is this what you are after



  • jSiegel

    it's aready a jpg photo file,the file less 10mb.
  • kettch

    Well, a 10,000x10,000 24 bit image is always going to be more than 286MB. The standard display stuff provides no way of automatically reducing this.

    Why does the image have to be so large Is there no way to split it up

  • A.Russell

    thePictureBox.Image = Image.FromFile(filenameHere);

    the out of memory exception throw or program become very slow,memory usage >1G


  • Sidheshwar

    this image is a map.

    someone tell me can use memory mapped method ,but i can't known ,somebody can give me a example.thanks!


  • show large image (more than 10000*10000) problem