this post was submitted on 08 Jul 2023
195 points (99.5% liked)

No Stupid Questions

35727 readers
2343 users here now

No such thing. Ask away!

!nostupidquestions is a community dedicated to being helpful and answering each others' questions on various topics.

The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:

Rules (interactive)


Rule 1- All posts must be legitimate questions. All post titles must include a question.

All posts must be legitimate questions, and all post titles must include a question. Questions that are joke or trolling questions, memes, song lyrics as title, etc. are not allowed here. See Rule 6 for all exceptions.



Rule 2- Your question subject cannot be illegal or NSFW material.

Your question subject cannot be illegal or NSFW material. You will be warned first, banned second.



Rule 3- Do not seek mental, medical and professional help here.

Do not seek mental, medical and professional help here. Breaking this rule will not get you or your post removed, but it will put you at risk, and possibly in danger.



Rule 4- No self promotion or upvote-farming of any kind.

That's it.



Rule 5- No baiting or sealioning or promoting an agenda.

Questions which, instead of being of an innocuous nature, are specifically intended (based on reports and in the opinion of our crack moderation team) to bait users into ideological wars on charged political topics will be removed and the authors warned - or banned - depending on severity.



Rule 6- Regarding META posts and joke questions.

Provided it is about the community itself, you may post non-question posts using the [META] tag on your post title.

On fridays, you are allowed to post meme and troll questions, on the condition that it's in text format only, and conforms with our other rules. These posts MUST include the [NSQ Friday] tag in their title.

If you post a serious question on friday and are looking only for legitimate answers, then please include the [Serious] tag on your post. Irrelevant replies will then be removed by moderators.



Rule 7- You can't intentionally annoy, mock, or harass other members.

If you intentionally annoy, mock, harass, or discriminate against any individual member, you will be removed.

Likewise, if you are a member, sympathiser or a resemblant of a movement that is known to largely hate, mock, discriminate against, and/or want to take lives of a group of people, and you were provably vocal about your hate, then you will be banned on sight.



Rule 8- All comments should try to stay relevant to their parent content.



Rule 9- Reposts from other platforms are not allowed.

Let everyone have their own content.



Rule 10- Majority of bots aren't allowed to participate here.



Credits

Our breathtaking icon was bestowed upon us by @Cevilia!

The greatest banner of all time: by @TheOneWithTheHair!

founded 1 year ago
MODERATORS
 

Most mature social networks do remove this information to prevent users accidentally sharing their locations. Can someone positively say whether Lemmy is aware enough to strip extra information from photos?

top 33 comments
sorted by: hot top controversial new old
[–] [email protected] 121 points 1 year ago (1 children)

Yes, pict-rs which is used b by Lemmy strips exif. Confirmed by the dev themselves.

[–] [email protected] 27 points 1 year ago

Looks that way. I just downloaded a few pictures people have uploaded and checked the meta data, there's not much there.

[–] got2best 25 points 1 year ago

This is a great question and good to know 🙏

[–] [email protected] 24 points 1 year ago (2 children)

It’s always best to assume nothing strips GPS data. You should strip it yourself if you care.

[–] [email protected] 14 points 1 year ago

Exactly. Even if the standard Lemmy software does it, there's no guarantee that your instance admin hasn't altered the code or done something else to keep that data.

[–] [email protected] 6 points 1 year ago (2 children)

Do you have any tips for how users can easily manage this, themselves?

[–] [email protected] 4 points 1 year ago* (last edited 1 year ago) (1 children)

I’m hesitant to name anything specific since time exists and tech fluctuates, but there’s definitely a small, free utility app for your device that will strip exif data from your images.

Search for ‘remove exif’ in your App Store and see what people are saying about the top several apps listed.

(EtA: In nongeek, ‘exif’ data includes the photo’s gps coordinates, specific type of camera or device that created the image, timestamp, and other info, and its all quite easily viewable.).

