Go Back  IT Forums > Software > Adobe
User Name
Password
Reply
 
Thread Tools Search this Thread Display Modes

Extracting PNG vector graphics from Word.doc documents?
  #1
Old 09-14-2006, 08:37 AM
AES/newspost
Junior Member


AES/newspost is offline
AES/newspost's Info
Join Date: Jul 2004
Posts: 33
Default Extracting PNG vector graphics from Word.doc documents?

I'm being sent some tech reports in Word.doc format that contain
illustrations that were clearly created originally as vector graphics,
and are now (apparently) in PNG format.

Can I extract some of these graphics in such a way that their vector
character is preserved, and they can be edited in Illustrator or other
vector graphics programs?

I think these graphics must retain some kind of vector information in
the Word document, rather than just being stored as raster graphics,
because if I blow them way up on screen in Word the lines and text
labels remain sharp and unpixelated.

But if I Select, Copy and Paste individual figures from the Word
document into Illustrator documents they seem to be raster only -- or at
least individual objects in the figures are not selectable.

If I print the document to PDF, then Extract the figures from the PDF
document, they sometimes seems to come out as vector images -- but I'm
not certain about this.

Acrobat has an "Export Images" menu command that allows you to pull
images out of a PDF document. Is there such a thing in Word? (I've not
found such.)

GraphicConverter likely to be helpful here?

Word 2004 for Mac v. 11.2.
Reply With Quote
Extracting PNG vector graphics from Word.doc documents?
  #2
Old 09-14-2006, 10:05 AM
Stainless Steel Rat
Junior Member


Stainless Steel Rat is offline
Stainless Steel Rat's Info
Join Date: Sep 2006
Posts: 2
Default Extracting PNG vector graphics from Word.doc documents?

In article <siegman-1AF864.09373014092006@news.stanford.edu>,
AES <siegman@stanford.edu> wrote:
Quote:
Can I extract some of these graphics in such a way that their vector character is preserved, and they can be edited in Illustrator or other vector graphics programs?


No. PNG files are compressed bitmaps very similar to GIF. None of the
original vector information is retained.

--
Rat <ratinox@newsguy.com> \ That and five bucks will get you a
Minion of Nathan - Nathan says Hi! \ small coffee at Starbucks
Reply With Quote
Extracting PNG vector graphics from Word.doc documents?
  #3
Old 09-14-2006, 12:42 PM
AES/newspost
Junior Member


AES/newspost is offline
AES/newspost's Info
Join Date: Jul 2004
Posts: 33
Default Extracting PNG vector graphics from Word.doc documents?

In article <jshot3-6vb.ln1@peorth.rgo.gweep.net>,
Stainless Steel Rat <ratinox@newsguy.com> wrote:
Quote:
In article <siegman-1AF864.09373014092006@news.stanford.edu>, AES <siegman@stanford.edu> wrote:
Quote:
Can I extract some of these graphics in such a way that their vector character is preserved, and they can be edited in Illustrator or other vector graphics programs?
No. PNG files are compressed bitmaps very similar to GIF. None of the original vector information is retained.


I'm sorry, but I don't believe this is correct.

My understanding (as an admittedly non-expert graphicist) is that the
PNG format was designed to handle both bitmap and vector graphics (as I
believe PICT also does).

And I just now printed one page of one of the received Word.doc
documents to PDF; opened the PDF in Illustrator; deleted all the text
paragraphs; and the remaining diagram was clearly an editable vector
graphic.
Reply With Quote
Extracting PNG vector graphics from Word.doc documents?
  #4
Old 09-14-2006, 05:35 PM
Stainless Steel Rat
Junior Member


Stainless Steel Rat is offline
Stainless Steel Rat's Info
Join Date: Sep 2006
Posts: 2
Default Extracting PNG vector graphics from Word.doc documents?

In article <siegman-91F6E1.13423514092006@news.stanford.edu>,
AES <siegman@stanford.edu> wrote:
Quote:
I'm sorry, but I don't believe this is correct.


You're welcome not to believe it but that doesn't make it so:
http://www.w3.org/Graphics/PNG/
Quote:
And I just now printed one page of one of the received Word.doc documents to PDF; opened the PDF in Illustrator; deleted all the text paragraphs; and the remaining diagram was clearly an editable vector graphic.


Then it is not a PNG image. It is a vector image of some sort.

Rhetorical question: why didn't you try this before posting?

