exif

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 get raw jpeg data (but no metatags / proprietary markers)

I want to get raw jpeg data - no metadata. I'm very confused looking at the jpeg "standards". How correct is my understanding of the marker "tree"? 0xFFD8 - Identifies the file as an image 0xFFE? - EXIF, JFIF, SPIFF, ICC, etc 0x???? - the length of the tag 0xFFD8 - Start of Image 0xFFE0 - should follow SOI as p...

XAMPP + Perl + PHP. Not sure how to run Perl script.

This is very stupid but I seem to be completely lost trying to test a Perl command-line application with XAMPP. I downloaded the 'ExifTool by Phil Harvey' and extracted the files in a folder within htdocs with an index.php in it, in which I hope to set up a PHP interface to the functionalities provided by ExifTool. Actually I can't even ...

Calculating EXIF exposure time as a fraction (Delphi)

Hi, I am trying to display EXIF exposure time as a fraction of seconds but I am not getting expected result, probably a small mistake. I have found two routines that do the calculation but both bring diffrent and wrong result. The value I am having problem is: "0.0806451612903226" value is of type Extended. DecimalToFractStr give m...

libexif example to add a small Xml document in the exif data

Any libexif user/developer that could point me in the right direction on what are the appropriate call for adding a small custom XML document in the exif meta data of a JPG image ? I have been googling around for a while and can't figure it out. I am open to any other opensource library that will let me do that as long as it is C based...

How to get the EXIF or meta-data from images?

I need a really good library or a command-line software that can be used to extract Exif data from images. No specific programming language, except the library or the software has to work really well. I found various libraries for PHP and Python, but most of it hasn't been updated or being maintained and don't work for various manufact...

Using PEL (PHP EXIF Library), is there a way to remove the embedded thumbnail from an image's EXIF data?

I am working on a project that resizes images using PHP. This project utilizes PEL to copy EXIF data from the source image to the resized image. However, when resizing images to be really small, the embedded EXIF data contains a thumbnail that is actually much larger than the resized image itself. I would love to use PEL to remove this t...

Good metadata image dump utilities?

I'm looking for the best tool out there to extract any and all metadata embedded within the most populat image file formats (JPEG and PNG specifically). whatever's in there, I'd like to know about it (XMP, Exif, IPTC, IIM, etc.). Ideally I'm looking for an all-in-one solution that I can run from a command line, but I'm interested to hear...

[C#] How can I read the EXIF data from an image taken with an Apple iPhone

How can I read the EXIF data from an image taken with an Apple iPhone? using C# I need the GPS related data. ps: I know how to read EXIF except image taken with an Apple iPhone ...

Reading EXIF/MetaData from CRW (or other RAW files) with PHP

Hi, Pretty much as the title says, I've had a search around but been unable to find anything. I can read TIFF and JPEG files, but I've not found anything to read RAW files. Does anyone know of anything PHP or otherwise that can do this (if otherwise, then something I can use with PHP). Many thanks, Mike. ...

Reading data metadata from JPEG, XMP or EXIF in C#

I've been looking around for a decent way of reading metadata (specifically, the date taken) from JPEG files in C#, and am coming up a little short. Existing information, as far as I can see, shows code like the following; BitmapMetadata bmd = (BitmapMetadata)frame.Metadata; string a1 = (string)bmd.GetQuery("/app1/ifd/exif:{uint=36867}"...

Getting exif data from php

Hi again I'm trying to get a good exif parser for files. So far I'm using Exif reader v 1.2 But I'm have some trouble reading the lens information i.e what it was taken by. Does anyone have any good solutions. Thanks Richard ...

Compass metadata tag in photos

We have a GPS enable camera that also stores the compass direction or bearing in the metadata in the photo. The GPS X and Y and other GPS information is stored in the GPSInfo tag in the EXIF data, however compass direction is not there. Does anyone know where I can find about where this tag is stored in the file? I have looked up the ...

Nil pointer returned for [exifData tagValue:]

Hello, I'm trying to read EXIF data from pictures taken with the apple camera's application, containning EXIF informations. I use iphone-exif library available at http://code.google.com/p/iphone-exif/. My problem is that I succes getting tag informations with [exifData tagDefinition:] function : EXFTag* tag = [exifData tagDefinition:[N...

PHP extract GPS EXIF data

I would like to extract the GPS EXIF tag from pictures using php. I'm using the exif_read_data() that returns a array of all tags + data : GPS.GPSLatitudeRef: N GPS.GPSLatitude:Array ( [0] => 46/1 [1] => 5403/100 [2] => 0/1 ) GPS.GPSLongitudeRef: E GPS.GPSLongitude:Array ( [0] => 7/1 [1] => 880/100 [2] => 0/1 ) GPS.GPSAltitudeRef: GP...

JPG File Size Optimization - PHP, ImageMagick, & Google's Page Speed

I have photo gallery code that does image re-sizing and thumbnail creation. I use ImageMagick to do this. I ran a gallery page through Google's Page Speed tool and it revealed that the re-sized images and thumbnails both have about an extra 10KB of data (JPEG files specifically). What can I add to my scripts to optimize the file size?...

POST EXIF Data from iPhone

I am using Titanium Appcelerator for iPhone application development . My project requires the EXIF data from images stored in the gallery . I notice that whenever I send an image from the gallery using Titanium.Media.openPhotoGallery , the image headers are completely stripped , and I receive the file at 320 x 320 resolution only . I...

JPG segment length encoding

I'm trying to write some code to extract Exif information from a JPG. Exif is stored in the APP1 segment of a JPG file. According to the Exif spec, the format of the APP1 segment is supposed to start like this: FF E1 // APP1 segment marker nn nn // Length of segment 45 // 'E' 78 // 'x' 69 // ...

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 to remove EXIF data without recompressing the JPEG?

I want to remove the EXIF information (including thumbnail, metadata, camera info... everything!) from JPEG files, but I don't want to recompress it, as recompressing the JPEG will degrade the quality, as well as usually increasing the file size. I'm looking for a Unix/Linux solution, even better if using the command-line. If possible, ...