This is a discussion on Extract IPTC Metadata from jpeg and tiff image formats within the C# Programming forums, part of the Software Development category; Hi, I am doing a project to extract IPTC metadata from jpg and tiff image formats. Then i want to ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| Hi, I am doing a project to extract IPTC metadata from jpg and tiff image formats. Then i want to edit the data and save it. Can anyone tell me how to do it? Thanks... S.Balasubramanian.. Last edited by Booom : 08-22-2007 at 11:31 PM. |
|
#2
| |||
| |||
| There are lot of components are avaiable for the meta data extractor from the image file. IPTCInfo The IPTCInfo module allows you to add/edit metadata to your image. You can download it from here. Reading from iptcinfo import IPTCInfo info = IPTCInfo('test.jpg')Add/Edit info = IPTCInfo('test.jpg')And also ImageMagick ImageMagick® is a software suite to create, edit, and compose bitmap images. It can read, convert and write images in a variety of formats (about 100) including DPX, GIF, JPEG, JPEG-2000, PDF, PhotoCD, PNG, Postscript, SVG, and TIFF. Use ImageMagick to translate, flip, mirror, rotate, scale, shear and transform images, adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses and Bézier curves. The functionality of ImageMagick is typically utilized from the command line or you can use the features from programs written in your favorite programming language. Choose from these interfaces: G2F (Ada), MagickCore (C), MagickWand (C), ChMagick (Ch), ImageMagickObject (COM+), Magick++ (C++), JMagick (Java), L-Magick (Lisp), nMagick (Neko/haXe), MagickNet (.NET), PascalMagick (Pascal), PerlMagick (Perl), MagickWand for PHP (PHP), PythonMagick (Python), RMagick (Ruby), or TclMagick (Tcl/TK). With a language interface, use ImageMagick to modify or create images automagically and dynamically. thanks ![]()
__________________ Karpagarajan. R Necessity is the mother of invention Last edited by Booom : 08-20-2007 at 02:13 PM. |
|
#3
| |||
| |||
| Hi Karpagarajan, Iam unable to download the source file from the link that you have sent. Please send me that module if you have. Thanks, S.Balasubramanian. |
|
#4
| |||
| |||
| Hi Balasubramanian, Here is the link to download the ImageMagick for Windows And the sample source code for .NET Class and the VC++ source code The Technical Documentation thanks ![]()
__________________ Karpagarajan. R Necessity is the mother of invention |
|
#5
| |||
| |||
| Hi Karpagarajan, I have downloaded the source from the link that you have sent. But all are in VC++ or C. I want to extract IPTC Metadata using C#. Please can you tell me any idea... |
|
#6
| |||
| |||
| Yes Balasubramanian, You need to use the same code how the ImageMagick Component was used in the sample code. You just implement the ImageMagick library in your C# source file and use ImageMagick functionality. try this with your source I will implement it in a sample file and let you know .. thanks ![]()
__________________ Karpagarajan. R Necessity is the mother of invention |
|
#7
| |||
| |||
| Hi Karpagarajan, Iam unable to add the dll file (imageMagick) as a reference in my c# project. I have a full source to read and write IPTC MetaData in VC++. But I want to do it in C#. So, I want to convert the VC++ source into DLL and use it in C#. Could you please tell me how to convert and use? Extracting IPTC header information from JPEG images - The Code Project - Bitmaps & Palettes Thanks... S.Balasubramanian. Last edited by Balasubramanian.S : 04-26-2007 at 02:55 AM. |
|
#8
| |||
| |||
| Hi..Balasubramanian.. I have gone throught that code. I think you can straighaway link the "IPTC.cpp" and "IPTC.h" on to your C# project. these files are used to define the "CIPTC" class. Using the CIPTC class you can extract the IPTC information. After check with the given sample URL, I have described the following logic to extract the IPTC information. first insert the following files to your C# project.(download the source file from URL which you posted in previous message) "IPTC.cpp" CIPTC m_iptc; declare the variable like that and use the object in the following manner to assign the IPTC information to your variables. m_iptc.OpenFile(m_FileName);thanks ![]()
__________________ Karpagarajan. R Necessity is the mother of invention |
|
#9
| |||
| |||
| Hi Karpagarajan, When I add, IPTC.CPP and IPTC.h in my C# application. The following error occured. The type or namespace CIPTC could not be found(are you missing an assembly directive). Could you please help me how to solve the problem. Thanks, S.Balasubramanian. |
|
#10
| |||
| |||
| Hi Balasubramanian, since i was working in another project, I couldnt get the solution yet. But I have searched in the net and find another way to get the IPTC data in C#. Kindly go through this sample and let me know the status. IPTC in C# And also, Bala do you have the BitmapMetadata use codes from here: IPTC Codes with BitmapMetadata meta = (BitmapMetadata)myDecoder.Frames[0].Metadata; MyInfo = meta.GetQuery("/app13/ifb/8bimiptc/WHATEVER") ; thanks ![]()
__________________ Karpagarajan. R Necessity is the mother of invention Last edited by Karpagarajan : 04-28-2007 at 12:47 AM. |
![]() |
| Thread Tools | |
| Display Modes | |
| |
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 12:42 AM |
| Applying ICC profiles to a TIFF,JPEG files using C# | oxygen | C# Programming | 1 | 02-28-2008 10:42 PM |
| Reading IPTC data from Nikon camera RAW images,JPEG,TIFF files using Adobe dll in C# | oxygen | C# Programming | 1 | 02-28-2008 10:33 PM |
| Read and Write IPTC and EXIF metadata fro raw Images | Balasubramanian.S | C# Programming | 4 | 08-03-2007 06: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 01:56 AM |
Our Partners |