--
Rat <ratinox@newsguy.com> \ That and five bucks will get you a
Minion of Nathan - Nathan says Hi! \ small coffee at Starbucks
Reply With Quote
Extracting PNG vector graphics from Word.doc documents?
  #5
Old 09-14-2006, 05:54 PM
Tacit
Junior Member


Tacit is offline
Tacit's Info
Join Date: Mar 2005
Posts: 8
Default Extracting PNG vector graphics from Word.doc documents?

In article <siegman-91F6E1.13423514092006@news.stanford.edu>,
AES <siegman@stanford.edu> wrote:
Quote:
I'm sorry, but I don't believe this is correct. My understanding (as an admittedly non-expert graphicist) is that the PNG format was designed to handle both bitmap and vector graphics (as I believe PICT also does).


Nope. PNG is raster only, by definition. You need not take my word for
it; the PNG format specification is published online.
Quote:
And I just now printed one page of one of the received Word.doc documents to PDF; opened the PDF in Illustrator; deleted all the text paragraphs; and the remaining diagram was clearly an editable vector graphic.


Then it was almost certainly a WMF or EMF file.

--
Art, photography, shareware, polyamory, literature, kink:
all at http://www.xeromag.com/franklin.html
Nanohazard, Geek shirts, and more: http://www.villaintees.com
Reply With Quote
Extracting PNG vector graphics from Word.doc documents?
  #6
Old 09-14-2006, 06:50 PM
Fungusamungus
Junior Member


Fungusamungus is offline
Fungusamungus's Info
Join Date: Jun 2004
Posts: 20
Default Extracting PNG vector graphics from Word.doc documents?

Stainless Steel Rat wrote:
Quote:
In article <siegman-91F6E1.13423514092006@news.stanford.edu>, AES <siegman@stanford.edu> wrote:
Quote:
I'm sorry, but I don't believe this is correct.
You're welcome not to believe it but that doesn't make it so: http://www.w3.org/Graphics/PNG/
Quote:
And I just now printed one page of one of the received Word.docdocuments to PDF; opened the PDF in Illustrator; deleted all the textparagraphs; and the remaining diagram was clearly an editable vectorgraphic.
Then it is not a PNG image. It is a vector image of some sort. Rhetorical question: why didn't you try this before posting?



I think the issue here is the extraction process. AFAIK, Word doesn't
automatically convert images when you save the document(as long as you
embed it). Meaning, however you're saving it wants to save it as a PNG.
Try choosing "edit image", then tell us what program it opens in (by
default, it would be Photo Editor, which cannot handle vector objects).
Reply With Quote
Extracting PNG vector graphics from Word.doc documents?
  #7
Old 09-14-2006, 08:48 PM
Owen Ransen
Junior Member


Owen Ransen is offline
Owen Ransen's Info
Join Date: Sep 2005
Posts: 11
Default Extracting PNG vector graphics from Word.doc documents?

On Thu, 14 Sep 2006 09:37:30 -0700, AES <siegman@stanford.edu> wrote:
Quote:
I think these graphics must retain some kind of vector information inthe Word document, rather than just being stored as raster graphics,because if I blow them way up on screen in Word the lines and textlabels remain sharp and unpixelated.


They could be WMF , Windows Meta File embedded in a Word document.
"WMF" in google might get you some more info....


Easy to use graphics effects:
http://www.ransen.com/
Reply With Quote
Extracting PNG vector graphics from Word.doc documents?
  #8
Old 09-15-2006, 12:48 AM
Bernd Alheit
Junior Member


Bernd Alheit is offline
Bernd Alheit's Info
Join Date: Sep 2006
Posts: 1
Default Extracting PNG vector graphics from Word.doc documents?

AES wrote:
Quote:
In article <jshot3-6vb.ln1@peorth.rgo.gweep.net>, Stainless Steel Rat <ratinox@newsguy.com> wrote:
Quote:
In article <siegman-1AF864.09373014092006@news.stanford.edu>, AES <siegman@stanford.edu> wrote:
Quote:
Can I extract some of these graphics in such a way that their vectorcharacter is preserved, and they can be edited in Illustrator or othervector graphics programs?
No. PNG files are compressed bitmaps very similar to GIF. None of theoriginal vector information is retained.
I'm sorry, but I don't believe this is correct. My understanding (as an admittedly non-expert graphicist) is that the PNG format was designed to handle both bitmap and vector graphics (as I believe PICT also does).


Or does you mean the SVG format?
Reply With Quote
Extracting PNG vector graphics from Word.doc documents?
  #9
