Questions tagged [exif]

Exchangeable image file format is a standard for storing metadata such as camera, lens, and geo information in JPEG and TIFF files

Exchangeable image file format is a standard for storing metadata from digital cameras.

The tags defined in the Exif standard cover a broad spectrum:

  • Date and time information.

  • Camera settings:e camera model and make, orientation (rotation), and ISO speed, metering mode

  • Lens settings: make and model, aperture, shutter speed, focal length

  • File settings: File format, color mode

  • A thumbnail for previewing the picture

  • Descriptions

  • Copyright information.

Like EXIF, also holds meta information in image files.

1824 questions
6
votes
0 answers

ExifInterface JHEAD cant open error (android)

I am trying to pick and image from the gallery and print it's path along with the gps tags using ExifInterface. I am using a nexus 4 (kitkat 4.4.2) to debug and the image path I get is /storage/emulated/0/DCIM/image_file_name but the…
jai
  • 126
  • 1
  • 9
6
votes
4 answers

Set image orientation using ExifInterface

setRotation method in Camera.Parameters does not work in all devices. Somebody suggests to manually change the EXIF information to solve the problem. Can you give me a short example on how to set the exif information with ExifInterface in such a way…
user2923045
  • 369
  • 2
  • 6
  • 16
6
votes
6 answers

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)?
coolaj86
  • 74,004
  • 20
  • 105
  • 125
6
votes
2 answers

Writing image metadata (EXIF/TIFF/IPTC) to image file in OS X

I am creating a photo editing app, and so far I've managed to read the metadata from image files successfully (after getting an answer to this question: Reading Camera data from EXIF while opening NSImage on OS X). source =…
Can Poyrazoğlu
  • 33,241
  • 48
  • 191
  • 389
6
votes
2 answers

Correcting Image Orientation server side in vb.net

In a mobile web application I am developing, users are allowed to take a picture with their camera and the camera image is uploaded to a server. The issue I am having is that on iOS devices, images get an EXIF Orientation tag associated with them…
Obi Wan
  • 969
  • 11
  • 26
6
votes
1 answer

call to undefined function exif_read_data()

In my application I am getting the following error: call to undefined function exif_read_data() I already have enabled mbstring extension before exif extension but I am still getting this error. Could anybody give me any hints as to why this error…
shefalibansal05
  • 79
  • 1
  • 1
  • 8
6
votes
1 answer

EXIF from int8Array

What would be the best approach to get EXIF info from int8array which has my image data. I know the question is too simplified but I am really stuck I was thinking about using this library: https://github.com/vjeux/jDataView Or modifying this…
Jacob
  • 3,580
  • 22
  • 82
  • 146
6
votes
2 answers

Get EXIF data without downloading whole image - Python

Is is possible to get the EXIF information of an image remotely and with only downloading the EXIF data? From what I can understand about EXIF bytes in image files, the EXIF data is in the first few bytes of an image. So the question is how to…
knutole
  • 1,709
  • 2
  • 22
  • 41
6
votes
2 answers

C# library to extract Lens Make/Model from EXIF data in JPG images

I need to extract the following pieces of information from any jpg that is uploaded to a website: Aperture Focal Length ISO Setting Camera Make/Model Lens Make/Model I'm not worried about all of the other EXIF data that is contained within images.…
marcusstarnes
  • 6,393
  • 14
  • 65
  • 112
6
votes
3 answers

iOS saving photo to Camera Roll does not preserve EXIF/GPS metadata

I know a UIImage can be saved into Camera Roll with UIImageWriteToSavedPhotosAlbum, but this approach strips all metadata from the original file (EXIF, GPS data, etc). Is there any way to save the original file, rather than just the image data into…
SaltyNuts
  • 5,068
  • 8
  • 48
  • 80
6
votes
2 answers

Resize an image with .NET without losing EXIF data

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…
TigrouMeow
  • 3,669
  • 3
  • 27
  • 31
6
votes
1 answer

What do all the orientation constants of the ExifInterface class in Android mean?

I understand what the ORIENTATION_NORMAL, ORIENTATION_ROTATE_180, ORIENTATION_ROTATE_270, ORIENTATION_ROTATE_90 and ORIENTATION_UNDEFINED. However i do not understand what ORIENTATION_FLIP_HORIZONTAL, ORIENTATION_FLIP_VERTICAL,…
AggelosK
  • 4,313
  • 2
  • 32
  • 37
6
votes
1 answer

How to write the modified exif in source image file (like JPEG, TIFF, PSD)?

I used libexif to read and modify the exif metadata in JPEG file. I am not sure on how to write/save the modified contents in the original source image file? Any ideas?? Thanks.
ext.dev
  • 121
  • 6
5
votes
4 answers

How do you place EXIF tags into a JPG, having the raw jpeg buffer in C++?

I am having a bit of a problem. I get a RAW char* buffer from a camera and I need to add this tags before I can save it to disk. Writing the file to disk and reading it back again is not an option, as this will happen thousands of times. The buffer…
Hannes
  • 51
  • 1
  • 6
5
votes
3 answers

Android - Find the orientation of photo was took by camera

I need to take a photo, find out its orientation, draw it on canvas and rotate the canvas. I need help to find out orientation of the photo
StoneHeart
  • 15,790
  • 32
  • 67
  • 84