This is a discussion on Raw image metadata processing within the C# Programming forums, part of the Software Development category; Hi…guys… I am handling a project with raw image metadata processing in C# .Net. I want to read and ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| |||
| Hi…guys… I am handling a project with raw image metadata processing in C# .Net. I want to read and write EXIF, IPTC metadata from raw images. I have some ideas to get metadata from JPEG, TIFF files, But not for raw images. Can any one help me for this?
__________________ The OXYGEN Delivers edgy, intelligent Technology to all... |
| Sponsored Links |
| |||
| Hi Oxygen, You can try the Microsoft photoinfo. I hope it will very useful for you,it reads and writes the IPTC metadata and reads the EXIF metadata. You can download it from the microsoft site. |
| |||
| Thanks ram, Its a good tool for reading and writing IPTC metadata. But i need a SDK. we cant use the tool directly in the project. And i tried with the dll's of the photoinfo. But not able to read . Microsoft provides COM components for metadata reading in .NET 3.0, but i need a dll or source for .NET 2.0 . Is there any other ways ?
__________________ The OXYGEN Delivers edgy, intelligent Technology to all... |
| |||
| Hi, You can read the IPTC information for Jpeg, Tiff, CR2 and NEF Image using Photo Info dll. Steps: 1) Install the photoinfo (Microsoft IPTC read and write component) 2) Create a C# project. 3) Add the Dll Extract Image and Extract Metadata as reference. 4) Copy and Paste the following code. 5) You can read all IPTC fields using this code. uint fileFlags = 0x180; uint[] tags = new uint[] { 0x10110, 0x1a403, 0x19201, 0x19202, 0x18827, 0x1920a, 0x19003, 0x20076, 0x20078, 0x20050, 0x2005c, 0x2007a, 0x2000f, 0x2005a, 0x20065, 0x20074, 0x2006e, 0x20069, 0x20005, 0x20073, 0x20028, 0x2005f, 0x20067, 0x20014, 0x2000a, 0x20037, 0x20019, 0x30001, 0x19c9b, 0x19c9c, 0x19c9d, 0x19c9e, 0x19c9f, 0x10100, 0x10101, 0x14746, 0x1a002, 0x1a003, 0x40001, 0x40002, 0x40003, 0x40004, 0x40005, 0x40006}; Array array = Array.CreateInstance(typeof(uint), tags.Length); ExtractMetadata.CExtractMetadata2Class extractMetadata = new ExtractMetadata.CExtractMetadata2Class(); string[] textArray = (string[])extractMetadata.GetMetadata("D:\\exif.jpg", 1, tags, (uint[])array, ref fileFlags); |
| |||
| Hi Bala, Its a great effort from you. Its really works well. lot of thanks. I have executed the code u have given as per your instructions. It works perfectly and reads the IPTC metadata from TIFF,JPEG,CR2,NEF files but not for CRW. anyway its a great improvement for my prjoect. When tried for the CRW files it says the following error "Value does not fall within the expected range.". not able to find the reason. your code reads IPTC data only.I need EXIf also, i am now trying exiv2 c++ sources for that. I have to convert it to use in C#. If u have any idea about EXIF reading, please help me. Thanks once again
__________________ The OXYGEN Delivers edgy, intelligent Technology to all... |
| |||
| Hi, I have listed IPTC Properties for some tags. Others are unknown tags. Iptc_Address = 10; Iptc_Author = 9; Iptc_Caption = 8; Iptc_CaptionWriter = 11; Iptc_Category = 12; Iptc_City = 13; Iptc_Contact = 7; Iptc_Copyright = 15; Iptc_Country = 14; Iptc_Credit = 0x10; Iptc_DateCreated = 0x19; Iptc_Headline = 0x11; Iptc_Keywords = 0x1a; Iptc_ObjectName = 0x12; Iptc_Source = 0x13; Iptc_SpecialInstructions = 20; Iptc_State = 0x15; Iptc_SupplementalCategory = 0x17; Iptc_TransRef = 0x16; Iptc_Urgency = 0x18; Thanks... S.Balasubramanian.. |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Extract IPTC Metadata from jpeg and tiff image formats | Balasubramanian.S | C# Programming | 26 | 11-13-2008 01:19 PM |
| Reading EXIF, IPTC & ICC Profile metadata from an image using MagickNet in C# | letmein | C# Programming | 0 | 03-27-2008 01:42 AM |
| Metadata Extraction with .Net Framework 3.0 | Sathish Kumar | C# Programming | 10 | 02-04-2008 06:55 AM |
| What is batch processing? | leoraja8 | Database Support | 1 | 09-07-2007 04:35 AM |
| form processing | Archimedees | PHP Programming | 3 | 09-04-2007 03:39 AM |