Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > Avalon

Vista - Problem viewing images (emf, wmf) ?

 
 
Old 06-02-2006   #1 (permalink)
HokutoNoKen


 
 

Problem viewing images (emf, wmf) ?

Hi,

It seems like I can't view pictures anymore, except jpg. I have tried the
following code:

<Image Width="800" Height="600" Source="C:\test.emf" />

test.wmf won't work either.

or

<Rectangle Width="800" Height="600">
<Rectangle.Fill>
<ImageBrush ImageSource="C:\test.emf" />
</Rectangle.Fill>
</Rectangle>

Again emf and wmf doesn't work.

I have read that there is a bug in the latest beta of WinFX but as I am able
to at least view jpgs it can't be the same bug, or is it?



My System SpecsSystem Spec
Old 06-02-2006   #2 (permalink)
robertwl@nospam.microsoft.com


 
 

re: Problem viewing images (emf, wmf) ?

EMFs and WMFs are not supported within WPF or WIC.

-----Original Message-----
From: HokutoNoKen
Posted At: Friday, June 02, 2006 5:39 AM
Posted To: microsoft.public.windows.developer.winfx.avalon
Conversation: Problem viewing images (emf, wmf) ?
Subject: Problem viewing images (emf, wmf) ?


Hi,

It seems like I can't view pictures anymore, except jpg. I have tried the
following code:

<Image Width="800" Height="600" Source="C:\test.emf" />

test.wmf won't work either.

or

<Rectangle Width="800" Height="600">
<Rectangle.Fill>
<ImageBrush ImageSource="C:\test.emf" />
</Rectangle.Fill>
</Rectangle>

Again emf and wmf doesn't work.

I have read that there is a bug in the latest beta of WinFX but as I am able
to at least view jpgs it can't be the same bug, or is it?
My System SpecsSystem Spec
Old 06-02-2006   #3 (permalink)
Vipin [MVP]


 
 

Re: Problem viewing images (emf, wmf) ?

yes, doesn't work with the latest beta 2 build.
A bit strange on why it should stop working.

--
Vipin Aravind
http://www.explorewindows.com


"HokutoNoKen" <tommy.herceg@programgruppen.se> wrote in message
news:e3I76FkhGHA.3904@TK2MSFTNGP02.phx.gbl...
> Hi,
>
> It seems like I can't view pictures anymore, except jpg. I have tried the
> following code:
>
> <Image Width="800" Height="600" Source="C:\test.emf" />
>
> test.wmf won't work either.
>
> or
>
> <Rectangle Width="800" Height="600">
> <Rectangle.Fill>
> <ImageBrush ImageSource="C:\test.emf" />
> </Rectangle.Fill>
> </Rectangle>
>
> Again emf and wmf doesn't work.
>
> I have read that there is a bug in the latest beta of WinFX but as I am
> able to at least view jpgs it can't be the same bug, or is it?
>



My System SpecsSystem Spec
Old 06-02-2006   #4 (permalink)
Vipin [MVP]


 
 

Re: Problem viewing images (emf, wmf) ?

I see no reason technically why they shouldn't be supporting emf in wpf.

--
Vipin Aravind
http://www.explorewindows.com


<robertwl@nospam.microsoft.com> wrote in message
news:eN%23pPHlhGHA.4304@TK2MSFTNGP05.phx.gbl...
> EMFs and WMFs are not supported within WPF or WIC.
>
> -----Original Message-----
> From: HokutoNoKen
> Posted At: Friday, June 02, 2006 5:39 AM
> Posted To: microsoft.public.windows.developer.winfx.avalon
> Conversation: Problem viewing images (emf, wmf) ?
> Subject: Problem viewing images (emf, wmf) ?
>
>
> Hi,
>
> It seems like I can't view pictures anymore, except jpg. I have tried the
> following code:
>
> <Image Width="800" Height="600" Source="C:\test.emf" />
>
> test.wmf won't work either.
>
> or
>
> <Rectangle Width="800" Height="600">
> <Rectangle.Fill>
> <ImageBrush ImageSource="C:\test.emf" />
> </Rectangle.Fill>
> </Rectangle>
>
> Again emf and wmf doesn't work.
>
> I have read that there is a bug in the latest beta of WinFX but as I am
> able
> to at least view jpgs it can't be the same bug, or is it?



