Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Quickly display large images

Quickly display large images

Scheduled Pinned Locked Moved Visual Basic
questionwpfwcfgraphicsperformance
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    NaserAbiat
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups