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
1,772
questions
0
votes
0
answers
30
views
Determine whether the metadata of an image has been manipulated, find out when a picture was original taken?
There are 3 types of metadata for images like:
EXIF
IPTC
XMP
Is there a way to determine whether the metadata has been manipulated, can I find out when a picture was original taken or is it ...
0
votes
0
answers
11
views
QGIS is not responding after using PyExifTool library
Recently I've used my modified script for Qgis plugin which was using PyExifTool library for reading image tags. The script worked normally, when the tool worked, the independent window for PH ...
-2
votes
1
answer
39
views
How do you copy jpeg metadata (in java) from one image file to another efficiently? [closed]
Suppose I have a jpg image file 1.jpg.
I make a copy of it named 1copy.jpg.
(now i have 2 copies of the same image)
Then several changes are made independently to EXIF attributes of the two images
so ...
-1
votes
1
answer
18
views
How do read and display EXIF ImageDescription from all character sets
There are some previous discussions on reading and displaying EXIF ImageDescription and I posted a similar question a few days ago when I began this quest.
This online service reads and displays the ...
0
votes
1
answer
11
views
Displaying ImageDescription from a jpg photo with PHP
I have a photo with a Norwegian character in the Image Description. This PHP code is not displaying the character properly.
$exif = exif_read_data('1.jpg','IFD0',true);
echo $exif["IFD0&...
0
votes
0
answers
25
views
Is there a way to caculate the width and height of jpeg
I have some corrupted JPEG patched with good header from same chorma sampling 4:2:2
But i have issue with demension of jpeg from the good header to corrupt data
How can i automate calculator the width ...
0
votes
0
answers
31
views
How to get metadata off ftypqt (quicktime) file?
The following code extracts exif data from some .jpg and .mov files made with iphone 8:
import PIL.Image
img = PIL.Image.open(fname)
exif = img._getexif()
The files with exif data have the string '...
0
votes
0
answers
60
views
xamarin forms Android How to add Metadata to an image being copied to a Public Directory
In our Xamarin Forms app, I have to
take a picture and save it locally.
add a variety of metadata to it.
make a copy of the picture, complete with all metadata, available on a globally accessible ...
0
votes
1
answer
32
views
PHP remove only orientation exif from image (without imagick)
I wrote a script, which resizes my uploaded images in a batch locally and creates also thumbnails. The problem is, if some images are vertically oriented, but after resizing they are rotated ...
0
votes
0
answers
54
views
python, copy exif data from one image to other
I am reading image using OpenCV and python.
img=cv2.imread('orig.jpg')
and after modifying the image, I save it again.
cv2.imwrite('modi.jpg', img)
But now its EXIF data is lost.
How can I copy EXIF ...
0
votes
1
answer
139
views
How to extract GPS location from HEIC files?
I use the following code to extract GPS location both from JPG and HEIC files:
#coding=utf-8
from PIL import Image
from urllib.request import urlopen
from PIL.ExifTags import TAGS
from PIL.ExifTags ...
1
vote
0
answers
10
views
How to exclude processing of certain tags in Magickwand stripimage
How to exclude processing of certain tags in Magickwand stripimage function in Go?
https://pkg.go.dev/gopkg.in/gographics/imagick.v2/imagick#MagickWand.StripImage
Need to exclude value of "...
0
votes
1
answer
40
views
How to make Google Photos recognise 360 photos (e.g. from DJI Mini 2)
Google photos provides a really nice way of viewing 360 photos from a mobile device, where you can look around the photo by moving the phone.
For example, here is a 360 photos from my Parrot ANAFI ...
1
vote
1
answer
47
views
R seems not able to read EXIF data of large MP4 video files using exifr package
6 months ago I used the R exifr package to extract EXIF information from large MP4 video files and export to csv. Now I get NA's for some files. I have run repeat tests of old file sets that ...
0
votes
0
answers
20
views
Css image-orientation seems to ignore none and use EXIF data when displaying image in my test code
I'm working with overriding image-orientation from different devices. In my test code the setting of 'none' never seems to take effect. The images always display as if the EXIF orientation data from ...
0
votes
1
answer
33
views
Getting CreationTime from PNG
I'm coding a winForm application that renames images with the datetime taken.
e.g. Original image name => Image_YYYYMMDD_HHMMSS
I was using GetPropertyItem(36867) which is the Exif Date/Time Origin....
0
votes
1
answer
28
views
Providing EXIF-free images in a gallery or other webpage
First, thanks for any and all help regarding this topic.
Sites like Facebook and Twitter strip EXIF information from images as they are uploading. My goal is to allow users to upload images to our ...
0
votes
0
answers
7
views
Add a "i" button in Wordpress Image Lightbox to show EXIF data
I'm trying to add a custom "i" button in my image lightbox as shown below (red arrow) but I can't seem to find a way to edit my lightbox icons and one of my own there.
I want it to show EXIF ...
1
vote
1
answer
55
views
Interpreting GPS info of exif data from many photos in python
The above code could extract coordinates from a specific photo, how can I make it able to extract data from every photo existing in the directory?
from GPSPhoto import gpsphoto
data= gpsphoto....
0
votes
0
answers
44
views
Upon upload, how to send image metadata to MongoDB at the same time image is sent to Cloudinary?
I would like to upload an image in an express route and save to Cloudinary, while at the same time saving useful metadata (gps data, time created), along with some user defined data from an Image ...
1
vote
1
answer
43
views
In python have: 'from PIL import ImageTK, Image', but I also want to have 'from exif import Image', but they can't coexist
I am trying to create a project that selects an jpg file, shows the image in a small frame and lists the required exif values in a label underneath. I have to use PIL Image to pen the file and get 'an ...
0
votes
0
answers
23
views
To fix the exif orientation to 1 and correct the rest of the attributes
I know about rotating the image by checking the orientation tag of the exif.
However, I would like to modify the rest of the tags in the exif as well.
The converted result should be implemented as ...
0
votes
1
answer
60
views
How to set EXIF Orientation value to 1 in HEIF (.heic) image formats using Javascript and return the result as a blob?
I have a blob created from an HEIF image which probably contains EXIF Orientation value. I'm using heif2any.js to convert it to JPEG image but I want to prevent double-rotation problem stated in this ...
0
votes
0
answers
71
views
React Native - How to extract GPS location from video on Android?
I am trying to extract location from video metadata in React Native.
Do you guys would have some advices on libraries to use in order to do that ?
I already tried the following libs on real Android ...
-2
votes
1
answer
36
views
exif.js using old file
I implemented an EXIF button in a gallery to read EXIF data using the well-known exif.js script from here. My image loads into a img0 img node, and then I use:
function exif() {
EXIF.getData(img0, ...
1
vote
0
answers
33
views
The most efficient way of reading Exif (LatLng) for gallery images
I want to get GPS coordinates of all the images in the user gallery. The solution below works, but it takes 15 seconds for 1500 photos in the gallery. Is there a more efficient way? The result shall ...
0
votes
1
answer
22
views
Rotate native iPhone images based on EXIF info?
Working on a site where users can upload photos.
As many of you many know, unedited iPhone photos use an "Orientation" EXIF tag to determine orientation. On my PC, I can't upload .HEIC ...
0
votes
0
answers
24
views
PHP exif_read_data returning weird character [duplicate]
I'm using PHP to get EXIF title information from pictures to dynamically generate captions. I'm getting a weird character returned along with the text. How can I get rid of it and just have the text ...
0
votes
0
answers
45
views
Error Rotating a django InMemoryUploadedFile image based on exif data
I am trying to rotate an image based on the image's exif data. The image is uploaded using the django admin request.FILES. If the file is large, and is uploaded as an TemporaryUploadedFile, and I can ...
0
votes
1
answer
20
views
django-exiffield: can't upload picture due to different format of 'CreateDate' and 'DateTimeField'
I'm a Django newbie, I hope you could help me.
I'm developing a photo gallery app, and right now I'm trying to implement EXIF data extraction. It's working pretty well with pictures that were uploaded ...
0
votes
1
answer
46
views
Script to remove exif, in uploaded photos?
I’m trying to figure out how I can filter exif data, before file or photo upload to DB. Is this possible with javascript?
0
votes
0
answers
27
views
How to read only image width and height in python, without reading the data? [duplicate]
I want to read only metadata of an image, without reading the data. This should be much faster.
I found this question, with this answer, but not sure how to use it.
Also, I prefer a cv2 solution if ...
0
votes
1
answer
62
views
How to GEOLOCATE an object of an image of street view?
I have developed a YoLo based algorithm in Python to detect objects from Google Maps images. Now, i have the task to GEOLOCATE that object in the image. I have tried to access the EXIF information of ...
20
votes
1
answer
139
views
Is there a fast method to read image dimensions (W x H) in R
I have a folder of 90 million images. I have a table with a column for file_path with the full path to each file. I need to read the image height and width for all every image in the folder. And save ...
-3
votes
1
answer
75
views
Isn't Reverse Engineering That Dangerous?
I spent a couple of hours reading over Reverse Engineering Specifically with relation to C/C++ and Exif file formats.
2 Questions which I couldn't find clear answers for:
Why Exif format at all? what'...
0
votes
0
answers
32
views
how to write exif tags with Python in a self generated image
I have generated an image with pillow and now I want to add metadata to the image.
In my image it didn't have a data structure yet, I suppose I have to create one first but how do I do that?
Reading ...
0
votes
0
answers
17
views
How do I extract GPS metadata from DJI photographs using python? [duplicate]
I am working on a program that stamps drone images with metadata, but I cannot figure out how to get gps metadata using PIL.
Here is my code:
import os
from PIL import Image
from PIL import Image
from ...
0
votes
0
answers
35
views
Why pyexiv2 raises an error during runtime execution
I'm trying to use pyexiv2 to geotag photos from historical location data. However, my installation of pyexiv2 seems to be broken.
I'm running this script on a MacBook with MacOS Monterey. This was ...
0
votes
1
answer
41
views
Inserting ICC profile obtained from a jpg image into a png image in frontend Javascript
I am trying to insert ICC profile data parsed from a JPG/JPEG image back into a PNG image. I have parsed this data taking help from this and this source, But I am unable to find solutions for re-...
1
vote
0
answers
12
views
EXIF Orientation on tablet upload
I have a function to upload user images for their profiles. When uploaded via desktop the orientation stays the same, however when uploading from a Samsung A& tablet the orientation is always ...
1
vote
1
answer
104
views
how to resolve java.io.FileNotFoundException when trying to get inputstream from AWS url
my main goal is to get the orientation of a image which I get from AWS, part of the code is to first get the imputStream for which I need to pass the URI, I am doing Uri.parse(url) to get the uri and ...
0
votes
0
answers
21
views
rotate the bitmap received the AWS using EXIF
I have a ExifUtil which rotates the bitmap based on EXIF, this class works fine if the path of the image local on the device.
I want to use the same class or same functionality if the image path is ...
0
votes
0
answers
69
views
Replace a image with a rotated image in file location - android
when an image is captured on camera, I am using a ExifConverter to rotate the image correctly.
I want to replace the file in the uri/path with the rotated image so this path can be sent to the ...
1
vote
0
answers
42
views
How to rotate picasso url image based on exif
images loaded using picasso.get().load(url) are rotated. I tried to use .apply { rotate(90F) } which does rotation for all images loaded from URL.
if the picture is taken in portait, rotating 90 works ...
0
votes
1
answer
158
views
iOS PHPickerViewController does not provide Exif/Meta-Data
I am trying to read out some metadata from images which I fetched with the PHPickerViewController.
var config = PHPickerConfiguration()
self.phPicker = PHPickerViewController(configuration: config)
if ...
0
votes
0
answers
16
views
Should exif:thumbnail:Orientation affect primary image direction when Orientation is Undefined?
origin.jpeg
The exif orientation tag is showed below
(base) ➜ /tmp identify -verbose ./origin.jpeg|grep Orientation
Orientation: Undefined
exif:thumbnail:Orientation: 6
This image show ...
0
votes
0
answers
67
views
Writing IPTC Data to TIFF Image with Python
Is there a way in python to write IPTC information to a TIFF Image without using exiftool or exif2?
I tried it using Pillow Exif Tags like this:
from PIL import Image
from PIL.ExifTags import TAGS
...
0
votes
0
answers
169
views
How can I calculate the physical sensor size of the smartphone camera from EXIF data and know the depth of each pixel?
I saw this post below and used an A4 paper to calculate the size of the image sensor in the received image.
https://photo.stackexchange.com/questions/12434/how-do-i-calculate-the-distance-of-an-object-...
2
votes
1
answer
298
views
How do I clear an Image's EXIF data with ImageSharp?
I found a GitHub issue showing how to remove an Image's exif data by setting its ExifProfile to null:
SixLabors.ImageSharp.Image image = Image.Load(imagePath);
//remove exif
image.Metadata....
0
votes
1
answer
221
views
How do I extract a jpeg's EXIF thumbnail using ImageSharp?
I am trying to extract thumbnails from source jpegs and save them to the file system, using the C# ImageSharp library. I see there is some mention of it in the intellisense for the component:
...