Monday, February 06, 2012
 
Forums Minimize
Nothing visible after loading emf files
Last Post 27 Sep 2011 08:05 AM by Martin Martin. 2 Replies.
Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Andrew Wilcox
New Member
New Member
Posts:1

--
06 Jul 2010 09:51 AM  

I am loading a simple emf file, an arrow to change the colour of the arrow but I can see nothing in Metafile companion. See the file h-1.emf

Companion Software
Advanced Member
Advanced Member
Posts:51

--
06 Jul 2010 01:49 PM  

Hi Andrew. Sorry you had a problem editing this metafile. It contains advanced commands (e.g. PolyBezierTo16) that aren't supported by Metafile Companion. For more details, please see 1. Can Metafile Companion edit all objects in any Windows metafile?

Possible work-arounds are to:

  1. Save the file in WMF format instead of EMF; then edit it. (It seems that the file was created by an Adobe product according to a header inside the metafile.)
  2. Use a high-end drawing package like Adobe Illustrator to edit it.
  3. Use the Windows Paint program to edit it (but this results in a bitmap image, not a metafile).
Martin Martin
New Member
New Member
Posts:1

--
27 Sep 2011 08:05 AM  
It can be pasted into MS Paint/MS Word from either PyWin32 or PyQt4. I'd like to do it without PIL, wx or additional libraries, although I could consider any pure-python or win32 wrapper methods. Note i'm after the file contents, not the file name.

The code below runs, but for *2 functions: paste option is greyed out in MS Word/MS Paint

for the *1 functions: the PNG succeeds, but the EMF does not, instead in MS Paint it returns "Error getting the Clipboard Data!" and in MS Word, the Paste button is enabled but nothing happens on clicking, and in "Paste Special", " Device Independant Bitmap" is visible in the list, but again nothing happens on clicking.
Martin


You are not authorized to post a reply.

Active Forums 4.1


Privacy Statement  |  Terms Of Use  |  Credits and Trademarks
Copyright 1996-2012 by Companion Software