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
3 answers

Android: Get EXIF rotation from URI

I want to find out the EXIF rotation of an picture. When the picture is displayed in the gallery, it isn't rotated, but after loading the image with the EXIF information 'rotate left' the picture is displayed rotated. Now i want to ask the user, if…
BrainPain
  • 81
  • 1
  • 1
  • 3
7
votes
3 answers

jQuery image preview exif rotation issue

I am using this jQuery function do display the image before uploading. The images are uploaded from mobile devices and have problems with the exif orientation. This function just change the src of the preview image with the base64 code of the actual…
Alex
  • 1,033
  • 4
  • 23
  • 43
7
votes
3 answers

How to update EXIF tags of a picture file in Ruby?

Title says everything.
aurels
  • 801
  • 7
  • 15
7
votes
2 answers

Stripping All Exif Data in Objective-C

How do you strip all exif data in a UIImage using objective-c? I have been able to get the exif data using the following : NSData* pngData = UIImagePNGRepresentation(image); CGImageSourceRef imageSource =…
Jason F
  • 309
  • 4
  • 11
7
votes
1 answer

How to retrieve image description title in C#?

I have a file with the following properties: I want to get the description title "Dragon's Eye Coral". How would I go about doing this? I have been trying to do it with the following code but without any result: public string GetImageTitle(Image…
7
votes
3 answers

Camera image rotation issue

I am facing a very strange problem here. When i click an image in portrait mode and upload it and then again fetch it it is displayed rotated 90 degrees counter clock wise. But when i see it in camera roll it is displayed in correct orientation as…
user2082760
  • 499
  • 2
  • 5
  • 14
7
votes
2 answers

How to design an easily-extensible API with the simplicity of Enums?

Sorry for the vague title; couldn't think of how to word it more clearly. Here are the highlights of the questions: Highlights Asking an API design question about the ExifTool for Java library. Here is an example of what the current API looks…
Riyad Kalla
  • 10,604
  • 7
  • 53
  • 56
7
votes
2 answers

Exif reading library

Is there an exif library out there for Python 3.x? It seems every exif library I run into is for Python 2.x only. I don't need anything too fancy. Just reading the values is enough.
System Down
  • 6,192
  • 1
  • 30
  • 34
7
votes
1 answer

How to deal with Android devices that do not honor EXIF orientation data?

I'm testing my app on HTC Desire with Android 2.2. and it works exactly as I'd love to. I use Sherlock packages to have same style on older devices as on newer. My AVD is set to use the latest android, and it also looks ok. Then I've placed it to…
Balkyto
  • 1,460
  • 4
  • 22
  • 47
7
votes
1 answer

metadata editing in bash linux for multimedia files(not images) in linux

I've searched across stackoverflow, and I've been on google and also duckduckgo and no one seems to have a nice way for me to do this. The only tool that seems to maybe have worked was Exiftool which only has the read ability for ogg files(which is…
133794m3r
  • 5,028
  • 3
  • 24
  • 37
6
votes
3 answers

PHP:exif_read_data() not defined

I'm now learning how to extract exif from images.I wrote the simple code like this: But, there is a fatal error about undefined exif_read_data() when…
HjySix
  • 197
  • 1
  • 3
  • 9
6
votes
1 answer

Copy metadata fom one JPEG to another in Go

I'm trying to copy EXIF tags from one JPEG to another, which has no metadata. I tried to do what is described in this comment. My idea is copy everything from the tags source file until the first ffdb excluded, then copy everything from the image…
neclepsio
  • 453
  • 3
  • 15
6
votes
3 answers

UIImageOrientation incorrect for left/right from loaded UIImage?

I am loading JPGs that are flagged with arbitrary EXIF orientation data (one of 8 orientations). I downloaded the eight sample image files from here (linked from this blog post). Image 8 represents EXIF tag 8, which is a 90 degree clockwise…
Ben Zotto
  • 70,108
  • 23
  • 141
  • 204
6
votes
1 answer

Read Exif Metadata with Go

Does anyone have an example on using "github.com/gohugoio/hugo/resources/images/exif" to extract metadata from a local image using Go? I looked through the docs and since I'm new to Go I'm not 100% sure if I'm doing things write. I do read the…
Tamas
  • 10,953
  • 13
  • 47
  • 77
6
votes
0 answers

Wrong Exif orientation tag in Xiaomi

I'm using ExifInterface for rotationg image picked from gallery by detecting orientation tag, and it's working. Recently I tested app on Xiaomi Mi 9 SE and found out that photo took from camera has orientation tag 8 (rotate 270) but the photo…