My System SpecsSystem Spec
Old 06-02-2006   #5 (permalink)
robertwl@nospam.microsoft.com


 
 

Re: Problem viewing images (emf, wmf) ?

Did this just "stop working" or did it never work in the first place?

With the WIC (Windows Imaging Component) infrastructure, we provide the ability for ISVs to implement their own CODECs.

-----Original Message-----
From: Vipin [MVP]
Posted At: Friday, June 02, 2006 7:41 AM
Posted To: microsoft.public.windows.developer.winfx.avalon
Conversation: Problem viewing images (emf, wmf) ?
Subject: Re: Problem viewing images (emf, wmf) ?


yes, doesn't work with the latest beta 2 build.
A bit strange on why it should stop working.

--
Vipin Aravind
http://www.explorewindows.com


"HokutoNoKen" <tommy.herceg@programgruppen.se> wrote in message
news:e3I76FkhGHA.3904@TK2MSFTNGP02.phx.gbl...
> Hi,
>
> It seems like I can't view pictures anymore, except jpg. I have tried the
> following code:
>
> <Image Width="800" Height="600" Source="C:\test.emf" />
>
> test.wmf won't work either.
>
> or
>
> <Rectangle Width="800" Height="600">
> <Rectangle.Fill>
> <ImageBrush ImageSource="C:\test.emf" />
> </Rectangle.Fill>
> </Rectangle>
>
> Again emf and wmf doesn't work.
>
> I have read that there is a bug in the latest beta of WinFX but as I am
> able to at least view jpgs it can't be the same bug, or is it?
>

My System SpecsSystem Spec
Old 06-03-2006   #6 (permalink)
Vipin [MVP]


 
 

Re: Problem viewing images (emf, wmf) ?

My opinion is this should be provided by Microsoft and not by third party.

<robertwl@nospam.microsoft.com> wrote in message
news:e6GqWqlhGHA.1612@TK2MSFTNGP04.phx.gbl...
> Did this just "stop working" or did it never work in the first place?
>
> With the WIC (Windows Imaging Component) infrastructure, we provide the
> ability for ISVs to implement their own CODECs.
>
> -----Original Message-----
> From: Vipin [MVP]
> Posted At: Friday, June 02, 2006 7:41 AM
> Posted To: microsoft.public.windows.developer.winfx.avalon
> Conversation: Problem viewing images (emf, wmf) ?
> Subject: Re: Problem viewing images (emf, wmf) ?
>
>
> yes, doesn't work with the latest beta 2 build.
> A bit strange on why it should stop working.
>
> --
> Vipin Aravind
> http://www.explorewindows.com
>
>
> "HokutoNoKen" <tommy.herceg@programgruppen.se> wrote in message
> news:e3I76FkhGHA.3904@TK2MSFTNGP02.phx.gbl...
>> Hi,
>>
>> It seems like I can't view pictures anymore, except jpg. I have tried the
>> following code:
>>
>> <Image Width="800" Height="600" Source="C:\test.emf" />
>>
>> test.wmf won't work either.
>>
>> or
>>
>> <Rectangle Width="800" Height="600">
>> <Rectangle.Fill>
>> <ImageBrush ImageSource="C:\test.emf" />
>> </Rectangle.Fill>
>> </Rectangle>
>>
>> Again emf and wmf doesn't work.
>>
>> I have read that there is a bug in the latest beta of WinFX but as I am
>> able to at least view jpgs it can't be the same bug, or is it?
>>



My System SpecsSystem Spec
Old 06-05-2006   #7 (permalink)
HokutoNoKen


 
 

Re: Problem viewing images (emf, wmf) ?

I think EMF work before. This is from the SDK doc.

