iptc

Embedding IPTC image data with PHP GD

I'm trying to embed a IPTC data onto a JPEG image using iptcembed() but am having a bit of trouble. I have verified it is in the end product: // Embed the IPTC data $content = iptcembed($data, $path); // Verify IPTC data is in the end image $iptc = iptcparse($content); var_dump($iptc); Which returns the tags entered. However when I...

Reading IPTC information with C#, .NET Framework 2

Hello, is there any possibility to read the IPTC information of a picture with C# and the .NET Framework 2? I haven't found any solution. Only with .NET Framework 3.0 oder .NET 3.5 you can do it. Any help, any information? Thank you very much from Germany! Stephan ...

Error reading IPTC fields from JPEGs in .NET

I get the following exception when calling BitmapMetadata.GetQuery("/app13/irb/8bimiptc/iptc") on about 1% of JPEGs I have tried this on. What could be causing this and what can I do to fix it? (I have tried Googling but I can only find one relevant result asking the same question but with no answer.) System.OverflowException: The image...

Appending metadata to a newly created image via php?

I have php script that creates a temporary watermark image for users that are not logged in. The original image contains IPTC (metadata) information that I would like to retain, however, when the watermark is applied and imagejpeg is called, all metadata is removed. Any ideas how I can maintain the metadata or re-apply metadata after i...

Extracting IPTC/EXIF data from tif files in using Java

The system I'm working on has a feature to extract metadata from JPEG files using the com.drew.metadata package. http://www.drewnoakes.com/code/exif/javadoc/ However that is limited to JPEG files, and now a customer has asked about extracting IPTC from TIF, and possibly other image formats. Does anyone know about similar APIs to Drew No...

How do you get the country/state/region/city/state/zip/postal from GPS coordinates?

I have GPS coordinates on all of my photos. I want to include tags/IPTC data for the city, state, zip, etc.. However all I have is the GPS coordinates. How can I take these and get meaningful info in an automated fashion (I have thousands upon thousands of photos, so typing each one into google maps would not work). ...

Checksum JPEG data (not the whole file)

Are there end-of-exif / end-of-xmp / end-of-iptc / start-of-data markers that I could use to get a checksum of just the data part of a jpg / jpeg (and other image formats)? ...

How to Read and Edit IPTC "Writer/Editor" tag using WPF

Hello, I am creating a WPF application that can read and write IPTC and XMP image metadata. I am having problem reading and writing the IPTC Writer/Editor property. The XMP counterpart of it works fine. I have tried the following options but no luck. metaData.SetQuery("/app13/irb/8bimiptc/iptc/Writer/Editor", value) metaData.SetQuery...

C#: Take Out Image Portion of JPEG to Backup Metadata?

This will be a little backwards from the typical approach. I've used ExifTool for metadata manipulation before, but I really want to keep the best metadata backup I can before I make anything permanent. What I want to do is remove the compressed image portion of a JPEG file to leave everything else intact. That's backing up EXIF, Maker...

How do I use IPTC/EXIF metadata to categorise photos?

Many photo viewing and editing applications allow you to examine and change EXIF and IPTC data in JPEG and other image files. For example, I can see things like shutter speed, aperture and orientation in the picture files that come off my Canon A430. There are many, many name/value pairs in all this metadata. But... What do I do if I...

Is it possible to add IPTC data to a JPG using python when no such data already exists?

With the IPTCInfo module under Python (http://snippets.dzone.com/posts/show/768 for more info) it's possible to read, modify and write IPTC info to pictures. However, if a JPG doesn't already have IPTC information, the module simply raises an exception. It doesn't seem to be able to create and add this metadata information itself. Wh...

No UTf-8 when write IPTC data in JPG with iptcembed

Hi, I use this function function iptc_make_tag($rec, $data, $value){ $length = strlen($value); $retval = chr(0x1C) . chr($rec) . chr($data); if($length < 0x8000) { $retval .= chr($length >> 8) . chr($length & 0xFF); } else { $retval .= chr(0x80) . chr(0x04) . chr(...

cant call function from within its class but can otherwise?

hello there. - just can't seem to get a result from a function called in its class... require_once($_SERVER['DOCUMENT_ROOT']."/youradmin_v2/scripts/php/IPTC.php"); class Media{ function Media() { // connects to db } function getMetaData($mediaID){ global $select; $mediaDB = $select->mediaSelect($...

Java library for reading and writing IPTC metadata to JPEG and TIFF

Hello! Does anyone know some opensource Java library for reading and writing IPTC metadata to JPEG and TIFF? Now I'm using Apache Sanselan. Unfortunately, it can only read IPTC, not write (http://commons.apache.org/sanselan/formatsupport.html). Will be very grateful for your assistance. Denis. ...