Re: Add/Edit/Delete images inside of WMA files



I tried to use the posted sample for writing the lyrics as a model for
writing the pictures, but neither one of them worked. The code for
retrieving the images and saving them to disk works fine though. I have
tried using the AddAttribute method of the IWMHeaderInfo3 object to add
pictures, but I keep getting this exception: Exception from HRESULT:
0xC00D0BBC.

Alessandro Angeli wrote:
From: "djacks33@xxxxxxxxx"

I need assistance with adding new images and editing
existing images in WMA files. I have found a thread that
I was able to use in iterating through the images already
in a file, but the code for adding a new image didn't
work. Here is the link to the thread I found:
http://groups.google.com/group/microsoft.public.windowsmedia.sdk/browse_thread/thread/7ba838387d8bab73/#

I need to be able to edit/add/delete images inside of a
WMA file. I need to know how to do this in C#. Thanks.

I never posted any C# code to write "WM/Picture" attributes
so I can't imagine how something that doesn't exist can fail
to work other than in a metaphysica way.

Have you tried to use the VB.NET code to write
"WM/Lyrics_Synchronised" attributes and the C# or VB.NET
code to read "WM/Picture" ones as a guideline to write your
own C# code to write "WM/Picture" attributes?

Or you mean none of the 3 samples work?


--
// Alessandro Angeli
// MVP :: DirectShow / MediaFoundation
// mvpnews at riseoftheants dot com
// http://www.riseoftheants.com/mmx/faq.htm

.



Relevant Pages

  • Re: Langham released!
    ... drama he was writing, ... I never understood why that required him to look at such images. ... Because it was bullshit and he likes looking at pictures of kids, ...
    (uk.media.tv.misc)
  • Incredible... Bush Administration condemns *broadcast* of Abu Ghraib images but not the abuse itself
    ... New images could fan tensions across the Middle East ... abusing prisoners in Abu Ghraib jail in Baghdad, saying that the pictures ... pictures taken by US soldiers at the jail in late 2003, were broadcast less ...
    (alt.politics)
  • Re: Off Topic, but of interest to this group - I hope
    ... >> discussion on propaganda and photography. ... > I go to the Art & Letters Daily website every morning. ... > by so many images was interesting. ... > technolgies allowing mass distribution of pictures have had a major, ...
    (rec.photo.darkroom)
  • Re: Q: historical document preservation - ideal resolution
    ... 5MB to 100MB depending on the physical size of the photo and whether ... resolution is effectively a "photocopy". ... the majority of the family pictures I've acquired were ... And then there are the digital-only images. ...
    (soc.genealogy.misc)
  • Re: Do you set your camera at high resolution?
    ... with the images in the future. ... categoriess to make it easy to find similar pictures, ... Digital Car Pictures, Auto Show Pictures, Car Show Pictures, ... I did shoot a bunch of RAW last summer and spent a reasonable ...
    (rec.photo.digital)