Hi there.
I'm trying to use exiftool to print an image metadata. The image has GPS coordinates but I can't display lat/long. It would be my exiftool version (13) ?
Thank you very much.
Cesar
The coordinates are part of the image, not embedded in the file. There is nothing embedded in the file except a very basic JFIF block
C:\>exiftool -G1 -a -s -e Y:\!temp\x\y\teste.jpg
[ExifTool] ExifToolVersion : 13.03
[System] FileName : teste.jpg
[System] Directory : Y:/!temp/x/y
[System] FileSize : 167 kB
[System] ZoneIdentifier : Exists
[System] FileModifyDate : 2024:11:25 16:47:38-08:00
[System] FileAccessDate : 2024:11:25 16:48:48-08:00
[System] FileCreateDate : 2024:11:25 16:47:37-08:00
[System] FilePermissions : -rw-rw-rw-
[File] FileType : JPEG
[File] FileTypeExtension : jpg
[File] MIMEType : image/jpeg
[File] ImageWidth : 1200
[File] ImageHeight : 1599
[File] EncodingProcess : Progressive DCT, Huffman coding
[File] BitsPerSample : 8
[File] ColorComponents : 3
[File] YCbCrSubSampling : YCbCr4:2:0 (2 2)
[JFIF] JFIFVersion : 1.01
[JFIF] ResolutionUnit : None
[JFIF] XResolution : 1
[JFIF] YResolution : 1
I even attempted to OCR the data with Tesseract. The background is too complex to properly read the characters. This was the output from Tesseract
#
nversas:
° 455 2199903-6864 (voo#)
Ms Mensagens para mim
Pesqusar ou comerar uma nova Conversa
—————tFs
Adtano Nasdmerts Oureminas = V0? Hoje
recibo eliminado
OM . OurominasApp mm
3 jatreco:@ imagem
'Sem Parr Ld
Que tal 6 meses com 50% de desconto...
Engenho a D
Supermercadog
343 Rl Afia Leonidia
Set ho de Dentro
tio de Janeir6
Thank you for answer.
I installed an app Exiftool that display the GPS informations, but I think I'm not able to get it.
So, I believe I don't know how to use correctly Exiftool, a pretty powerfull tool.
I'll keep trying.
If you detect a mistake of mine, please let me know where is my mistake.
Grateful for everything!
Cesar
Hi there.
Another image to try.
TKS!
Cesar
Hi there.
I forgot the execution image.
Tks,
Cesar
There's no data. See my response in the other thread (https://exiftool.org/forum/index.php?msg=90055).
StarGeek, thank you very much.
I really needed to confirm that the photo did not contained GPS info.
I took that shot from a app called Timestamp Camera and shared using whatsapp.
I think I losed the photo's GPS info when I shared that by whatsapp.
Is there a way to avoid that loss?
Thank you very much.
Cesar
Quote from: cguterman on November 26, 2024, 01:20:08 PMshared using whatsapp.
WhatsApp strips away all metadata, as does most social media and messaging apps.
QuoteIs there a way to avoid that loss?
You should check to make sure that the app adds any metadata in the first place, which is pretty unlikely as most apps don't add any metadata.
Otherwise, you would have to use something like Google Drive/Photos or Dropbox in order to get the unedited version.
Hi there!
I solved it.
I created an endpoint that get metadata from a picture took by TimeStamp app.
Now I'm trying to take gps info from a video mp4. Th fight goes on.
Thank you
Cesar
Quote from: StarGeek on November 26, 2024, 02:58:00 PMWhatsApp strips away all metadata, as does most social media and messaging apps.
AFAIR WhatsApp has an option to send an image taken with the iPhone Camera.app (not taken while inside WhatsApp), and then
send it as a document with metadata.
But that is clumsy so most people send those documents as photos and then WhatsApp strips metadata off. If WhatsApp itself takes the photo, then it seems there is no way to include metadata and those images might have lost their metadata in the Camera.app's camera roll anyway.
The same applies to movies which WhatsApp resamples and re-encodes to tiny mess of pixels with no metadata.
I have not tested this extensively because I try to avoid WhatsApp photos unless for very casual use with unimportant footage that can be trashed. And I try to ask other people re-send important footage to me as documents or via some cloud service without any edits done in the mobile device.