Discussion:
Crazy Photo Name
Add Reply
croy
2025-01-31 17:32:48 UTC
Reply
Permalink
My recent model Android phone usually names photos with a date time, like
"20250126_115743", but there was one photo in a series that when I sent it
via email to my desktop computer, came in with the name:
"mrousavy-5722737825195822912.jpg". The photo displays fine, and even the
exif info looks good, so I'm able to rename it and keep things logical.

I have no idea what happened here... anybody?
--
croy
Frank Slootweg
2025-01-31 18:40:39 UTC
Reply
Permalink
Post by croy
My recent model Android phone usually names photos with a date time, like
"20250126_115743", but there was one photo in a series that when I sent it
"mrousavy-5722737825195822912.jpg". The photo displays fine, and even the
exif info looks good, so I'm able to rename it and keep things logical.
I have no idea what happened here... anybody?
There's a person with that name/tag and he's involved in picture/
camera stuff. He's on GitHub, X, YouTube, etc., is CEO of a company
which makes apps, etc..

<https://www.google.com/search?q=%22mrousavy%22>

I don't know how to use (proper) wildcards/regular-expressions in a
Google search, otherwise I could search on the format of the full
filename.
VanguardLH
2025-01-31 19:20:29 UTC
Reply
Permalink
Post by croy
My recent model Android phone usually names photos with a date time, like
"20250126_115743", but there was one photo in a series that when I sent it
"mrousavy-5722737825195822912.jpg". The photo displays fine, and even the
exif info looks good, so I'm able to rename it and keep things logical.
I have no idea what happened here... anybody?
Look in the metadata (media information) of the image file. The Title
field in the metadata can be different than the filename.

Some programs will show the Title metadata in their titlebar instead of
the filename. For example, I had to change VLC's "change title
according to current media" advanced option from blank (which shows the
Title from metadata) to $u to show the filename. $f would show the path
and filename. I want VLC to show me the file being viewed, not some
metadata inside the file.

Does "send via e-mail" mean you attached the image file to an e-mail?
Look in the raw source of the e-mail to look at the MIME delimiter line
for where the attachment was placed into the message. All attachments
(whether disposition inline or attached) embedded into a message are
long encoded text strings with MIME delimiters.

You did not mention which e-mail client you used to send or receive the
attached image file. Outlook has always sucked for looking at the raw
source of e-mails. When using its View Source option, you see only part
of the body. The MIME parts are missing. If you open the message in
its own window (double-click on it) and use File -> Info -> Properties,
you can only see the Internet headers, and none of the body. In the
past, I used Pocketknife Peek to see the actual raw source of an e-mail,
but its last update was back in 2013, and the author abandoned it
without ever modifying it to support 64-bit versions of Outlook. Other
e-mail clients are far superior for looking at the ENTIRE raw source of
an e-mail. For now, I use the webmail client to view source which
includes headers and body.

The MIME delimiter will look something like:

----boundary_1_a153ebce-f354-4c6e-a344-30faf53ac48e
Content-Type: application/octet-stream; name="DCSNSFRVBCV.pdf"
Content-Transfer-Encoding: base64
Content-Disposition: attachment

The boundary line is also identified in a header. The name attribute is
a hint only to what the receiving client should call the file when the
user requests to extract the MIME part from the e-mail; however, the
user can specify whatever path and filename they want on the extract.
content-disposition is another hint as to whether the receiving client
should present the attachment inside the body of the message, or as a
link to the attachment, like a list or icon. Following is a blank line
followed by the long encoded text string. ALL e-mail gets sent as text
whether it was written in plain text, HTML, or contains binary content.

You could check the name attribute in the MIME block to see what was
specified at the time the file was inserted (attached) to the e-mail,
but that won't tell you what you might have specified differently on
extraction. The name attribute will be what you specified as the value
when you attached the file, or what the sending mail client used if you
didn't specify a filename (like the origin of the file you selected from
a browse list).
croy
2025-02-01 18:14:06 UTC
Reply
Permalink
Post by VanguardLH
Look in the metadata (media information) of the image file. The Title
field in the metadata can be different than the filename.
What's odd is that this photo was the third of five taken on that hike, and
all 5 were sent as attachments to an email (gmail to a Thunderbird
account). The other 4 had "normal" filenames.

When I plug the phone into the desktop computer, I can't find that photo,
but the other 4 are there.

When I use "Gallery" on the phone, the photo shows up normally, but Gallery
doesn't seem to display a filename.

[big snip]

I did search for "mrousavy-5722737825195822912.jpg" on the web, and found
the Git hub page, but I don't know what to make of it.

