aspose file tools*
The moose likes Java in General and the fly likes Some know how to convert a file. Doc to image using java? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Some know how to convert a file. Doc to image using java?" Watch "Some know how to convert a file. Doc to image using java?" New topic
Author

Some know how to convert a file. Doc to image using java?

juliano.pinheiro juliano
Greenhorn

Joined: Aug 17, 2011
Posts: 3
Some know how to convert a file. Doc to image using java?
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 36453
    
  15
Please explain; .doc files are not images but writing, so how can you convert it to an image?

I shall move this discussion; it is too difficult for "beginning".
juliano.pinheiro juliano
Greenhorn

Joined: Aug 17, 2011
Posts: 3
Campbell Ritchie wrote:Please explain; .doc files are not images but writing, so how can you convert it to an image?

I shall move this discussion; it is too difficult for "beginning".



I need to view the file as an image in the browser instead .doc file.
Manuel Petermann
Ranch Hand

Joined: Jul 19, 2011
Posts: 175

This task is not as easy as it may seem to you.
I suggest you have a look at docx4j or apache poi. I believe those libraries are capable of doing what you want.


Please correct my English.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12674
    
    5
Are you talking image as in screen capture - which would be limited to screen size, or whole long document?

PDF is your best bet for a any size document.


Java Resources at www.wbrogden.com
Shahzad Latif
Greenhorn

Joined: Apr 28, 2011
Posts: 28
It is not an easy task to convert the doc files to images using barebone programming. You might use some component for that matter. You may try Aspose.Words for Java. Aspose.Words for Java provides feature of converting doc files to images. This is a simple Jar having an easy to learn and implement API. Please see if this might help in your scenario.


Developer Evangelist @ Aspose. I love to explore and learn new technologies and help other developers along the way.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Some know how to convert a file. Doc to image using java?
 
Similar Threads
convert to pdf file format
How convert Word Doc to HTML/WML/XML?
Converting Doc File into pdf file using java
How to convert PDF file to an image files using java.
convert doc to docx