Re: How to convert into jpeg bitmaps that were copied over from Pa



Hello macropod.

Thank you for insisting on this point (format of embedded data stream) I was
apparently disregarding...

I tested the following:

Starting from a screen shot I have pasted into MSPaint, I have:
1. selected All from MSPaint, ctrl-C, switched to Word, ctrl-n (new doc),
ctrl-V, saved into file test1.docx
2. saved as type JPEG into file screenshot.jpg, switched to Word, ctrl-n
(new doc), insert/picture/selected file screenshot.jpg, saved into file
test2.docx.

test1.docx is 253 Kb
test2.docx is 128 Kb

Since you say that in both cases Word stores jpeg data streams, these two
files contain one jpeg data stream each. The file size difference is then due
to either a different number of pixels or a different jpeg compression.

Note that the new option "Picture Tools Format"/"Compress Picture" does not
help file test2.docx to reach the file size of test1.docx, even if I choose
96ppi!...

I believe your second option is the one to go, since the number of pixels of
the source data stream must be around 100dpi (the one of the monitor), which
is already not very high since low end printers already yield 300dpi... so i
need to tackle the compression.

My dream is to have a command in Word that PASTEs into the document in the
format and the definition I choose upfront in some settings. I need to know
if I can add options in the Paste Special dialog box and hook in there my own
code... just dreaming!

Thank you for your help.
--
Stefano Gatto


"macropod" wrote:

Hi Stefano,

I'll say it again: the images you've pasted into Word are already in jpeg format. The only thing you can do to reduce Word's file
size while keeping the images embedded is to reduce the image size (ie pixel count) or, possibly, increase the amount of jpeg
compression. If you extract the images, you could link to them to reduce the Word file's size, but you'll still have a set of image
files that you should take into account when calculating the overall storage requirements.

--
Cheers
macropod
[MVP - Microsoft Word]


"Stefano Gatto" <StefanoGatto@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:36143837-BE19-4B0B-A3D4-AAF9E0378BDC@xxxxxxxxxxxxxxxx
Thank you for your answer.

Actually I am looking for a fast and cheap way to include portions of screen
shots into Word documents. Therefore I want to minimize the number of
keystrokes and possibly reduce to zero the mouse moves & clicks.

I select the application window to capture, alt-PrintScrn, alt-tab to
MSPaint, ctrl-V, select the rectangle to import into Word with the mouse,
ctrl-c, alt-tab to Word, ctrl-v.

However this method creates huge doc files.

Ideally I would like this data stream to be converted into a lighter format,
anywhere in its path from MSPaint to MSWord. It is not important for me where
this conversion exactly takes place. Most probably MSPaint cannot Copy in
jpeg format, so my hope is that Word could paste & convert or allowed the
user to paste and to subsequently convert with the mean of one simple command
(what i describe below).

I know that I can save to disk in jpeg format from MSPaint and then insert
the file in Word. However this solution is slow since it implies using the
disk, choosing a filename, and eventually erasing this file... I would prefer
not to go through the disk.

Also, I would like to use standard products only, since I am called to do
this job on different computers, where i cannot install additional programs...

I do not have the impression to ask something that is very compex or so
unusual as a need. I think many many people have this same need to insert
portions of screen shots in Word docs and would like to do this rapidly
without purchasing any additional software.

I am pretty sure there is a rapid way, probabyl a macro converting all
images into a given document could be the solution, but I wanted to be sure
that something simplier does not exist first.
--
Stefano Gatto


"macropod" wrote:

Hi Stefano,

Word will have already converted the bitmaps to jpeg format upon the images being embedded.

If they've got more resolution than you need, you can extract the images again, then resize them with an image editor. The
easiest
way to extract the images for this is to scale them all to 100% then save the document as a web page. This will create an html
copy
of the document with an image folder having the document's name. All your images will be in that folder and you'll be able to see
both the file size of each image and, by selecting/opening it, its dimensions.

--
Cheers
macropod
[MVP - Microsoft Word]


"Stefano Gatto" <StefanoGatto@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:E801FD46-3A45-4F31-9B3E-99CEEBC2A63C@xxxxxxxxxxxxxxxx
Hello,

I am copying from Paint (mspaint.exe) portions of bitmaps and am pasting
them into the text flow in a word 2003 document.

In order to decrease the file size, does someone know how to convert these
bitmaps into jpeg format so they take less space?

It looks like it's possible to install a converter. When I right-click on
the pasted image I can choose "Bitmap Image Object / Convert...", but I have
no jpeg option (I have only PBrush and Picture choices).

Thank you.

Stefano Gatto
Geneva (CH)




.