Posts: 2
Threads: 1
Joined: Apr 2010
Reputation:
0
Hi,
I work with a wmf-file with embedded png-files. They have transparent backgrounds.
Unfortunately I couldn't find out how to detect the transparent color. After saving I always lost the transparancy.
I also tried with Paste2Xaml, same behaviour.
Any ideas?
Thanks
Michael
Posts: 731
Threads: 8
Joined: Sep 2009
Reputation:
35
Thank you for the sample files.
I have checked them and also tried to export from PowerPoint 2007 to wmf and emf.
As you have already discovered, PowerPoint is not correctly exporting the images. The page background is blended into the image on the parts where the image should be transparent.
As a whole the metafile is correctly imported and shown, but some individual images are not correct.
However, I have found a workaround.
First open Paste2Xaml and convert the whole metafile (wmf or emf) into xaml and export it with embedded images.
Now go to Power Point and select only the image that is not correctly exported from Power Point. Copy the image to clipboard.
Now go to Paste2Xaml and click paste button (the third button on bottom left). Now the image will be correctly exported into Paste2Xaml - now you can save the xaml with image. The transparencies on the image will be correct now. :cool:
I hope this solution will be ok for you.
Posts: 2
Threads: 1
Joined: Apr 2010
Reputation:
0
Thanks for your help.
I figured out another workaround:
I used emf instead of wmf. In that case the background of the embedded file is still not transparent, but merged the background-file into its transparent aera.
So it seems to be transparent (it's ok as long I do not move the file to another position)
Michael