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
11
votes
7 answers

JavaScript: can I read EXIF data from a file upload input?

I have the following task: Offer an When the user adds a file: read the EXIF data (specifically, location information if available) send the file and the information from the EXIF to an external API, using Ajax So, I'd like…
simon
  • 5,987
  • 13
  • 31
  • 28
11
votes
2 answers

How to remove EXIF (camera) data from image with carrierwave?

Does anybody know? With paperclip there was a special config command. Removing camera data from image keeps 25-30 Kb per file. It's very sensitive if we make a lot of versions (thumb, small...). In small images the actual size of file without this…
Voldy
  • 12,829
  • 8
  • 51
  • 67
11
votes
4 answers

floating-point operations with bash

how can I transform the string "620/100" into "6.2" in a bash script The context of my question is about image processing. EXIF data are coding the focal length in fractional format, while I need the corresponding decimal string. Thanks for helping,…
quickbug
  • 4,708
  • 5
  • 17
  • 21
11
votes
1 answer

How to remove EXIF data from image using javascript?

I read in a file from an HTML file input. For iOS I can take a picture from the camera. The problem is that if you take the picture with the camera the content will include EXIF data(at least if I read the file content with the FileReader API). I…
einstein
  • 13,389
  • 27
  • 80
  • 110
11
votes
5 answers

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…
Steve
  • 21,163
  • 21
  • 69
  • 92
11
votes
4 answers

.NET C# library for lossless Exif rewriting?

I have found various code and libraries for editing Exif. But they are only lossless when the image width and height is multiple of 16. I am looking for a library (or even a way to do it myself) to edit just the Exif portion in a JPEG file (or add…
Aximili
  • 28,626
  • 56
  • 157
  • 216
10
votes
2 answers

How to use ExifInterface with a stream or URI

I'm writing an app that can be sent a photo URI from the "Share via" menu in Android. The kind of URI you get is content://media/external/images/media/556 however ExifInterface wants a standard file name. So how do I read the exif data (I just want…
Timmmm
  • 88,195
  • 71
  • 364
  • 509
10
votes
2 answers

exif_read_data - Incorrect APP1 Exif Identifier Code

I have problem with some of my photos when i want to read EXIF data. My code below: $exif_date = exif_read_data($file_path, 'IFD0'); With some images i get warrning: Message: exif_read_data(001.jpg) [function.exif-read-data]: Incorrect APP1 Exif…
baranq
  • 283
  • 2
  • 3
  • 11
10
votes
2 answers

Is there any reliable .NET Image Metadata Library?

I was searching for some image metadata handling library with following requirements: support EXIF, IPTC and XMP support fast reading of metadata tags (e.g. for batch loading of image thumbnails with annotations) support writing metadata…
Libor
  • 3,285
  • 1
  • 33
  • 41
10
votes
1 answer

How to get Exif data from an InputStream rather than a File?

The reason why I am asking this is because the callback of the file chooser Intent returns an Uri. Open file chooser via Intent: Intent intent = new…
Willi Mentzel
  • 27,862
  • 20
  • 113
  • 121
10
votes
4 answers

Swift how to modify exif info in images taken from mobile camera

I use UIImagePickerController to pick images in my iOS App and I know exif info can be got by info[UIImagePickerControllerMediaMetadata]. But when I upload my image to my server by UIImage, most of exif info has been striped. I wonder whether I can…
SuperBi
  • 278
  • 1
  • 2
  • 9
10
votes
3 answers

What is the maximum size of JPEG metadata?

Is there a theoretical maximum to the amount of metadata (EXIF, etc) that can be incorporated in a JPEG file? I'd like to allocate a buffer that is assured to be sufficient to hold the metadata for any JPEG image without having to parse it myself.
darrinm
  • 9,117
  • 5
  • 34
  • 34
10
votes
4 answers

How retrieve the creation date of photos with a script

What I want to do is reorganize files in my Camera Roll folder. Using the creation date I want to Put them inside folders according to Year/Month Format using their creation date. In this answer, they explain how to make folders and organize…
prab4th
  • 231
  • 1
  • 2
  • 11
10
votes
1 answer

Android ExifInterface saveAttributes() Without Overwriting Previous Data?

I'm trying to write lat-long and other data to the Exif header of a jpeg in my custom camera app. Typically android automatically populates the header with data such as aperture, ISO, shutter speed etc. However, when I manually add create an…
JohannB
  • 357
  • 6
  • 21
10
votes
4 answers

How to Fetch the Geotag details of the captured image or stored image in Windows phone 8

I want to fetch the information from the image regarding the Geolocation as shown in the image below void cam_Completed(object sender, PhotoResult e) { if (e.TaskResult == TaskResult.OK) { Image…
Arjun Sharma
  • 595
  • 2
  • 9
  • 23