How to convert Word doc to jpg

P

Patrick Ng

Hi all,

I am writing a webpage which allows a user to upload a Word doc (or .docx),
and the web server has to convert the uploaded doc to a JPG file.

I have been searching for such kind of programming library but to no avail.
I wonder if anyone knows how to do it programmatically?

Thanks in advance!

Regards,
Patrick
 
A

alborg

Hi Patrick:

The ActiveDocument.SaveFormat method doesn't do JPG (at least in MS Word
2003, which is what I use). But...

One of my most favorite (and inexpensive) programs that I use is SnagIt!,
whcih can be downloaded from
http://www.download.com/SnagIt/3000-2192_4-10004813.html. It'll install a
printer object to which you can "print" your documents then have the program
convert it into any number of formats, including JPG, BMP, PNG, PDF, and
about 20 more formats (I'm still using version 7, and since then they've
updated the capabilities even more).

Cheers,
Al
 
G

Gordon Bentley-Mix

What a great tip Al. I use SnagIt all the time - a great little tool for
creating images for use in technical documentation and cheap as chips to boot
- and although I had seen it listed as a "printer", I never considered how it
could be used. Blindness on my part really, since it's not much different
from "printing" to PDF using Acrobat...
--
Cheers!

Gordon Bentley-Mix
Word MVP

Uninvited email contact will be marked as SPAM and ignored. Please post all
follow-ups to the newsgroup.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top