Hi All , can some one pls post me the code to convert a text document to tiff image using Java ImageIO.
Thanks in adv
Printable View
Hi All , can some one pls post me the code to convert a text document to tiff image using Java ImageIO.
Thanks in adv
What kind of text document?
// Json
Hi Json , thanks for the reply. the document may be a .txt file or a microsoft word.doc....
Thank u
I guess its one thing writing simple text to an image the way you want it but actually converting a word document including layout etc into an image might require something more than ImageIO.
// Json
There's the [shift]+[prtscrn] hotkey in windows, as well as numerous image printers you can find online.
*.txt is easy with Java, cause all you have to do is choose your font, create a Image object, and draw onto it. *.doc is a lot harder cause of the file structure and numerous different things and formattings you can have. You can also write your own .tiff export code, or Google for someone else's.