How Do I Determine Type of Graphic?
by A DeLew » Tue, 23 Aug 2005 04:45:37 GMT
I use Office 200s. Is there anyway to determine the type of graphic (.jpg,
.bmp, etc) that is inserted in a Word or PowerPoint doc?
Also, when pasting a graphic into Word (2003) why does sometimes the graphic
displays immediately and another will have up to a 30 second delay before
displaying?
AND, while we're on the subject, is there anyway to change the Paste default
type for graphics? I'm not sure what it is as I don't know how to tell the
graphic type, but when I go to Paste Special HTML is always the default
choice.
Re: How Do I Determine Type of Graphic?
by Jezebel » Tue, 23 Aug 2005 07:02:30 GMT
Once the graphic is inserted, it is a WMF regardless of the format it had
before insertion.The quality and size of the WMF is determined in part by
the format of the source graphic, and in part by any modifications you might
have made after insertion.
The speed issue is worst if the graphic was inserted using copy and paste:
if you copied directly from a graphics application, what you have in Word is
not a simple graphic but an application object. So when you activate the
graphic in Word you're actually starting in instance of the graphic
application.
To improve the quality of the graphics and Word's performance in dealing
with them:
1. Prepare the graphic in a graphics application, setting the size and
resolution you want to end up with in Word.
2. Save the graphic as a file (GIF or JPG depending on graphic type)
3. Import the graphic into Word using Insert > Picture > From File
4. Make no changes to the graphic after insertion.
Re: How Do I Determine Type of Graphic?
by Q2Fyb2xpbmU » Tue, 23 Aug 2005 08:07:02 GMT
Hi Jezebel,
In the past I have had to try to insert company logos into Word 2002.
Usually I have had problems getting a decent resolution/file size (partly
because I only had available the Windows default graphics application eg.
Paintbrush).
The best solution I could find was to insert the larger, high resolution bmp
into Word, and then, in order to reduce the file size, Cut and Paste Special
as a different file type from *within Word*. GIF or PNG seemed to have the
best results.
Would this cause the slow speed problems you are referring to?
Cheers,
Caroline.
Re: How Do I Determine Type of Graphic?
by Jezebel » Tue, 23 Aug 2005 10:04:26 GMT
Not something I'd make dogmatic assertions about either way, other than to
say that Word is REALLY BAD at manipulating graphics. Actually doubt it
would cause speed problems, but it is likely to cause file bloat.
There are plenty of free graphics apps around these days (MS Imaging, or the
built-ins that come with scanners and digital cameras.)
Re: How Do I Determine Type of Graphic?
by Q2Fyb2xpbmU » Tue, 23 Aug 2005 11:30:03 GMT
'd agree with the comment about Word being terrible about manipulating
graphics. The method I used was mainly because I was desperate to get a logo
down to a small file size without it becoming impossible fuzzy. It seemed to
work, and we never found any file bloat when the file was used in production
(this was a letterhead of course, so there was a lot of that). But if I have
to do it again, I might post to the graphics group and see what solutions
they come up with.
Cheers,
Caroline.
"Jezebel" wrote:
Similar Threads:
1.Determine when OLE server is done
I am using the acOLECreateEmbed and acOLEActivate actions
to create a Word object for a field in an an Access form.
I'd like to be able to determine in my VBA code when the
user has closed Word. How can this be done?
2.determining filename of inserted graphic
Does anyone know how to determine the filename of a
graphic that has been either embedded or inserted-by-link
in a Word 2000 document?
3.Determine if cursor on a graphic
Does anyone know how to programmically determine if the
cursor/current selection resides on ANY type of graphic?
Thanks a bunch.
4.Determine type of OLE Control Object
I'm trying to determine how I can identify the type (textbox, label,
checkbox, listbox, combobox, ...) of an OLE Control Object that is on a
slide, programatically.
I want to be able to click on a shape in design view, then run a macro that
will tell me the type of a OLE Control object I have selected. Then, if it
is one that has a Text property, I want to display that. If it has a
caption property, I want to display that. If it has a list of items
(listbox or combo box), I would like to display the text associated with
each of the items.
I've got some rudimentary code that handles the ones with captions and
textboxes, but have not figured out how to iterate through the items in the
list of a combo or listbox. I know it has to be something like:
oShp.OLEFormat.Object.????????
5.HOWTO: Determine Application Type
I tried to find this out today, but couldn't find any answered posts (it's
been asked numerous times!
In the OnConnection method:
if( application is Interop.Excel.Application )
{
MessageBox.Show("Excel Application");
}
else if( application is Interop.Access.Application )
{
MessageBox.Show("Access Application");
}
You need to reference Interop.Excel, Interop.Access and System.Windows.Forms
for this example.
--
Rob Lorimer
Extreme Systems Ltd (NZ)
6. Determine type of control??
7. Determining Type of Label Used
8. Determining version and file types