Old 09-15-2006, 04:42 AM
Piet van Oostrum
Junior Member


Piet van Oostrum is offline
Piet van Oostrum's Info
Join Date: Feb 2005
Posts: 5
Default Extracting PNG vector graphics from Word.doc documents?

>>>>> AES <siegman@stanford.edu> (A) wrote:
Quote:
A> I'm being sent some tech reports in Word.doc format that containA> illustrations that were clearly created originally as vector graphics,A> and are now (apparently) in PNG format.
A> Can I extract some of these graphics in such a way that their vectorA> character is preserved, and they can be edited in Illustrator or otherA> vector graphics programs?


What I do when I have Word or Powerpoint documents is open them, Use the
print menu and choose the preview option (this is on Mac OS X). Or if it is
a large document, I first copy the page with the illustration or only the
illustration to a new document. Now from preview I can save the figure as a
PDF file. If it was a vector drawing in Word or PP, it comes out as a
vector PDF.
I don't know if this also works on other OS than Mac OS X.
--
Piet van Oostrum <piet@cs.uu.nl>
URL: http://www.cs.uu.nl/~piet [PGP 8DAE142BE17999C4]
Private email: piet@vanoostrum.org
Reply With Quote
Extracting PNG vector graphics from Word.doc documents?
  #10
Old 09-15-2006, 10:31 AM
rpresser
Junior Member


rpresser is offline
rpresser's Info
Join Date: May 2006
Posts: 4
Default Extracting PNG vector graphics from Word.doc documents?


AES wrote:
Quote:
My understanding (as an admittedly non-expert graphicist) is that the PNG format was designed to handle both bitmap and vector graphics (as I believe PICT also does).


You are incorrect. From "Intro to PNG Features",
http://www.libpng.org/pub/png/pngintro.html:

| Like GIF and TIFF, PNG is a raster format, which is to say, it
| represents an image as a two-dimensional array of colored dots
| (pixels). PNG is explicitly not a vector format, i.e., one that can
| store shapes (lines, boxes, ellipses, etc.) and be scaled arbitrarily
| without any loss of quality (generally speaking). For that you
| probably want SVG or PostScript. (There are some private extensions
to
| PNG that add vector information in addition to PNG's regular
| pixels--Macromedia's Fireworks does something along those lines--but
| no valid PNG may omit the pixel data.)

Quote:
And I just now printed one page of one of the received Word.doc documents to PDF; opened the PDF in Illustrator; deleted all the text paragraphs; and the remaining diagram was clearly an editable vector graphic.


It is very likely that your Word documents contain EMF or WMF
information, or (what is much the same thing) Office drawings embedded
in the Word file (drawn using MS Office's own drawing tools). When
these Word objects are copied to the clipboard, Word offers several
formats for pasting to the receiving application, including:

Picture (Windows Metafile) [i.e. WMF]
MS Office Drawing Object
Picture (Enhanced Metafile) [i.e. EMF]
HTML Format
Picture (GIF)
Picture (PNG)
Picture (JPEG)

Evidently Illustrator is not equipped to receive the WMF or EMF formats
off the clipboard and selects the PNG format instead. (This information
about Word was gleaned from using Word 2003; other versions may vary
but
probably don't, at least as far back as Office 97.)

But when you "printed to PDF", Word either wrote vector Postscript,
which was then converted to PDF by some means, or wrote a vector PDF
directly (again, depending on your Word version). Illustrator had no
trouble reading the vector objects in the PDF and translating them to
Illustrator's internal representation.

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump



Powered by: vBulletin Version 3.0.7
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Style Design by vBStyles.com


Top Contact Us - IT Forums - Archive - MyLounge Top
MyLounge.com Site Map
Forum: Cars, Cell Phone, Database, Games, Home Improvement, IT, Music, School, Sports, Web Design, Web Server, Weight Loss

The MyLounge.com forum is intended for informational use only and should not be relied upon and is not a substitute for any advice. The information contained on MyLounge.com are opinions and suggestions of members and is not a representation of the opinions of MyLounge.com. MyLounge.com does not warrant or vouch for the accuracy, completeness or usefulness of any postings or the qualifications of any person responding. Please consult a expert or seek the services of an attorney in your area for more accuracy on your specific situation. Please note that our forums also serve as mirrors to Usenet newsgroups. Many posts you see on our forums are made by newsgroup users who may not be members of MyLounge.com Term of Service