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
8
votes
2 answers

How to adjust the orientation of a image in order to show proper preview of the image?

I have developed a laravel web application which has a function of accepting images uploaded by users and then display it. I had encountered a problem while testing as photos uploaded using mobile phones were rotating 90 degrees in anti clock wise…
Jeffrin Jose
  • 109
  • 14
8
votes
1 answer

camera2 How to get Exif data from YUV_420_888 image in image reader listener

I am trying to get Exif data from YUV_420_888 image but it is not working. I tried several solutions like saving image to disk as jpeg, converting it to a input stream but nothing seems to work. I capture YUV_420_888 image using android camera2…
Shivam Pokhriyal
  • 479
  • 4
  • 14
8
votes
8 answers

Is the 2nd and 3rd byte of a JPEG image always the APP0 or APP1 marker?

I have a few different JPEG images I've been testing with. As far as I've seen the 0th and first bytes are always 0xFF and 0xD8. The second and third are usually either 0xFF and 0xE0 ( APP0 ) indicating either a JFIF segment or JFIF extension…
KeatsKelleher
  • 10,015
  • 4
  • 45
  • 52
8
votes
2 answers

PHP/(bad) exif data/warnings, what to do?

I'm writing a small script that gathers a couple exif values from images... namely the creation date, make and model. I'm noticing (particularly with image mailed through the default iPhone mail app) that the exif data has been altered, which is a…
Jeff
  • 447
  • 1
  • 7
  • 16
8
votes
4 answers

Get EXIF metadata in of captured image in swift#3

We are getting EXIF data as blank. We are using Swift3 and iOS10.3 We have referred the URL - UIImagePickerController and extracting EXIF data from existing photos But, it does not explains about how to do it in Swift. For taking photo below is our…
Banng
  • 531
  • 1
  • 6
  • 19
8
votes
1 answer

Remove or update exif thumbnail from image

Is there anyway to remove an exif thumbnail from an image? I'm cropping images in my app and copying all exif data lossless with the sanselan library. Afterwards, I update width/height/rotation accordingly. I could not find any way to update the…
prom85
  • 16,896
  • 17
  • 122
  • 242
8
votes
3 answers

Image Orientation - Android

I have been struggling with this bug on and off for the last month or so. Everytime that I think I have fixed it it seems to come back in some form. It is the old Android "Image Rotated 90 degrees" bug. I have read countless Posts on here…
Richard
  • 457
  • 1
  • 6
  • 21
8
votes
2 answers

JPG File Size Optimization - PHP, ImageMagick, & Google's Page Speed

I have photo gallery code that does image re-sizing and thumbnail creation. I use ImageMagick to do this. I ran a gallery page through Google's Page Speed tool and it revealed that the re-sized images and thumbnails both have about an extra 10KB…
Sonny
  • 8,204
  • 7
  • 63
  • 134
8
votes
1 answer

Remove exif from original image uploaded using paperclip

I have a post model which contains a image in three styles(thumb, small, original). I want to remove the exif from every image created by paperclip, so I use "-strip" in the convert_options, but later found the exif still exists in the original…
atitan
  • 123
  • 5
8
votes
3 answers

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…
Russell C.
  • 1,649
  • 6
  • 33
  • 55
8
votes
1 answer

Android: Getting all existing exif data from an image

I know it's possible to get specific exif data by specifying the string tag in the ExifInterface. For example, getting the date of an image would be something like: ExifInterface exif = new…
ElectronAnt
  • 2,115
  • 7
  • 22
  • 39
8
votes
4 answers

Storing EXIF information in Database

What's the best way to store EXIF data from photos in a Database (MySQL in my case). This is for a photo sharing site. What are the most important Tags, and what are discardable?
The Unknown
  • 19,224
  • 29
  • 77
  • 93
8
votes
10 answers

Prevent imagejpeg() from saving EXIF data for images (spec. FileDateTime)

Our server is saving EXIF data to every file saved with imagejpeg(). As far as I know, this is not the default behavior (or even possible, from what I've read). But, it is occurring, and due to the FileDateTime information being included (and using…
0b10011
  • 18,397
  • 4
  • 65
  • 86
7
votes
3 answers

Which EXIF tag to store keyword/tag for a photo?

I am developing a photo gallery which will read/write EXIF tags. I will put photo title in the EXIF tag DocumentName and description in EXIF tag ImageDescription. I also plan to use the geo-tags. But what about photo tags/categories? I want to store…
Espen
  • 2,133
  • 4
  • 19
  • 19
7
votes
7 answers

Cant set Date Taken/DateTime tag using the ExifInterface in Android

I've researched and tried numerous options to try and get this to work, but am not getting anywhere with this unfortunately. What I am trying to do is set the Date Taken tag (Tag_DateTime) in a JPEG's Exif data from within an Android app. I already…
JohnHenry
  • 505
  • 8
  • 21