Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 917421
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T18:12:32+00:00 2026-05-15T18:12:32+00:00

I am using Windows Imaging Component to read/write image metadata in my WPF application.

  • 0

I am using Windows Imaging Component to read/write image metadata in my WPF application. I would like to know if there is an efficient way to know if any paths exist within a namespace. For instance I would like to know if any paths within IPTC namespace exist and if not I want to delete the namespace from the image header.

Any pointers would be greatly appreciated.

Thanks,

Murugesh.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T18:12:33+00:00Added an answer on May 15, 2026 at 6:12 pm

    Get an IWICMetadataQueryReader object and use its GetEnumerator method. With the IEnumString object returned from GetEnumerator, call its Next method to see if at least one metadata exists. If not then the metadata block is empty.

    Trying to reach the IPTC namespace from the root query reader might be a bit trickier: the root may refer to the IPTC namespace (metadata block) as a single COM object sitting on the root, then you will need to figure out the type (interface) of that COM object and descend into it, much like exploring a tree.

    I think it is typically not possible to control WIC what metadata not to write, as WIC is free to insert its own stuff as long as considered harmless.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using WIC (Windows Imaging Component) in my WPF application to read/write image
using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Data; using System.Drawing.Imaging;
Am making an application in WP7 using Windows Phone SDK 7.1 / C# Am
Using the C# code below, how would you write it in Visual Basic? What
I'm fuzzy on the relationship between Windows Imaging Component (WIC) and GDI+. I've done
There is an installed base of Windows CE devices using SQL Mobile 2005 (which
Using Windows So I'm reading from a binary file a list of unsigned int
Using windows server, I have a path to a file that, when you click
Using Windows Mobile 6.5 and C# The CharacterCasing property seems to be missing from
Using Windows form (Vb.net & Datagridview) Checkbox is using in datagridview row. I want

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.