J-Painter. Online drawing component.
    Product Home     Download     Purchase     Site Map     About     Contact

GUI features

The developer can define what drawing tools, colors, and controls to display, set up custom clip arts for insertion in the drawing. The GUI can be based on predefined customizable templates or implemented in HTML and JavaScript.

See the examples: Sketch Map Medicine Diagram editors.

Saving the image.

The image can be delivered to the server by one of the following methods:

  • File upload: In that case you have to implement a server-side script that receives file upload and specify the script's URL with the applet's parameter save.
  • The image can be requested in JavaScript. The editor returns the image as BASE64 string. Then you can send it to the server using a regular HTML form or AJAX.

The server-side script can be implemented in any language: PHP, .NET, ASP, JSP, etc. (code examples are included in the download package).

Loading the image.

  • The image can be loaded from the server by its URL.
  • The image can be set from BASE64 string in JavaScript.
  • The image can be opened from the user's computer.

 

Read the developer's guide

Download the editor & documentation

Performance compatibility and limitations