And for folks interested on WIC (WPF's Imaging Components), I highly
recommend Robert's blog - http://blogs.msdn.com/rwlodarc/default.aspx
Btw, would love to get feedback as to whether you are finding the more
direct dialog through blogs and newsgroup useful (there is less overhead and
we are able to turn material around and go into greater depth faster than in
any previous MS products we released), along with the regular CTP releases.
Hopefully you are please, but let us know what we can do better.
"Pablo Fernicola [MS]" <firstname.lastname@example.org> wrote in message
> Trying to move this to the Avalon newsgroup, so that other folks that are
> working with WPF's Imaging Component get to see this thread as well.
> "terry" <email@example.com> wrote in message
>> Thanks for the response. Digitally signing my decoder solves this
>> problem. Now I can call CreateDecoderFromFilename() and get a
>> reference to my custom decoder. I can also correctly get pixel data
>> calling the CopyPixels methd.
>> But I'm having a second problem. When I try use my decoder to load a
>> custom image in a XAML file, my decoder does not get loaded. (The
>> MyCustomImage.cmp is the image file that my custom decoder can load
>> when I call CreateDecoderFromFileName()).
>> <StackPanel xmlns="http://schemas.microsoft.com/winfx/avalon/2005">
>> <Button Width="200">
>> <Image Source="e:\images\MyCustomImage.cmp"/>
>> I get the following error:
>> Error at element 'Image' in markup file 'Page1.xaml' : The string
>> 'e:\images\MyCustomImage.cmp' could not be set on the 'Source' property
>> which is of type 'ImageSource'. Please see the sdk documentation for
>> the Source property and the ImageSource class for an explanation of
>> allowable values.
>> The snippet above works correctly if I replace the MyCustomImage.cmp
>> with valid PNG image, or any other image format that WinFX supports
>> Were you able to use your custom decoder to load an image in a XAML
>> Any ideas?
>> Thanks for you help.
>> firstname.lastname@example.org wrote:
>>> Ike Starnes wrote:
>>> > A lot...
>>> > Terry Hopkins
>>> Hi Trevor,
>>> I had the same problem when I tried to get my decoder loaded this way.
>>> I Asked Robert A. Wlodarczyk from MS about it and he told me what you
>>> have to do. The dll with your COM Server has to be digitally signed and
>>> also has to have full trust locally on your computer. You can use the
>>> test certificate that you get when you create a clickonce project in
>>> visual studio 2005.
>>> Hope this helps for you too,