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
18
votes
4 answers

Simple way to remove EXIF data from a JPEG with .NET

How can I remove all EXIF data from a JPEG image? I found lots of examples on how to read and edit the EXIF data with various libraries, but all I would need is a simple example on how to remove it. It is just for testing proposes, so even the…
marc.d
  • 3,804
  • 5
  • 31
  • 46
17
votes
2 answers

set orientation of android camera started with intent ACTION_IMAGE_CAPTURE

I'm working at an application in android which uses camera to take photos.For starting the camera I'm using an intent ACTION_IMAGE_CAPTURE like this: Intent camera = new Intent(MediaStore.ACTION_IMAGE_CAPTURE); File image=new…
adrian
  • 4,574
  • 17
  • 68
  • 119
17
votes
4 answers

writing exif data in php

I'm trying to create a website where I can add and modify metadata within a JPEG file. Is there a way in which I can write the exif data in a fairly easy way. I have seen one or two examples, but they are they too complex to grasp in the timeframe…
lovinxlost
  • 211
  • 1
  • 3
  • 5
17
votes
2 answers

Writing EXIF metadata to images in Android

I want to store some metadata in images. My camera application gives me a bitmap, which I store in the storage (MediaStore) device. In addition to this, I want to add a few tags to the picture in its metadata. I think EXIF is a good way of doing…
vpk
  • 1,240
  • 2
  • 18
  • 32
16
votes
7 answers

Write UIImage along with metadata (EXIF, GPS, TIFF) in iPhone's Photo library

I am developing a project, where the requirements are: - User will open the camera through the application - Upon capturing an Image, some data will be appended to the captured image's metadata. I have gone through some of the forums. I tried to…
Sid
  • 407
  • 1
  • 9
  • 17
16
votes
4 answers

How to extract the Photo/Video component of a MVIMG?

The Google Pixel 2 and probably other phones since have the capability to cover "Motion Photos". These are saved as MVIMG and comparatively big. I’m looking for a way to remove/extract the video. So far I found a promising exif tag $ exiftool…
rumpel
  • 7,870
  • 2
  • 38
  • 39
16
votes
2 answers

Rotate uploaded pictures containing EXIF orientation in Parse Cloud Code

Portrait pictures, taken from some mobile devices, uploaded via an HTML form gets the wrong orientation while embedded in a web page. This is due to the EXIF orientation metadata, which could for instance have the value 6 = Rotate 90 CW telling the…
ajgarn
  • 775
  • 7
  • 18
15
votes
5 answers

Getting "Taken Date" of a photo instead of "Modified Date" with PHP exif_read_data

I'm retrieving the creation date from a photo with exif_read_data PHP function (see the code below.) The dates retrieved from photos that haven't been modified return "Date Taken". Those that have been modified - "Date Modified". Is there a way to…
Dima
  • 517
  • 1
  • 3
  • 18
15
votes
4 answers

HTML/Javascript Access EXIF data before file upload

I am trying to extract EXIF data from a image(jpeg) which has been dragged into the browser or has been selected via a html file input element. I managed to preview the image within the browser using FileReader and FileReader.readAsDataURL as…
alex
  • 4,922
  • 7
  • 37
  • 51
15
votes
3 answers

Copy an image and preserve its EXIF/IPTC data with PHP imageCreateFromJpeg?

I having some problems with an image that has EXIF/IPTC data stored in it. When I use imageCreateFromJpeg (to rotate/crop or etc) the newly stored file doesn't preserve the EXIF/IPTC data. My current code looks like this:
tftd
  • 16,203
  • 11
  • 62
  • 106
14
votes
2 answers

EXIF data in JPEG file

Write custom data as a Exif data in a JPEG image file using ExifInterface in Android Would like to write/add custom tags/exif data in JPEG file like name, age, etc... Right now i am able to write default values like Geo location data, attributes…
Ankit Shah
  • 485
  • 1
  • 7
  • 15
14
votes
2 answers

EXIF Orientation Issue in Safari Mobile

I have an angular 2 application in production environment that allows you to choose a profile picture. Recently, performing tests with safari mobile, specifically for IOS 13.3.1 version(older) and IOS 13.4.1(new) version. I noticed that the image is…
AlejoDev
  • 4,345
  • 9
  • 36
  • 67
14
votes
2 answers

How to edit EXIF data in .NET

I am writing a photo gallery/sharing website and want to (1) write EXIF data to the JPEGs stored on server, and (2) strip that EXIF data prior to writing to the output stream for display. Is anyone aware of a dotNet library -- preferably open source…
Mike C.
  • 4,917
  • 8
  • 34
  • 38
14
votes
4 answers

HTML5 - resize image and keep EXIF in resized image

How can I resize an image (using an HTML5 canvas element) and keep the EXIF information from the original image? I can extract EXIF info from from original image but I don't know how to copy it to the resized image. This is how I retrieve the…
Martin Perry
  • 9,232
  • 8
  • 46
  • 114
13
votes
1 answer

How to save photo with EXIF(GPS) AND orientation on iPhone?

I'm using writeImageToSavedPhotosAlbum:metadata:completionBlock: to save images to the camera roll (GPS data is in dictionary passed to metadata). However pictures are misoriented (as I flip the device while taking the pictures). There's another…
akashic
  • 215
  • 4
  • 6