creating an lossless image of a text document

eon

2[H]4U
Joined
Oct 11, 2003
Messages
2,218
I have a .doc that im trying to use as an template in another program. I cannot simply copy/paste the document into this other app, I have to recreate it using textboxes, lines, rectangles, etc and its becoming a pain to get it looking exactly like the original document.
This would be so much easier if I can simply create image of the original document and embed it into my other app. However I'm now having trouble creating a high quality image of this word document. Doing a print screen and saving as TIFF or PNG in MS paint fails to preserve the original text quality.
Is it possible to do this some other way? thanks
 

Snowknight26

Supreme [H]ardness
Joined
May 8, 2005
Messages
4,386
Doing a print screen and saving as TIFF or PNG in MS paint fails to preserve the original text quality.

Either you're doing it wrong (because it does preserve quality) or you're scaling the image, in which case you'd be better off with some kind of vector-based graphic, a la SVG.

Have an example of what you mean by 'fails to preserve the original text quality?'
 

phide

Fully [H]
Joined
Jun 11, 2004
Messages
16,693
I would try a third-party screen capture utility like FastStone. Otherwise, you can try saving to a PDF (or, failing that, using a PDF printer to print to a PDF, then save the PDF as an image file [which is a function your PDF reader may or may not have]).
 

Void

[H]ard to Tame
Joined
Oct 18, 2006
Messages
2,294
If your on Vista or Windows 7 why can't you use Snip-it to get the image you want and save it? Unless i'm understanding you wrong.
 

Demon10000

Supreme [H]ardness
Joined
Aug 20, 2006
Messages
4,502
This sounds exactly like what a PDF is for. If, for some odd reason, that doesn't work -- try XPS.
 

Snowknight26

Supreme [H]ardness
Joined
May 8, 2005
Messages
4,386
Sounds exactly what a .doc is for, but he can't use it obviously. PDF probably won't work for his application either.
 

eon

2[H]4U
Joined
Oct 11, 2003
Messages
2,218
Either you're doing it wrong (because it does preserve quality) or you're scaling the image, in which case you'd be better off with some kind of vector-based graphic, a la SVG.

Have an example of what you mean by 'fails to preserve the original text quality?'

To be more exact I was using Sql Reporting Services in Visual Studio. I was given a word doc as a template that i needed to convert into a static section for a sql report. When I did a print screen then saved as a png in paint, then inserted the image into Visual Studio, the image was clearly not the same quality as it was when just looking at it in Word.

I have already did all the grunt work in just manually recreating the document layout in Visual Studio but I'll see if some of these other suggestions would have worked whenever I find time.
 

phide

Fully [H]
Joined
Jun 11, 2004
Messages
16,693
I have already did all the grunt work in just manually recreating the document layout in Visual Studio but I'll see if some of these other suggestions would have worked whenever I find time.
Perhaps an alternative solution would be to open the PNG in an image viewer that supports variable window opacity. The idea being to have an overlay of the document to use as a reference (which you'd obviously need to show/hide frequently).

Naturally there's always the "print it out and tape it to the monitor routine". Might work okay for you.
 

eon

2[H]4U
Joined
Oct 11, 2003
Messages
2,218
Can you save the word doc as html and pull it into visual studio?
nope you can only add the report widgets to a layout: textboxes, data tables, charts, images, etc.
You can only copy/paste text into a report and all formatting is stripped.
 
Top