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
0
votes
1 answer

Retrieve NSDictionary Value with swift 4

I try to retrieve exif data from a picture. I can load it in a Dictionary, but I am unable to use this Dictionary. my Current code is : import Cocoa import ImageIO let path = "/Volumes/Olivier/Original/Paysage/affoux/_OPI7684.NEF" let UrlPath =…
0
votes
1 answer

PHP image upload and rotating the image

I have a problem. I have found and image upload script for multiple images. I edited it to fit in my project and it works. There is only 1 problem. If you take a foto in portrait mode the foto is rotated becouse you hold your camera rotated. Windows…
Zeepblok
  • 133
  • 1
  • 13
0
votes
0 answers

EXIF rotation works fine with iOS, but not Android?

I'm developing an PHP web-app with the ability to upload pictures. In the controller, I set the rotation like this: $exif = exif_read_data($config['source_image']); if($exif && isset($exif['Orientation'])) { $ort =…
AB Moslih
  • 45
  • 1
  • 9
0
votes
1 answer

JPEG and PNG metadata compression

Does either JPEG or PNG support compression of metadata/ancillary data? Everything I've read so far focusses on the image compression and I can't find any mention of extended data compression. The reason I ask is that metadata was shown to…
matt.baker
  • 232
  • 1
  • 9
0
votes
2 answers

iphone reduce size(in bytes)of image with exif data

I have image which I have accessed from the image gallery. I want to store this image in the database and later re size it and POST it to the server. Can any please tell me if I will loose the EXIF data if the image is compressed? My original image…
rakendu
  • 77
  • 1
  • 2
  • 8
0
votes
0 answers

Copying EXIF from One image to another using EXIF Tool Taking too long

I'm using the following code to copy the exif data from one file to another using exiftool. When directly run from command line,the tool is quick.But when the command is executed from a winform app,it takes much greater time.What is going wrong…
techno
  • 6,100
  • 16
  • 86
  • 192
0
votes
1 answer

How to get exif data from base64 data url?

I am currently downloading images that have been stored as a base 64 string on my database. The issue is that I need to also get the images EXIF data to determine the images orientation. I am wondering if their is a way to get the EXIF data. The…
Hayden Passmore
  • 1,135
  • 2
  • 12
  • 34
0
votes
0 answers

Adding EXIF Data to File in Java

Looking to add GPS location data to an image as it saves, as far as i'm aware this needs to be done after the outputStream closes. I've written the code and implemented it however no GPS location data is written. As far as i'm aware i have prepared…
Minuit
  • 15
  • 1
  • 9
0
votes
2 answers

EXIF PropertyTagGpsLatitude Format

I'm programmatically updating exif data for a bunch of scanned jpg images I'm not having much trouble updating most exif data, but I am struggling to set gps coordinates For example I'm trying to save the latitude coordinate as follows PropertyItem…
mrb398
  • 1,277
  • 4
  • 24
  • 32
0
votes
1 answer

Add EXIF Title to PHP Gallery

I have the following code now, and I want to simply add the EXIF Title data where the "CAPTION" text is. How do I do that? I know how to get the data, but I'm not sure how to add it to the "foreach" loop I already have going.
steve
  • 688
  • 6
  • 13
  • 32
0
votes
3 answers

Where is "Where from" in a macOS image stored?

Images downloaded from the web using Safari and macOS have information available from the Finder with Get Info. For example, "Where from" which can be the URL for the original image. Is that stored with the image or ? exiftool image.jpg doesn't show…
Greg
  • 2,359
  • 5
  • 22
  • 35
0
votes
0 answers

Exif showing wrong resolution of captured image using camera api in oreo 8.1.0

In Pixel2 XL Android 8.1.0 , image captured in portrait mode using camera api is showing wrong resolution whereas image captured in landscape is showing right resolution. Android Version: 8.1.0 Device tested: Google Pixel2 XL device Steps to…
0
votes
0 answers

Android is EXIF DATA for an image picked from any directory unique

lets say I have an image in my gallery or any other directory called (image1), if I make an intent and choose that image, then I must get a uri returned in onActivityResult() call back. Problem If I change the uri to bitmap and display the bitmap in…
Hasan Bou Taam
  • 4,017
  • 2
  • 12
  • 22
0
votes
1 answer

Get Exif_IFD_Pointer => 2110 [Comments] from image.jpg (PHP)

I'm trying to get the comment information from a JPG. My example below returns ? Because it's grabbing the wrong comment. [WINXP] => Array ( [Comments] => ????????????????????????????????? )   While I need it to grab specifically, [IFD0] =>…
JZersche
  • 11
  • 3
0
votes
2 answers

Getting exif data from all images in a directory using PHP

I am currently trying to display geolocation of images from a directory, I have managed to display a location for a single image however I'm not sure how to change the code so it reads several files opposed to one. Anyone know? Appreciate your…