Hi All , can some one pls post me the code to convert a text document to tiff image using Java ImageIO.
Thanks in adv
Welcome to the Java Programming Forums
The professional, friendly Java community. 21,500 members and growing!
The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.
>> REGISTER NOW TO START POSTING
Members have full access to the forums. Advertisements are removed for registered users.
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.