Something strange going on here!
--
croy
Frank Slootweg
2025-02-01 19:23:10 UTC
Reply
Permalink
Post by croy
Post by VanguardLH
Look in the metadata (media information) of the image file. The Title
field in the metadata can be different than the filename.
What's odd is that this photo was the third of five taken on that hike, and
all 5 were sent as attachments to an email (gmail to a Thunderbird
account). The other 4 had "normal" filenames.
When I plug the phone into the desktop computer, I can't find that photo,
but the other 4 are there.
When I use "Gallery" on the phone, the photo shows up normally, but Gallery
doesn't seem to display a filename.
You do not say which (brand/model) phone or which 'Gallery' app.

If a Samsung phone, then when you show the picture in the Samsung
Gallery app with the white background and function-icons, tap the
three-vertical-dots icon and tap 'Details'. That gives you the filename,
the pathname and some other (EXIF) info (date/time, phone model, size,
resolution, MP and shooting details).

[...]
Andy Burns
2025-01-31 19:22:56 UTC
Reply
Permalink
Post by croy
My recent model Android phone usually names photos with a date time, like
"20250126_115743", but there was one photo in a series that when I sent it
"mrousavy-5722737825195822912.jpg". The photo displays fine, and even the
exif info looks good, so I'm able to rename it and keep things logical.
I have no idea what happened here... anybody?
Not been browsing this chap's projects on github?

<https://github.com/mrousavy>
croy
2025-02-01 18:04:23 UTC
Reply
Permalink
Post by Andy Burns
Not been browsing this chap's projects on github?
<https://github.com/mrousavy>
Nope.
--
croy
croy
2025-02-01 23:37:10 UTC
Reply
Permalink
Post by croy
My recent model Android phone usually names photos with a date time, like
"20250126_115743", but there was one photo in a series that when I sent it
"mrousavy-5722737825195822912.jpg". The photo displays fine, and even the
exif info looks good, so I'm able to rename it and keep things logical.
I have no idea what happened here... anybody?
It turns out that the photo with the wacko name was "taken" by the plant
identification app, "Seek". In testing a bit, any time I ask Seek to take
a photo, it gets recorded with the "mrousavy*.jpg" type of filename. I'll
have to snoop a bit more to see if this behavior can be made more logical.
--
croy
VanguardLH
2025-02-02 01:24:55 UTC
Reply
Permalink
Post by croy
Post by croy
My recent model Android phone usually names photos with a date time,
like "20250126_115743", but there was one photo in a series that
when I sent it via email to my desktop computer, came in with the
name: "mrousavy-5722737825195822912.jpg". The photo displays fine,
and even the exif info looks good, so I'm able to rename it and keep
things logical.
It turns out that the photo with the wacko name was "taken" by the plant
identification app, "Seek". In testing a bit, any time I ask Seek to take
a photo, it gets recorded with the "mrousavy*.jpg" type of filename. I'll
have to snoop a bit more to see if this behavior can be made more logical.
Without a URL to the Google Play Store app page, others have to guess
which "seek" app you are using. Might it be the following one?

https://play.google.com/store/apps/details?id=org.inaturalist.seek
https://www.inaturalist.org/pages/seek_app

I searched their forum on "mrous", and found:

https://forum.inaturalist.org/t/android-removes-location-from-photo-taken-with-seek/46647

The text "mrous" isn't there. However, hovering over the pic of leaves
shows a popup saying "mrousavy<bunchOfnumbers>". You might want to ask
there if the app is using libraries from:

https://mrousavy.com/projects

Or, why iNaturalist's Seek app defaults to "mrousavy*" filenames for
saved pics.
The Real Bev
2025-02-02 01:48:11 UTC
Reply
Permalink
Post by croy
Post by croy
My recent model Android phone usually names photos with a date time, like
"20250126_115743", but there was one photo in a series that when I sent it
"mrousavy-5722737825195822912.jpg". The photo displays fine, and even the
exif info looks good, so I'm able to rename it and keep things logical.
I have no idea what happened here... anybody?
It turns out that the photo with the wacko name was "taken" by the plant
identification app, "Seek". In testing a bit, any time I ask Seek to take
a photo, it gets recorded with the "mrousavy*.jpg" type of filename. I'll
have to snoop a bit more to see if this behavior can be made more logical.
And they're stored in their own subdirectory, which is annoying.
Everything that takes photos should let you choose their storage location.

Irrelevant but useful information:

There's an open source program called jhead which allows you to
manipulate the name of a photo file based on what's stored in the exif
info. Runs under linux and windows from a command line. This one
renames all the files in the subdirectory that you're in to
YearMonthDay-HourMinuteSecond.jpg format.

jhead -n%Y%m%d-%H%M%S *.jpg yields 20250130-104840.jpg

Other options are left as an exercise for the reader.
--
Cheers, Bev
"The problem with homeopathy is that it's so potent that if you
stop taking it you can overdose." --AnonymousCoward, slashdot
Andy Burns
2025-02-02 10:10:59 UTC
Reply
Permalink
Post by croy
It turns out that the photo with the wacko name was "taken" by the plant
identification app, "Seek".
At a rough guess the plant app is using one of mrousavy's libraries,
maybe camerakit-android?

Loading...