Nerds use these apps more than most, so their reviews tend to go into some detail. There are certainly apps available that are easy to use on your device. Obviously don’t use an online service for this, either.

[–] zeppo 3 points 1 year ago* (last edited 1 year ago)

I load an image into Gimp, scale it to a smaller size and export it with EXIF and XMP removed. Make sense also since devices these days create 3200x3200 images which is unnecessarily large for uploading.

[–] [email protected] 2 points 1 year ago (1 children)
[–] [email protected] 1 points 1 year ago

Thanks! I'm gonna need to check these apps out, will be useful to keep on hand.

[–] j4k3 16 points 1 year ago (1 children)

Yeah lemmy strips everything. This comes up with AI stuff because typically the prompt and seed are attached to EXIF with the PNG output.

[–] [email protected] 9 points 1 year ago (1 children)

Stable Diffusion puts everything into a tEXt chunk not eXIf. (But this is also needlessly pedantic lol.)

[–] j4k3 6 points 1 year ago (1 children)

No no not needless. I haven't looked into it past what I've seen while lurking. I'm putting together a workstation for SD, but have only used cloud instances so far and haven't tried to use the embedded prompt. I merely noted it exists. Now I have something else to look up and reference. Thanks.

[–] [email protected] 2 points 1 year ago (1 children)

Basically the PNG file format is a series of chunks. The most useful being the IDAT chunk which is the image data. IHDR has the info about the resolution too. Everything else can be removed and it should work the same as far as viewing is concerned. EXIF and TEXT are just two other chunks. I believe EXIF is for information about the camera. It seems useful for photographers. TEXT is just meant for any textual data you want to put into the image.

[–] j4k3 1 points 1 year ago (1 children)

How do you visualize and access all of this information within the image file?

[–] [email protected] 2 points 1 year ago

This is a python tool I was making recently to do this which is why it is all so fresh on my mind. There seem to be tools on webpages to do it too but I don't know how well they work. Here is one. They are probably easier to get going.

[–] [email protected] 11 points 1 year ago (1 children)

Yes, and it even causes issues with rotation. 😅

[–] [email protected] 24 points 1 year ago

It removed the location data, so now it doesn't know what side of the planet you're on to correctly orient the image.

[–] [email protected] 10 points 1 year ago (2 children)

What about kbin? Does kbin also strip that kind of data?

[–] [email protected] 9 points 1 year ago (2 children)

What about Ja Rule? Has anyone consulted Ja?

[–] jcb2016 3 points 1 year ago

Hehe he probably doesn’t even know who Ja Rule is!

[–] [email protected] 1 points 1 year ago

How are we going to make sense of this tragedy without Ja?

[–] [email protected] 2 points 1 year ago (1 children)

I'll have a look at this when I get a sec. I know the images are re-processed on upload (and cropped etc) so I assume no useful data is preserved in that process. Good to confirm tho

[–] [email protected] 5 points 1 year ago* (last edited 1 year ago) (1 children)

Looking in ImageRepository.php it doesn't appear that images have their extra data stripped. Also testing it on my dev instance showed that GPS data remained in the image. Should be an easy fix since all image uploads are processed through that repository.

Edit: In fact there's already an issue open for it - https://codeberg.org/Kbin/kbin-core/issues/374

[–] [email protected] 2 points 1 year ago

Great. Hopefully we can get that fix in soon. Better to not even have that data, there's no point in keeping it.

[–] [email protected] 8 points 1 year ago

It is supposed to be removed by exiftool in the backend by default.

[–] zeppo 4 points 1 year ago

You could check by downloading a bunch of photos and looking at the exif data, I suppose. Someone said the other day it isn't, which would be definitely a problem. It's also possible a specific instance could not strip it, which is worth checking for your own photos. I noticed that photos seem to retain the original filename which is not optimal.

[–] [email protected] 3 points 1 year ago

Does pixelfed remove gps/exif data?

load more comments
view more: next ›