exif

Image Property Tag Constant

I'd like to use the image property tag constants defined in GDI+ from .NET. I wonder whether these constant values (e.g. PropertyTagGpsVer constant) are exposed in any of the Base Class Library? I have tried looking around System.Drawing.Imaging namespace to no avail. ...

Resize an image with .NET without losing EXIF data

Hello, What is the best way to resize images using .NET, without losing the EXIF data? I'm okay with using .NET 2 System.Drawing.* classes, WPF classes, or open-source libraries. The only easy way I found to handle this all for now is to use the Graphics.FromImage (.NET 2) to perform the resizing and to re-write the EXIF data with an ...

UIImagePickerController and extracting EXIF data from existing photos

It's well known that UIImagePickerController doesn't return the metadata of the photo after selection. However, a couple of apps in the app store (Mobile Fotos, PixelPipe) seem to be able to read the original files and the EXIF data stored within them, enabling the app to extract the geodata from the selected photo. They seem to do this...

Is there any sample code to read thumbnail from Jpeg exif header?

I am writing application using c++, in windows. I want to get a thumbnail from jpeg, without decoding the whole image. How Can I read thumbnail from jpeg exif header? Can any one offer me a some sample code? Many thanks! ...

EXIF key names explanations

Does anyone know of a good explanation of EXIF key names? I am writing a photo organizer and want to get as much information as possible out of the photo as I can. However, the EXIF key names are not very helpful. For example, from what I can tell (by exporting images from iPhoto) album or set name is stored as 'fixture_identifier'...

How to read embed thumbnail from jpeg images?

I am writing a thumbnail viewer in c++. I first make use of EXIF information to retrive an image's thumbnail, but the thumbnail in the EXIF is bad, with black bands. So I want to get the jpeg's embedded thumbnail, how can I do this? Another question: does jpeg's embeded thumbnail equal to EXIF thumbnial? ...

Does jpeg's embeded thumbnail equal to EXIF thumbnial?

Does jpeg's embeded thumbnail equal to EXIF thumbnial? How can I retrive jpeg's embeded thumbnail? Many thanks! ...

How to know or calculate depth of field of a photo from EXIF tags?

I want to know the depth of field of a photo, preferably in cm or m. I know that we can know the camera setting by reading the EXIF tags, but is there a tag directly telling us the depth of field? Or how can we calculate it from some EXIF tags? Examples would be appreciated. Thanks! ...

Is there some easy way to detect if a file has EXIF data?

Is there some cheap and reliable way to detect if an image file has EXIF data? Something like "read the first 100 bytes and search for EXIF substring" is highly preferable. I don't need to read and parse it - only to know if it is there. The key is that it must be very fast. C++ is preferable. ...

To geo-tag a photo, what attributes are required? More than lat/lon?

I am trying to geo-tag photos taken with the iPhone camera. Since I'm not saving the photos to the camera roll, the photos do not have any EXIF data. So, what elements are required in valid EXIF data? I think I have written the latitude, longitude, and altitude to the EXIF data, but when I export the photo, there doesn't seem to be any ...

How to get EXIF data from my jpegs?

I have to link a date and a name to some jpegs that I am including in my bundle, or possibly downloading from my own server to the Documents folder. Is there a way to extract EXIF data easily? If so, then I will use EXIF to store this info. If not, then I will have to create a database or flat file that maps my extra data to the ima...

How to use PIL to resize and apply rotation EXIF information to the file ?

Hello, I am trying to use Python to resize picture. With my camera, files are all written is landscape way. The exif information handle a tag to ask the image viewer to rotate in a way or another. Since most of the browser doesn't understand this information, I want to rotate the image using this EXIF information and keeping every othe...

Exif and iPhone files

Im using a library for extracting EXIF data from google code. I assume with iPhone OS 3 that you can use UIImagepicker to do it. I just want to be able to extract the f-Stop, Shutter Speed and ISO data from the image. I want to discard the image and just use the information that I store up. Would I end up extracting the tag data in the...

Access EXIF data in a NEF (Nikon) file

How can I access the EXIF data stored in a Nikon NEF file? I can't seem to find a lib that will allow me to extract some basic information from the metadata. (Preferably without having to install the Nikon codec) ...

How can I extract EXIF data using PerlMagick?

I'm currently using Perl Magick http://www.imagemagick.org/script/perl-magick.php, the perl interface to Image Magick http://www.imagemagick.org, to process & convert photos that our site users upload. I'd like to be able to also capture some of the EXIF data attached to these images and I have been able to figure out how to do this usin...

Use PHP or Perl to properly rotate JPEG images

I used F-Spot on Ubuntu to rotate some photos (JPEG files) before I FTPed them up to my website. This seemed to work just fine. However, if those images are opened in a web browser, they do not show as rotated. Nor do they if I download them to a Windows Vista machine and open them with any standard program there. I suspect that F-Spot r...

How can I write an Exif header without recompressing the JPEG, in .NET?

I have a JPEG image that I want to set an Exif header to (particularly, Author). In .NET, I can do this relatively easy using GetPropertyItem and SetPropertyItem, but in order for that change to be persisted to the actual .JPG file, I need to Save it, which basically recompresses the image. Is there any way to do this without recompres...

How is exif info encoded?

Greetings, I'm going to get exif info from some images using android. I know there are some standard java lib's out there that I could use with the device. I'm sure I will end up using one. But in the meantime can someone explain to me how this information is encoded inside a JPG? Where / how would you usually get the info from the ...

Warning: exif_imagetype(test.gif) [function.exif-imagetype]: failed to open stream: No such file or directory in E:\xampp\htdocs\online\upload.processor.php on line 6

Warning: exif_imagetype(test.gif) [function.exif-imagetype]: failed to open stream: No such file or directory in E:\xampp\htdocs\online\upload.processor.php on line 6 What's wrong? How to fix it? Maybe I should get the full path of the file on the client. How to do it? ...

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). ...