• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Alternative to MS Paint

 
Ranch Hand
Posts: 1374
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We have a vb/access desktop application that we need to convert into Java Web App. One of the functionalities is, it opens the MS Paint, Let the user draw and save it back to the application. We can't approach in this way because it is web app and user may be using Linux/Mac. So I am looking for an alternative to MS Paint so that I can allow the user to draw in browser window itself. Is there any API for this?
 
Vikas Kapoor
Ranch Hand
Posts: 1374
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any idea?
 
Marshal
Posts: 25682
69
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Since you want it to be run in the browser, that most likely means it would be written in Javascript. I can't imagine a paint application written in Javascript but that doesn't mean a lot. Or perhaps it would be written in Flash -- or as a Java applet.

You don't say what research you've done so far so if you have already had those ideas, now I'm giving them to you again.
 
Vikas Kapoor
Ranch Hand
Posts: 1374
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Paul Clapham wrote:Since you want it to be run in the browser, that most likely means it would be written in Javascript. I can't imagine a paint application written in Javascript but that doesn't mean a lot. Or perhaps it would be written in Flash -- or as a Java applet.

You don't say what research you've done so far so if you have already had those ideas, now I'm giving them to you again.



Thanks Paul for your reply. You are correct that application should be either in JS,Applet or Flash.
I have come across Batik SVG ToolKit. I didn't research much into this yet. Do you have any alternative? Or any other completely different way to achieve the same.
 
Rancher
Posts: 43016
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think browsers support SVG somewhat less than the canvas element, which also has the benefit of being part of the upcoming HTML 5 standard. For a paint-type application bitmap graphics would also be more appropriate than vector graphics.
 
You firghten me terribly. I would like to go home now. Here, take this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic