IT Community - Software Programming, Web Development and Technical Support

Metadata Extraction with .Net Framework 3.0

This is a discussion on Metadata Extraction with .Net Framework 3.0 within the C# Programming forums, part of the Software Development category; Hi Guys, Reading and writing image metadata is quite uneasy till .Net framework 2.0.But now ,its become a ...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Software Development > C# Programming

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 12-24-2007, 02:24 AM
Sathish Kumar Sathish Kumar is offline
D-Web Analyst
 
Join Date: Feb 2007
Posts: 304
Sathish Kumar is on a distinguished road
Thumbs up Metadata Extraction with .Net Framework 3.0

Hi Guys,
Reading and writing image metadata is quite uneasy till .Net framework 2.0.But now ,its become a bit easy to read and write the image metadata from the image after the arrival of the .Net framework 3.0.Lets discuss about this in this thread
__________________
Sathish Kumar.R
Knowledge is meant to SHARE
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 12-24-2007, 02:31 AM
Sundaram Sundaram is offline
D-Web Sr.Programmer
 
Join Date: Mar 2007
Location: chennai
Posts: 117
Sundaram is on a distinguished road
Send a message via MSN to Sundaram Send a message via Yahoo to Sundaram
Default Re: Metadata Extraction with .Net Framework 3.0

Dear sathish ,
can you Explain how is easy with .net 3.0 in Metadata Extraction ?

regards,

M.Sundaram
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 12-26-2007, 10:43 PM
Sathish Kumar Sathish Kumar is offline
D-Web Analyst
 
Join Date: Feb 2007
Posts: 304
Sathish Kumar is on a distinguished road
Thumbs up Re: Metadata Extraction with .Net Framework 3.0

Hi,
.Net framework 3.0 has provided built in methods to retreive the image metadata.Also we can add and delete any image metadata .So it must be easy to work with image metadata in .Net framework 3.0 .isnt it?
__________________
Sathish Kumar.R
Knowledge is meant to SHARE
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 12-26-2007, 10:51 PM
Mramesh Mramesh is offline
D-Web Sr.Programmer
 
Join Date: Sep 2007
Location: Chennai
Posts: 106
Mramesh is on a distinguished road
Send a message via MSN to Mramesh
Exclamation Which dll is necessary to extract metadata from the images

Hi Sathish,
Which dll is necessary to extract metadata from the images?
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 12-26-2007, 11:01 PM
Sathish Kumar Sathish Kumar is offline
D-Web Analyst
 
Join Date: Feb 2007
Posts: 304
Sathish Kumar is on a distinguished road
Thumbs up Re: Metadata Extraction with .Net Framework 3.0

Hi Ramesh,
PresentationCore.dll and WindowsBase.dll are necessary to extract the metadata from the images.But mainly ,PresentationCore.dll that plays a mojor part..
__________________
Sathish Kumar.R
Knowledge is meant to SHARE
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 12-26-2007, 11:06 PM
Mramesh Mramesh is offline
D-Web Sr.Programmer
 
Join Date: Sep 2007
Location: Chennai
Posts: 106
Mramesh is on a distinguished road
Send a message via MSN to Mramesh
Exclamation Re: Metadata Extraction with .Net Framework 3.0

Hi Sathish,
I have installed the .Net framework 3.0.But I dont know whether it has been installed in my system r not.I couldnt find .Net framework 3.0 in my list of Installed programs.Can you help me to find it in my runtime?
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 12-26-2007, 11:14 PM
Sathish Kumar Sathish Kumar is offline
D-Web Analyst
 
Join Date: Feb 2007
Posts: 304
Sathish Kumar is on a distinguished road
Thumbs up Re: Metadata Extraction with .Net Framework 3.0

Hi Ramesh,
Yes me too have overcanme the same issue .But I found a quick workaround to find the .Net framework 3.0 has been installed in my system or not.Here it is...Try this HTML page and see what you get..You can check by this way.



<HTML>
<HEAD>
<TITLE>Test for the .NET Framework 3.0</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8" />
<SCRIPT LANGUAGE="JavaScript">
<!--
var dotNETRuntimeVersion = "3.0.04425.00";

function window :: onload()
{
if (HasRuntimeVersion(dotNETRuntimeVersion))
{
result.innerText =
"This machine has the correct version of the .NET Framework 3.0: "
+ dotNETRuntimeVersion
}
else
{
result.innerText =
"This machine does not have the correct version of the .NET Framework 3.0."
}
result.innerText += "\n\nThis machine's userAgent string is: " +
navigator.userAgent + ".";
}

//
// Retrieve the version from the user agent string and
// compare with the specified version.
//
function HasRuntimeVersion(versionToCheck)
{
var userAgentString =
navigator.userAgent.match(/.NET CLR [0-9.]+/g);

if (userAgentString != null)
{
var i;

for (i = 0; i < userAgentString.length; ++i)
{
if (CompareVersions(GetVersion(versionToCheck),
GetVersion(userAgentString[i])) <= 0)
return true;
}
}

return false;
}

//
// Extract the numeric part of the version string.
//
function GetVersion(versionString)
{
var numericString =
versionString.match(/([0-9]+)\.([0-9]+)\.([0-9]+)/i);
return numericString.slice(1);
}

//
// Compare the 2 version strings by converting them to numeric format.
//
function CompareVersions(version1, version2)
{
for (i = 0; i < version1.length; ++i)
{
var number1 = new Number(version1[i]);
var number2 = new Number(version2[i]);

if (number1 < number2)
return -1;

if (number1 > number2)
return 1;
}

return 0;
}

-->
</SCRIPT>
</HEAD>

<BODY>
<div id="result" />
</BODY>
</HTML>



Copy the above code in a notepad and save it as .html page.Then click this page and check what you get..I hope this will help you
__________________
Sathish Kumar.R
Knowledge is meant to SHARE
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 12-26-2007, 11:19 PM
Mramesh Mramesh is offline
D-Web Sr.Programmer
 
Join Date: Sep 2007
Location: Chennai
Posts: 106
Mramesh is on a distinguished road
Send a message via MSN to Mramesh
Exclamation Re: Metadata Extraction with .Net Framework 3.0

Hi Sathish,
Ok I will try this and let you know..But I am still confused with why its not listed in the Installed Programs.Do u have any idea?
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 12-26-2007, 11:31 PM
Sathish Kumar Sathish Kumar is offline
D-Web Analyst
 
Join Date: Feb 2007
Posts: 304
Sathish Kumar is on a distinguished road
Exclamation Problem with .Net framework 3.o not listed in Installed Programs

Hi Ramesh,
Yes its also me who is facing out this problem and may be more who might be still facing this problem yet..But I am asking you one question.Do u have older versions installed in ur system still when .Net framework 3.o is installed?
__________________
Sathish Kumar.R
Knowledge is meant to SHARE
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 12-26-2007, 11:51 PM
Mramesh Mramesh is offline
D-Web Sr.Programmer
 
Join Date: Sep 2007
Location: Chennai
Posts: 106
Mramesh is on a distinguished road
Send a message via MSN to Mramesh
Exclamation Re: Metadata Extraction with .Net Framework 3.0

Hi,
Yes you are correct .I have .net Framework 2.0 installed in my system already.is that is the cause of this issue?
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #11 (permalink)  
Old 02-04-2008, 06:55 AM
Sathish Kumar Sathish Kumar is offline
D-Web Analyst
 
Join Date: Feb 2007
Posts: 304
Sathish Kumar is on a distinguished road
Thumbs up Re: Metadata Extraction with .Net Framework 3.0

Hi Ramesh,
Yes that might be.Please uninstall the older versions and then try installing the .net framework 3.0 and see what the Add /Installed Programs list showing.
__________________
Sathish Kumar.R
Knowledge is meant to SHARE
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Reading EXIF, IPTC & ICC Profile metadata from an image using MagickNet in C# letmein C# Programming 0 03-27-2008 01:42 AM
List of EXIF metadata properties item name and its proprety ID values oxygen C# Programming 1 12-24-2007 02:30 AM
Raw image metadata processing oxygen C# Programming 6 08-16-2007 03:01 AM
Read and Write IPTC and EXIF metadata fro raw Images Balasubramanian.S C# Programming 4 08-03-2007 07:38 AM
I have a C source to write iptc and exif metadata for raw images. How to use it in C# oxygen C# Programming 0 07-21-2007 02:56 AM


All times are GMT -7. The time now is 09:10 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0