Forums Register Login

.doc to .tiff conversion

+Pie Number of slices to send: Send
Hi All,

I would like to know how to convert a doc file into a tiff file.
It would be very helpful for me if anyone can provide source code as well.
I know that there lot of third party tools to do this.
But i want to do within java.

Thanks a lot.
+Pie Number of slices to send: Send
"wicked_yudi112233", please read the private message I just sent you regarding an important administrative matter.
+Pie Number of slices to send: Send
 

Originally posted by Paul Clapham:
"wicked_yudi112233", please read the private message I just sent you regarding an important administrative matter.



"wicked_yudi112233".
Please do take the naming policy seriously. That is one of the things we really do stress on here at the ranch.
This was already brought to your notice by Nitesh Kant in this thread.
Please click on this edit profile link to adjust your screen name.
+Pie Number of slices to send: Send
Hi there,

Also please note that Javaranch is NotACodeMill, we try to nudge people in the right direction as opposed to giving out source code

Can I ask why you don't want to use a third party library?
+Pie Number of slices to send: Send
For an all-Java approach I think the best option is to use a library like Apache POI for reading DOC files. You would then write code that uses the POI API for getting at the content and style information of the document, and use that to create an in-memory image (like a BufferedImage). The image can then be stored as a TIFF file. This would be a decent-sized project for even moderately complex DOC files, though - probably at least a week or two.
I'm not dead! I feel happy! I'd like to go for a walk! I'll even read a tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 2198 times.
Similar Threads
Convert PDF files to Tiff files
merge multiple documents (Eg: Tiff, DOC, PDF) in to a single TIFF file
Image viewer
Microsoft office files -> jpg
Converting text files to TIFF
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 06:29:49.