Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9007133
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T01:36:19+00:00 2026-06-16T01:36:19+00:00

I load an image in my web application using the following code : Bitmap

  • 0

I load an image in my web application using the following code :

    Bitmap oCanvas = (Bitmap)Bitmap.FromFile(Server.MapPath("Images\\2.jpg"));
    Graphics g = Graphics.FromImage(oCanvas);
    Response.ContentType = "image/jpeg";
    oCanvas.Save(Response.OutputStream, ImageFormat.Jpeg);
    Response.End();
    g.Dispose();
    oCanvas.Dispose();

Now how to write on this image by mouse and save the result as an image ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T01:36:20+00:00Added an answer on June 16, 2026 at 1:36 am

    In order to let the end user write on the image using his mouse, you need a client-side ActiveX control on your page. That will only work on Windows PCs and it can get pretty complicated quickly.

    Another option would be to host the image in a Flash application, which could run on all platforms (except iOS 🙂 You can find an example of that here: http://active.tutsplus.com/tutorials/games/create-a-basic-drawing-application-in-flash/

    And yet a third option would be to use an HTML5 Canvas + client-side JavaScript. Not all browsers support the HTML5 (pre-)standard yet. A good example you can find here: http://www.williammalone.com/articles/create-html5-canvas-javascript-drawing-app/#demo-complete, and another one here: http://www.codicode.com/art/how_to_draw_on_a_html5_canvas_with_a_mouse.aspx

    Good luck!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

A function in my application does the following: Capture Web Page using Snoopy Load
I'm trying to load in some decently large images into a web application. The
I am using Spring 3.0.7 for my web application. I want to load an
For an image hosting web application: For my stored images, is it feasible to
I need to load an image from a web in a simple Java stand
Here is my code: public partial class Image : System.Web.UI.Page { protected void Page_Load(object
Because I want to do things like load images from the web (see this
I have developed an image uploading application that uses Flash to load an image,
I am developping a web application by using the ASP .NET MVC 3 framework.
I have an asp.net/C# web application. I have an image steaming .aspx page to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.