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. Web Development
  3. ASP.NET
  4. Bitmap Save dialog

Bitmap Save dialog

Scheduled Pinned Locked Moved ASP.NET
questiongraphics
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.
  • O Offline
    O Offline
    oskardiazdeleon
    wrote on last edited by
    #1

    Hi all, I am generating an image on the fly and I am trying to prompt the user to save this image on their drive. Response.ContentType = "image/gif"; bmp.Save("C:\\signature.bmp", ImageFormat.Bmp); Response.Clear(); Response.AppendHeader("Content-Disposition", "attachment; filename=signature.gif"); Response.ContentType = "image/gif"; Response.Write(bmp.ToString()); Response.End(); bmp.Dispose(); the dialog pops open but when I save the file it generates a file but its no the image its an empty object. How do I prompt the user the save dialog for this bitmap? any ideas?? thanks

    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