• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

.doc to .tiff conversion

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Sheriff
Posts: 28346
97
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"wicked_yudi112233", please read the private message I just sent you regarding an important administrative matter.
 
Bartender
Posts: 11497
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.
 
author
Posts: 3285
13
Mac OS X Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
These are not the droids you are looking for. Perhaps I can interest you in a tiny ad?
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic