I am trying to create a Chrome extension with a form uploading an image as follows:
<form method="post" enctype="multipart/form-data"> <p><input type="file" name="image"></p> <p><input type="submit" value="Mark"></p> </form>
I would like the “action” of this form to be a servlet in JAVA that runs the code that converts this image and the response will be “transformed”.
I was thinking about other options, such as executing a JAR with code that converts the image, but I don't know if this is possible.
Is it possible to include JAVA code that controls the image in another inside the Chrome extension?
Many thanks to Spain.
source share