"You can construct Image objects from a variety of file types including BMP,
ICON, GIF, JPEG, Exif, PNG, TIFF, WMF, and EMF."

So even WMF should work.

"HokutoNoKen" <tommy.herceg@programgruppen.se> wrote in message
news:e3I76FkhGHA.3904@TK2MSFTNGP02.phx.gbl...
> Hi,
>
> It seems like I can't view pictures anymore, except jpg. I have tried the
> following code:
>
> <Image Width="800" Height="600" Source="C:\test.emf" />
>
> test.wmf won't work either.
>
> or
>
> <Rectangle Width="800" Height="600">
> <Rectangle.Fill>
> <ImageBrush ImageSource="C:\test.emf" />
> </Rectangle.Fill>
> </Rectangle>
>
> Again emf and wmf doesn't work.
>
> I have read that there is a bug in the latest beta of WinFX but as I am
> able to at least view jpgs it can't be the same bug, or is it?
>



My System SpecsSystem Spec
Old 06-05-2006   #8 (permalink)
robertwl@nospam.microsoft.com


 
 

Re: Problem viewing images (emf, wmf) ?

The text that you're pointing too is for GDI+, not the WPF portion of the documentation. WPF does not support EMF or WMF.

http://windowssdk.msdn.microsoft.com...asp?frame=true

There are no references to WMF or EMF in the WPF documentation.

-----Original Message-----
From: HokutoNoKen
Posted At: Monday, June 05, 2006 12:53 AM
Posted To: microsoft.public.windows.developer.winfx.avalon
Conversation: Problem viewing images (emf, wmf) ?
Subject: Re: Problem viewing images (emf, wmf) ?


I think EMF work before. This is from the SDK doc.

"You can construct Image objects from a variety of file types including BMP,
ICON, GIF, JPEG, Exif, PNG, TIFF, WMF, and EMF."

So even WMF should work.

"HokutoNoKen" <tommy.herceg@programgruppen.se> wrote in message
news:e3I76FkhGHA.3904@TK2MSFTNGP02.phx.gbl...
> Hi,
>
> It seems like I can't view pictures anymore, except jpg. I have tried the
> following code:
>
> <Image Width="800" Height="600" Source="C:\test.emf" />
>
> test.wmf won't work either.
>
> or
>
> <Rectangle Width="800" Height="600">
> <Rectangle.Fill>
> <ImageBrush ImageSource="C:\test.emf" />
> </Rectangle.Fill>
> </Rectangle>
>
> Again emf and wmf doesn't work.
>
> I have read that there is a bug in the latest beta of WinFX but as I am
> able to at least view jpgs it can't be the same bug, or is it?
>

My System SpecsSystem Spec
Old 06-05-2006   #9 (permalink)
keboyd@online.microsoft.com


 
 

Re: Problem viewing images (emf, wmf) ?

If you're interested in working w/ WMF sources, you can convert a WMF image to XAML using Microsoft Expression Graphic Designer... See this blog entry for instructions:

http://blogs.msdn.com/wpfsdk/archive...17/596393.aspx


/keith [msft]

-----Original Message-----
From: robertwl@nospam.microsoft.com
Posted At: Monday, June 05, 2006 11:36 AM
Posted To: microsoft.public.windows.developer.winfx.avalon
Conversation: Problem viewing images (emf, wmf) ?
Subject: Re: Problem viewing images (emf, wmf) ?



The text that you're pointing too is for GDI+, not the WPF portion of the documentation. WPF does not support EMF or WMF.

http://windowssdk.msdn.microsoft.com...asp?frame=true

There are no references to WMF or EMF in the WPF documentation.

-----Original Message-----
From: HokutoNoKen
Posted At: Monday, June 05, 2006 12:53 AM Posted To: microsoft.public.windows.developer.winfx.avalon
Conversation: Problem viewing images (emf, wmf) ?
Subject: Re: Problem viewing images (emf, wmf) ?


I think EMF work before. This is from the SDK doc.

