I have an HTML page with Javascript code. It must be done first before it can be converted to an image.
I am aware of projects like wkhtmltoimage, PhantomJS, khtmltopng, webkit2png, PrinceXML and html2image. I have implemented several of them, but I am trying to find a pure Java solution that Process should not use to execute the command. Any help would be great, thanks!
edit: I looked at Cobra, however it seems that JS support is still in dev and it does not parse my html file properly.
Or, if there are other ways to do this, please let me know. I'm just trying to find the best possible solution.
source share