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

Drawing photo from file to canvas rotates in Chrome based on EXIF

Chrome auto-rotates any image from a file input drawn to a canvas based on it's exif data. This is great, but iOS doesn't do the same. Is there a way to prevent this behavior in so I can just transform the image myself. With a fix I wrote it works…
Chase R Lewis
  • 2,119
  • 1
  • 22
  • 47
7
votes
3 answers

Python EXIF can't find HEIC file date taken, but it's visible in other tools

This is similar to this question, except that the solution there doesn't work for me. Viewing a HEIC file in Windows Explorer, I can see several dates. The one that matches what I know is the date I took the photo is headed 'Date' and 'Date taken'.…
Cormac
  • 117
  • 1
  • 10
7
votes
1 answer

ImageMetadata change property is corrupted

I have a working application to change some of the metadata of my scanned images. This was working good, until we added a pre-process to automatically crop the borders of the images with GIMP console. We change multiple fields in the EXIF data, and…
Stinus
  • 309
  • 1
  • 3
  • 18
7
votes
4 answers

ExifInterface doesn't update exif tags

I'm trying to change exif tags with ExifInterface. I use setAttribute() and call saveAttributes(). The tag is saved temporarily, then next time the old value is still there and hasn't been updated................ Example: ExifInterface exifInterface…
siamii
  • 23,374
  • 28
  • 93
  • 143
7
votes
1 answer

EXIF data (from mobile's cameras, in portrait mode) messing with image preview in Javascript

I started with this code which allows the user to preview the uploaded image in the browser: 'use strict'; var img = document.querySelector('img'); var span =…
Piyin
  • 1,823
  • 1
  • 16
  • 23
7
votes
5 answers

What is the best way to geotag jpeg-images with python?

I have coordinates from some source and want to tag my jpg files with them. What is the best python library for writing geotags into exif data?
Frank Bannister
  • 3,197
  • 5
  • 20
  • 10
7
votes
3 answers

How can I identify the images with 'Possibly corrupt EXIF data'

I am working on a image classification Kaggle competition and download some training images from Kaggle.com. Then I am using transfer learning with ResNet50 to work on these images, within Keras 2.0 and Tensorflow as background (and Python…
user3768495
  • 4,077
  • 7
  • 32
  • 58
7
votes
1 answer

Make EXIF Tool Replace Original File

I'm using the EXIF Tool to Copy all the EXIF Tags using the following command exiftool -TagsFromFile file1 file2 But if a file named file2 already exists in the source folder, I need the EXIF Tool to replace it.Currently, it is renaming the file…
techno
  • 6,100
  • 16
  • 86
  • 192
7
votes
3 answers

Javascript: How to convert exif date time data to timestamp?

In javascript, while using exif-js to extract metadata of an image file, I am getting date time format as 2017:03:09 14:49:21. The value in the DateTimeOriginal property is formatted as YYYY:MMY:DD HH:MM:SS. When I use var d = new Date(2017:03:09…
Manthan Sheth
  • 75
  • 1
  • 5
7
votes
2 answers

EXIF Data LensModel property

I'm using below jQuery plugin to retrieve EXIF data from images https://github.com/sanisoft/jQuery-fileExif/blob/master/jquery.exif.js However there is no code in this to retrieve lens model data. So I added the code 0xA434 : "LensModel", after…
Jordyn
  • 1,133
  • 2
  • 13
  • 28
7
votes
1 answer

node.js create / modify Exif inside the JPEG

Is there a native Javascript module that allows creating / modifying EXIF and IPTC sections inside the JPEG file ? Note: I already have the Exif data of the image that I am receiving from iPhone along with the image. Since he image does not include…
Curious101
  • 1,538
  • 2
  • 18
  • 36
7
votes
2 answers

Read & Write file tag in cocoa app OS X with swift or obj-c

Is there any way to read/write file tags without shell commands? Already tried NSFileManager and CGImageSource classes. No luck so far.
arsena
  • 1,935
  • 19
  • 36
7
votes
3 answers

How to remove EXIF data from image, but keep the orientation?

When I remove the EXIF data from a folder with images with the Windows properties-tool, the orientation (that was already manually changed), is lost. So when I want to place all this pictures on a website, they aren't displayed correctly. The…
Robin
  • 93
  • 1
  • 1
  • 5
7
votes
2 answers

Adding big junks of custom data to jpg image file

I wonder if there is an obvious and elegant way to add additional data to a jpeg while keeping it readable for standard image viewers. More precisely I would like to embed a picture of the backside of a (scanned) photo into it. Old photos often have…
Angry Coder
  • 147
  • 2
  • 9
7
votes
1 answer

EXIF and thumbnails

I'm working on a photo viewer. In this context, I wrote a small class to be able to read and use some EXIF data, as e.g. image orientation. This class works well for reading. However, I want to add a new option to rotate photos. I want to rotate and…
Jean-Milost Reymond
  • 1,833
  • 1
  • 15
  • 36