"You can construct Image objects from a variety of file types including BMP,
ICON, GIF, JPEG, Exif, PNG, TIFF, WMF, and EMF."

So even WMF should work.

"HokutoNoKen" <tommy.herceg@programgruppen.se> wrote in message
news:e3I76FkhGHA.3904@TK2MSFTNGP02.phx.gbl...
> Hi,
>
> It seems like I can't view pictures anymore, except jpg. I have tried the
> following code:
>
> <Image Width="800" Height="600" Source="C:\test.emf" />
>
> test.wmf won't work either.
>
> or
>
> <Rectangle Width="800" Height="600">
> <Rectangle.Fill>
> <ImageBrush ImageSource="C:\test.emf" />
> </Rectangle.Fill>
> </Rectangle>
>
> Again emf and wmf doesn't work.
>
> I have read that there is a bug in the latest beta of WinFX but as I am
> able to at least view jpgs it can't be the same bug, or is it?
>

My System SpecsSystem Spec
Old 06-06-2006   #10 (permalink)
Vipin


 
 

Re: Problem viewing images (emf, wmf) ?

Interesting one.

--
Vipin Aravind
http://www.explorewindows.com


<keboyd@online.microsoft.com> wrote in message
news:OQpj$kNiGHA.412@TK2MSFTNGP05.phx.gbl...
> If you're interested in working w/ WMF sources, you can convert a WMF
> image to XAML using Microsoft Expression Graphic Designer... See this blog
> entry for instructions:
>
> http://blogs.msdn.com/wpfsdk/archive...17/596393.aspx
>
>
> /keith [msft]
>
> -----Original Message-----
> From: robertwl@nospam.microsoft.com
> Posted At: Monday, June 05, 2006 11:36 AM
> Posted To: microsoft.public.windows.developer.winfx.avalon
> Conversation: Problem viewing images (emf, wmf) ?
> Subject: Re: Problem viewing images (emf, wmf) ?
>
>
>
> The text that you're pointing too is for GDI+, not the WPF portion of the
> documentation. WPF does not support EMF or WMF.
>
> http://windowssdk.msdn.microsoft.com...asp?frame=true
>
> There are no references to WMF or EMF in the WPF documentation.
>
> -----Original Message-----
> From: HokutoNoKen
> Posted At: Monday, June 05, 2006 12:53 AM Posted To:
> microsoft.public.windows.developer.winfx.avalon
> Conversation: Problem viewing images (emf, wmf) ?
> Subject: Re: Problem viewing images (emf, wmf) ?
>
>
> I think EMF work before. This is from the SDK doc.
>
> "You can construct Image objects from a variety of file types including
> BMP,
> ICON, GIF, JPEG, Exif, PNG, TIFF, WMF, and EMF."
>
> So even WMF should work.
>
> "HokutoNoKen" <tommy.herceg@programgruppen.se> wrote in message
> news:e3I76FkhGHA.3904@TK2MSFTNGP02.phx.gbl...
>> Hi,
>>
>> It seems like I can't view pictures anymore, except jpg. I have tried the
>> following code:
>>
>> <Image Width="800" Height="600" Source="C:\test.emf" />
>>
>> test.wmf won't work either.
>>
>> or
>>
>> <Rectangle Width="800" Height="600">
>> <Rectangle.Fill>
>> <ImageBrush ImageSource="C:\test.emf" />
>> </Rectangle.Fill>
>> </Rectangle>
>>
>> Again emf and wmf doesn't work.
>>
>> I have read that there is a bug in the latest beta of WinFX but as I am
>> able to at least view jpgs it can't be the same bug, or is it?
>>



My System SpecsSystem Spec
 

Thread Tools


Similar Threads
Thread Forum
problem viewing images Live Mail
Viewing Images in Vista Explorer Vista General
Viewing PSD images in the Vista Photo Gallery? Vista music pictures video
Viewing images on dual monitors Vista music pictures video
Thumbnail images when viewing Extra Large Icons with Explorer Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46