Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jun 03, 2011 11:19 AM by AnuMohan
Member
36 Points
31 Posts
Jun 03, 2011 06:10 AM|LINK
Hi all
How can I edit/change XMP metadata (custom metadata) tags of a JPG image using DotNet?
regards
Anu
All-Star
182684 Points
23455 Posts
ASPInsiders
Moderator
MVP
Jun 03, 2011 06:58 AM|LINK
Hi,
you might want to check out this component: http://www.example-code.com/csharp/xmp-insert-xmp-into-jpg.asp.
Grz, Kris.
Jun 03, 2011 07:39 AM|LINK
Hi
Thanks for your reply. But Chilkat seems to be third party component; I am searching for c# code only uses dot net library.
Regards
Jun 03, 2011 08:18 AM|LINK
AnuMohan c# code only uses dot net library
That third party component will very likely use .NET only code behind the scenes. I didn't find some cool flat down source code at first glance via Bing or Google so you either go for a third party component or write code on your own.
Another solution might be to use WIC: http://msdn.microsoft.com/en-us/library/system.windows.media.imaging.bitmapmetadata.aspx.
Jun 03, 2011 11:19 AM|LINK
Thanks for your reply
Using BitmapMetadata, I can edit the default meta data like Title, Author, Copyright etc. Please refere the following link
http://msdn.microsoft.com/en-us/library/system.windows.media.imaging.bitmapmetadata%28v=vs.90%29.aspx
But I am not getting the idea of editing custom xmp meta data tags.
The custom metadata xml that I use is like below
<rdf:Description rdf:about=""
xmlns:Simp="http://www.simplogics.com./1.0/">
<Simp:imageUsage>Shared Pictures</Simp:imageUsage>
<Simp:department>Web</Simp:department>
<Simp:jobStatus>New</Simp:jobStatus>
</rdf:Description>
This metadata information cannot be viewed normally.
Any Idea?
Anu.
AnuMohan
Member
36 Points
31 Posts
How to change XMP metadata of JPG image
Jun 03, 2011 06:10 AM|LINK
Hi all
How can I edit/change XMP metadata (custom metadata) tags of a JPG image using DotNet?
regards
Anu
XIII
All-Star
182684 Points
23455 Posts
ASPInsiders
Moderator
MVP
Re: How to change XMP metadata of JPG image
Jun 03, 2011 06:58 AM|LINK
Hi,
you might want to check out this component: http://www.example-code.com/csharp/xmp-insert-xmp-into-jpg.asp.
Grz, Kris.
Interested in Azure, ASP.NET (MVC), jQuery, WCF, EF, MS SQL, ...
Keep the forums clean: report to the moderation team!
AnuMohan
Member
36 Points
31 Posts
Re: How to change XMP metadata of JPG image
Jun 03, 2011 07:39 AM|LINK
Hi
Thanks for your reply. But Chilkat seems to be third party component; I am searching for c# code only uses dot net library.
Regards
Anu
XIII
All-Star
182684 Points
23455 Posts
ASPInsiders
Moderator
MVP
Re: How to change XMP metadata of JPG image
Jun 03, 2011 08:18 AM|LINK
That third party component will very likely use .NET only code behind the scenes. I didn't find some cool flat down source code at first glance via Bing or Google so you either go for a third party component or write code on your own.
Another solution might be to use WIC: http://msdn.microsoft.com/en-us/library/system.windows.media.imaging.bitmapmetadata.aspx.
Grz, Kris.
Interested in Azure, ASP.NET (MVC), jQuery, WCF, EF, MS SQL, ...
Keep the forums clean: report to the moderation team!
AnuMohan
Member
36 Points
31 Posts
Re: How to change XMP metadata of JPG image
Jun 03, 2011 11:19 AM|LINK
Thanks for your reply
Using BitmapMetadata, I can edit the default meta data like Title, Author, Copyright etc. Please refere the following link
http://msdn.microsoft.com/en-us/library/system.windows.media.imaging.bitmapmetadata%28v=vs.90%29.aspx
But I am not getting the idea of editing custom xmp meta data tags.
The custom metadata xml that I use is like below
<rdf:Description rdf:about=""
xmlns:Simp="http://www.simplogics.com./1.0/">
<Simp:imageUsage>Shared Pictures</Simp:imageUsage>
<Simp:department>Web</Simp:department>
<Simp:jobStatus>New</Simp:jobStatus>
</rdf:Description>
This metadata information cannot be viewed normally.
Any Idea?
regards
Anu.