WPF Imaging
- Posted: Mar 06, 2006 at 1:04 PM
- 67,607 Views
- 27 Comments
Download
How do I download the videos?
- To download, right click the file type you would like and pick “Save target as…” or “Save link as…”
Why should I download videos from Channel9?
- It's an easy way to save the videos you like locally.
- You can save the videos in order to watch them offline.
- If all you want is to hear the audio, you can download the MP3!
Which version should I choose?
- If you want to view the video on your PC, Xbox or Media Center, download the High Quality WMV file (this is the highest quality version we have available).
- If you'd like a lower bitrate version, to reduce the download time or cost, then choose the Medium Quality WMV file.
- If you have a Zune, WP7, iPhone, iPad, or iPod device, choose the low or medium MP4 file.
- If you just want to hear the audio of the video, choose the MP3 file.
Right click “Save as…”
- WMV (WMV Video)
Recently, Tim Sneath, a Channel 9 correspondent and Technical Evangelist took us over to the WPF imaging team to learn about some of the great work that's been done in that area. Substantial (and innovative) improvements have been made to the way Windows manages images and renders images and the WPF People have surfaced these improvements for us, the developers. There's been great work done in the WPF imaging APIs making it much easier to powerfully maniuplate images from managed code. Check this out.
Comments Closed
Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation,
please create a new thread in our Forums,
or
Contact Us and let us know.
Follow the Discussion
(1) Are there any analogous WPF subsystems for other types of media (audio, video)?
(2) On a related note, what about vector images, such as SVG, WMF, or Visio diagrams? (SVG in particular)
(3) What's the installation policy with image codecs? The video mentioned than unknown image formats are passed to the application as a raw blob, but is there any service that will attempt to fetch codecs from the web, like in WMP today? Are there any special security issues when installing 3rd party codecs?
(4) Not for the imaging team, but will IE7 be upgraded to this new API? It would be great to future-proof against new codecs to avoid another wait between releases as with transparent PNGs.
Much thanks.
Nice to see the avalon team back on C9.....the more Vista technology videos the beter
. Peggy is really cool. She's seems like a perfect candidate for the WM_IN series....but alas seeing her here on C9 is just as cool.
I love the phone ringing in the video. Another person getting voicemail because of C9 filming....hehehehe.
Charles nice camera work....although during parts of the video I got dizzy with all of the back and forth and round and round with moving between all of the people being focused on.
Thanks
Alan
The WIC Explorer code is up on Robert Wlodarczyk's Blog: http://blogs.msdn.com/rwlodarc/archive/2005/09/21/472338.aspx
cannot... trust... weight of equipment... to small EM currents...
therefore must remember locknut.
This Blog entry will talk about Channel9 Videos. This completes my disingenuous exposition.
Apart from Robert Scoble’s famous tension-filled laugh (which by the way is “socially acceptable”—it just sounds tense to me—but then, again, I like “free jazz” and Sponge Bob does not), there is the continual request to not look in the camera. This advice seems strange to the philistine children of the Reagan era—especially the “technical” folks at Microsoft. But my lack of formal education in media history suggests to me that during the 1980s, the rise of the “infomercial” introduced this innovation. This is a professional camera technique that manipulates the psychological powers of the viewer.
When the subjects in camera do not look at the camera, they suggest to the viewer that they are, at best, part of the conversation—at worst (which more often) the viewer is encouraged to indulge in voyeuristic conquests just short of the pornographic experience. When the talking heads do not look in the camera, the viewer can feel like they are uncovering documentation instead of being subject to a presentation. This technique seduces the viewer into thinking they are in charge of the situation (or at least genuinely respected) when (more often) they are not. The reason why I say they are not is because there are more infomercials in “popular” media than documentaries. The arithmetic does not lie. The camera often does.
going deep... keep them coming guys.
Good stuff.
-LB
I must be dreaming... managed support for image animations designed right into the core of the new imaging classes, and not an afterthought? WOOHOO.
Hi Bryan. I've inserted answers to your questions inline. Thanks for asking! - Peggi
[PG] It would certainly be possible to provide a way for the user to select the default codec for an image format. In general, we don't expect there to be alot of different codecs for the same image format, but it's certainly possible.
In the developer platform itself, we don't expose any UI to the end user, but an application (or the Windows Explorer) could expose some UI to enable the user to select a default codec for an image format, and then always request that specific format for that file type. That feature isn't supported in Windows Vista but, if enough people request it, there's no reason it couldn't be supported in a future version.
Sheva
I'll see if Robert can post it on his blog.
Is this discovery mechanism exposed to developers not inside Microsoft (like me?). If so, is there any API documentation about how it works?
We currently use the compound document file format for our image.
We have a root CLSID in there. So is there a way to load the decoder only by file extension or a compound file root CLSID?
With regards to "anti-fuzzing", my concern would extend well beyond image files, though...are you doing this for .wav formats, media formats and other types of files? I know with video streams the Media Player will usually balk in some way (with some type of "corrupted file" error dialog). It is ridiculously easy to come up with your own file formats, and as an extension of that, fiddle with the ones that are out there now.
Edit: Are there any updated graphics format pages anywhere on the internet? Here is a page of older formats if anybody is technically curious (circa 1997):
http://www.dcs.ed.ac.uk/home/mxr/gfx/2d-hi.html
The PhotoDemo is now available! http://blogs.msdn.com/rwlodarc/archive/2006/03/11/549602.aspx
[PG] There's no API required. We do the discovery automatically. You just have to include a pattern in the image file that uniquely identifies the image format, and register the pattern in the registry. The discovery process itself is automatic. At runtime, we match the pattern in the file with the pattern in the registry, and that's how we discover the right codec.
BTW, I said that we only use discovery for image formats. That's not quite true. We also use it for metadata handlers and pixel format converters. (But only for images.)
[PG] We do require a pattern that uniquely identifies the format, but the pattern can be anything you like, as long as it always apprears at the same place in the file. In fact, we strongly recommend that people use GUIDs for their identifying pattern, because that guarantees the pattern is unique. So, if the CLSID appears at the same place in each file, you can use the CLSID as the pattern.
Hey Channel 9 guys,

What about using a small tripod when shooting in an office ?
The topics are interesting but I'm having a bit of motion sickness here...
Your panning will be smoother and your video much smaller (you care about bandwith right ?)
Please re-post video. Thanks!
Remove this comment
Remove this thread
close