Re: Read Picture Type?
- From: "JethroUK©" <reply@xxxxxxxxx>
- Date: Mon, 29 May 2006 02:45:02 GMT
can you see what the code does?
can you see it replaces any/all picture 'types' with wmf?
can you see it would be wise - to only replace the ones that are 'not' wmf
already?
can you see it nessessary to be able to read the existing type to
differentiate?
if you are saying it can't be done - just say so - m.s. word picture typing
is only a very, very small part of my life
"Jezebel" <warcrimes@xxxxxxxxxxxxxx> wrote in message
news:uFlxWXsgGHA.1324@xxxxxxxxxxxxxxxxxxxxxxx
You're resolutely missing the point. Word supports any number of graphicsfilters
filters, for the file formats you mention and umpteen others. These
are known as 'converters' for good reason: they convert to and from Word'spng,
internal graphic format. The internal format is WMF.
"JethroUK©" <reply@xxxxxxxxx> wrote in message
news:3bseg.3785$002.983@xxxxxxxxxxxxxxxxxxxxxxx
m.s. word is compatable with many different picture types. jpeg, gif,
willbitmap, metafiles - i cant help it if you dont know that, and a
condescending attitude wont disguise ignorance - the google archives
withincarve this thread in stone for years - so the wiser approach would be to
admit you've waded out of your depth & leave the thread with your
credibility intact
f.y.i. i have already written the code that works perfectly:
Sub CompressPictures()
Dim x%
With ActiveDocument.InlineShapes
For x% = 1 To .Count
.Item(x%).Select
Selection.Cut
Selection.PasteSpecial , , wdInLine, , wdPasteMetafilePicture
Next
End With
End Sub
i merely would prefer to read a picture type before i write it - if you
dont
know - leave it for someone who does - k
"Jezebel" <warcrimes@xxxxxxxxxxxxxx> wrote in message
news:#ti1GiqgGHA.3572@xxxxxxxxxxxxxxxxxxxxxxx
Wishful thinking is not a good basis for writing code. As you'vea
demonstrated already, it doesn't work.
"JethroUK©" <reply@xxxxxxxxx> wrote in message
news:yUleg.435$s4.399@xxxxxxxxxxxxxxxxxxxxxxx
so your statement "Graphics, once inserted into the document, don't
have
type."
isn't true - they do have a 'type', which can be defined/written
picturem.s.
word - i just cant find a way to read the type before writing it -
hence
my
problem & my post
"Jezebel" <warcrimes@xxxxxxxxxxxxxx> wrote in message
news:eX3BI$kgGHA.4196@xxxxxxxxxxxxxxxxxxxxxxx
"JethroUK©" <reply@xxxxxxxxx> wrote in message
news:MUdeg.3367$Z7.184@xxxxxxxxxxxxxxxxxxxxxxx
if all graphics are windows metafiles - how come i can cut a
'type'and
paste it back as .jpeg, .gif, png or bitmap (all have different
numbers)
This is functionality of the clipboard, not of Word.
.
- Follow-Ups:
- Re: Read Picture Type?
- From: Jezebel
- Re: Read Picture Type?
- References:
- Read Picture Type?
- From: JethroUK©
- Re: Read Picture Type?
- From: Jezebel
- Re: Read Picture Type?
- From: JethroUK©
- Re: Read Picture Type?
- From: Jezebel
- Re: Read Picture Type?
- From: JethroUK©
- Re: Read Picture Type?
- From: Jezebel
- Re: Read Picture Type?
- From: JethroUK©
- Re: Read Picture Type?
- From: Jezebel
- Read Picture Type?
- Prev by Date: Re: Read Picture Type?
- Next by Date: Re: Read Picture Type?
- Previous by thread: Re: Read Picture Type?
- Next by thread: Re: Read Picture Type?
- Index(es):