Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Java code in chrome extension

I am trying to build a Chrome Extension with a form uploading an image like this:

<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 would be a servlet in JAVA that executes a code that transforms this image, and the response would be the image "transformed".

I've thought about other options like executing a JAR with contains the code that transforms the image, but I don't know if is this possible.

Is there any option to include a JAVA code that operates an image into another inside the Chrome Extension?

Many thanks from Spain.

like image 761
user1138453 Avatar asked Nov 14 '22 12:11

user1138453


1 Answers

I am just keep my answer short and sweet. It appears that as of now java is not supported in chrome extensions. An issue was filed for the chromium project, which is the chrome browser. The ticket appears current as the last post was just a few months ago, status still remains won't fix. A number of threads point to this same article below:

http://code.google.com/p/chromium/issues/detail?id=30258

like image 113
Richard Chassereau Avatar answered Feb 07 '23 18:02

Richard Chassereau