If you just want an image file from the html file, you can capture the screen with the html in view and you will have your image file. Look at the Robot class in java.awt package.
actually i don't want to screen shot . i want to add some html content to pdf , i tired to add that with itext code but i couldn't add . so thought if possible i can convert the html to image and then i can embed that iamge . like we do for jfree chart .
Comment