Image without gps coordinates

Started by cguterman, November 25, 2024, 07:13:47 PM

Previous topic - Next topic

cguterman

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

StarGeek

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
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

cguterman

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

cguterman

Hi there.

Another image to try.

TKS!

Cesar

cguterman

Hi there.

I forgot the execution image.

Tks,

Cesar

StarGeek

"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

cguterman

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

StarGeek

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.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

cguterman

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

wywh

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.